Package org.drinkless.tdlib
Class TdApi.SetPinnedForumTopics
- Enclosing class:
- TdApi
Changes the order of pinned forum topics; requires canManageTopics administrator right in the supergroup.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.long[]The new list of pinned forum topics. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the order of pinned forum topics; requires canManageTopics administrator right in the supergroup.SetPinnedForumTopics(long chatId, long[] messageThreadIds) Creates a function, which changes the order of pinned forum topics; requires canManageTopics administrator right in the supergroup. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageThreadIds
public long[] messageThreadIdsThe new list of pinned forum topics. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetPinnedForumTopics
public SetPinnedForumTopics()Default constructor for a function, which changes the order of pinned forum topics; requires canManageTopics administrator right in the supergroup.Returns
Ok -
SetPinnedForumTopics
public SetPinnedForumTopics(long chatId, long[] messageThreadIds) Creates a function, which changes the order of pinned forum topics; requires canManageTopics administrator right in the supergroup.Returns
Ok- Parameters:
chatId- Chat identifier.messageThreadIds- The new list of pinned forum topics.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-