Class TdApi.RemoveTopChat
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.RemoveTopChat
- Enclosing class:
- TdApi
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionCategory of frequently used chats.long
Chat identifier.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which removes a chat from the list of frequently used chats.RemoveTopChat
(TdApi.TopChatCategory category, long chatId) Creates a function, which removes a chat from the list of frequently used chats. -
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
-
category
Category of frequently used chats. -
chatId
public long chatIdChat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RemoveTopChat
public RemoveTopChat()Default constructor for a function, which removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.Returns
Ok
-
RemoveTopChat
Creates a function, which removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.Returns
Ok
- Parameters:
category
- Category of frequently used chats.chatId
- Chat identifier.
-
-
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
-