- Enclosing class:
- TdApi
Deletes all messages in a forum topic;
requires canDeleteMessages administrator
rights in the supergroup unless the
user is creator of the topic, the
topic has no messages from other users
and has at most 11 messages.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
long
Message thread identifier of the forum topic. -
Constructor Summary
ConstructorDescriptionDeletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages.DeleteForumTopic
(long chatId, long messageThreadId) Deletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages.DeleteForumTopic
(DataInput input) Deletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
messageThreadId
public long messageThreadIdMessage thread identifier of the forum topic. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeleteForumTopic
public DeleteForumTopic()Deletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages. ReturnsOk
-
DeleteForumTopic
public DeleteForumTopic(long chatId, long messageThreadId) Deletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat.messageThreadId
- long Message thread identifier of the forum topic.
-
DeleteForumTopic
Deletes all messages in a forum topic; requires canDeleteMessages administrator rights in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages. 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()
-