public static class TdApi.DeleteForumTopic extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageThreadId
Message thread identifier of the forum topic.
|
| Constructor and Description |
|---|
DeleteForumTopic()
Default constructor for a function, which deletes all messages in a forum topic; requires canDeleteMessages administrator right 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)
Creates a function, which deletes all messages in a forum topic; requires canDeleteMessages administrator right 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageThreadId
public static final int CONSTRUCTOR
public DeleteForumTopic()
Returns Ok
public DeleteForumTopic(long chatId,
long messageThreadId)
Returns Ok
chatId - Identifier of the chat.messageThreadId - Message thread identifier of the forum topic.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object