Class TdApi.GiftCollection

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

public static class TdApi.GiftCollection extends TdApi.Object
Describes collection of gifts.
  • Field Details

    • id

      public int id
      Unique identifier of the collection.
    • name

      public String name
      Name of the collection.
    • icon

      public TdApi.Sticker icon
      Icon of the collection; may be null if none.
    • giftCount

      public int giftCount
      Total number of gifts in the collection.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GiftCollection

      public GiftCollection()
      Describes collection of gifts.
    • GiftCollection

      public GiftCollection(int id, String name, TdApi.Sticker icon, int giftCount)
      Describes collection of gifts.
      Parameters:
      id - Unique identifier of the collection.
      name - Name of the collection.
      icon - Icon of the collection; may be null if none.
      giftCount - Total number of gifts in the collection.
  • 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