public static class TdApi.UnpinAllMessageThreadMessages 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 in which messages will be unpinned.
|
| Constructor and Description |
|---|
UnpinAllMessageThreadMessages()
Default constructor for a function, which removes all pinned messages from a forum topic; requires canPinMessages member right in the supergroup.
|
UnpinAllMessageThreadMessages(long chatId,
long messageThreadId)
Creates a function, which removes all pinned messages from a forum topic; requires canPinMessages member right in the supergroup.
|
| 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 UnpinAllMessageThreadMessages()
Returns Ok
public UnpinAllMessageThreadMessages(long chatId,
long messageThreadId)
Returns Ok
chatId - Identifier of the chat.messageThreadId - Message thread identifier in which messages will be unpinned.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object