Class TdApi.ReadChatList
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.ReadChatList
- Enclosing class:
- TdApi
Traverse all chats in a chat list and marks all messages in the chats as read.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionChat list in which to mark all chats as read.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which traverse all chats in a chat list and marks all messages in the chats as read.ReadChatList
(TdApi.ChatList chatList) Creates a function, which traverse all chats in a chat list and marks all messages in the chats as read. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatList
Chat list in which to mark all chats as read. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReadChatList
public ReadChatList()Default constructor for a function, which traverse all chats in a chat list and marks all messages in the chats as read.Returns
Ok
-
ReadChatList
Creates a function, which traverse all chats in a chat list and marks all messages in the chats as read.Returns
Ok
- Parameters:
chatList
- Chat list in which to mark all chats as read.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-