public static class TdApi.SetPinnedForumTopics extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
messageThreadIds
The new list of pinned forum topics.
|
| Constructor and Description |
|---|
SetPinnedForumTopics()
Default constructor for a function, which changes the order of pinned forum topics; requires canManageTopics right in the supergroup.
|
SetPinnedForumTopics(long chatId,
long[] messageThreadIds)
Creates a function, which changes the order of pinned forum topics; requires canManageTopics 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[] messageThreadIds
public static final int CONSTRUCTOR
public SetPinnedForumTopics()
Returns Ok
public SetPinnedForumTopics(long chatId,
long[] messageThreadIds)
Returns Ok
chatId - Chat identifier.messageThreadIds - The new list of pinned forum topics.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object