Package org.drinkless.tdlib
Class 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
FieldsModifier and TypeFieldDescriptionCategory of frequently used chats.longChat identifier.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-