Package org.drinkless.tdlib
Class TdApi.ReceivedGifts
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ReceivedGifts
- Enclosing class:
- TdApi
Represents a list of gifts received by a user or a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
True, if notifications about new gifts of the owner are enabled.static final int
Identifier uniquely determining type of the object.The list of gifts.The offset for the next request.int
The total number of received gifts. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a list of gifts received by a user or a chat.ReceivedGifts
(int totalCount, TdApi.ReceivedGift[] gifts, boolean areNotificationsEnabled, String nextOffset) Represents a list of gifts received by a user or a chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
totalCount
public int totalCountThe total number of received gifts. -
gifts
The list of gifts. -
areNotificationsEnabled
public boolean areNotificationsEnabledTrue, if notifications about new gifts of the owner are enabled. -
nextOffset
The offset for the next request. If empty, then there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReceivedGifts
public ReceivedGifts()Represents a list of gifts received by a user or a chat. -
ReceivedGifts
public ReceivedGifts(int totalCount, TdApi.ReceivedGift[] gifts, boolean areNotificationsEnabled, String nextOffset) Represents a list of gifts received by a user or a chat.- Parameters:
totalCount
- The total number of received gifts.gifts
- The list of gifts.areNotificationsEnabled
- True, if notifications about new gifts of the owner are enabled.nextOffset
- The offset for the next request. If empty, then there are no more results.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-