- 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
-
Constructor Summary
ConstructorDescriptionRemoves a chat from the list of frequently used chats.RemoveTopChat
(TdApi.TopChatCategory category, long chatId) Removes a chat from the list of frequently used chats.RemoveTopChat
(DataInput input) Removes a chat from the list of frequently used chats. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
category
Category of frequently used chats. -
chatId
public long chatIdChat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RemoveTopChat
public RemoveTopChat()Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. ReturnsOk
-
RemoveTopChat
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. ReturnsOk
- Parameters:
category
- TopChatCategory Category of frequently used chats.chatId
- long Chat identifier.
-
RemoveTopChat
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-