Package org.drinkless.tdlib
Class TdApi.ReorderGiftCollections
- Enclosing class:
- TdApi
Changes order of gift collections. If the collections are owned by a channel chat, then requires canPostMessages administrator right in the channel chat.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]New order of gift collections.static final intIdentifier uniquely determining type of the object.Identifier of the user or the channel chat that owns the collection. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes order of gift collections.ReorderGiftCollections(TdApi.MessageSender ownerId, int[] collectionIds) Creates a function, which changes order of gift collections. -
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
-
ownerId
Identifier of the user or the channel chat that owns the collection. -
collectionIds
public int[] collectionIdsNew order of gift collections. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReorderGiftCollections
public ReorderGiftCollections()Default constructor for a function, which changes order of gift collections. If the collections are owned by a channel chat, then requires canPostMessages administrator right in the channel chat.Returns
Ok -
ReorderGiftCollections
Creates a function, which changes order of gift collections. If the collections are owned by a channel chat, then requires canPostMessages administrator right in the channel chat.Returns
Ok- Parameters:
ownerId- Identifier of the user or the channel chat that owns the collection.collectionIds- New order of gift collections.
-
-
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
-