Class TdApi.ReceivedGifts

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ReceivedGifts
Enclosing class:
TdApi

public static class TdApi.ReceivedGifts extends TdApi.Object
Represents a list of gifts received by a user or a chat.
  • Field Details

    • totalCount

      public int totalCount
      The total number of received gifts.
    • gifts

      public TdApi.ReceivedGift[] gifts
      The list of gifts.
    • areNotificationsEnabled

      public boolean areNotificationsEnabled
      True, if notifications about new gifts of the owner are enabled.
    • nextOffset

      public String nextOffset
      The offset for the next request. If empty, then there are no more results.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR