Package org.drinkless.tdlib
Class TdApi.GetGiftCollections
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.GiftCollections>
org.drinkless.tdlib.TdApi.GetGiftCollections
- Enclosing class:
- TdApi
Returns collections of gifts owned by the given user or chat.
Returns GiftCollections
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Identifier of the user or the channel chat that received the gifts. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns collections of gifts owned by the given user or chat.GetGiftCollections(TdApi.MessageSender ownerId) Creates a function, which returns collections of gifts owned by the given user or chat. -
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 received the gifts. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetGiftCollections
public GetGiftCollections()Default constructor for a function, which returns collections of gifts owned by the given user or chat.Returns
GiftCollections -
GetGiftCollections
Creates a function, which returns collections of gifts owned by the given user or chat.Returns
GiftCollections- Parameters:
ownerId- Identifier of the user or the channel chat that received the gifts.
-
-
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
-