Package it.tdlight.jni
Class TdApi.RemoveTopChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.RemoveTopChat
- Enclosing class:
- TdApi
public static class TdApi.RemoveTopChat extends TdApi.Function
Removes a chat from the list of
frequently used chats. Supported only
if the chat info database is enabled.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description TdApi.TopChatCategory
category
Category of frequently used chats.long
chatId
Chat identifier.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description RemoveTopChat()
Removes 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
Constructor Details
-
RemoveTopChat
public RemoveTopChat()Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.Returns
Ok
-
RemoveTopChat
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled.Returns
Ok
- Parameters:
category
- TopChatCategory Category of frequently used chats.chatId
- long Chat identifier.
-
RemoveTopChat
- 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()
-