Class TdApi.GiftAuction

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

public static class TdApi.GiftAuction extends TdApi.Object
Describes an auction on which a gift can be purchased.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Number of gifts distributed in each round.
    Identifier of the auction.
    int
    Point in time (Unix timestamp) when the auction will start.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes an auction on which a gift can be purchased.
    GiftAuction(String id, int giftsPerRound, int startDate)
    Describes an auction on which a gift can be purchased.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      public String id
      Identifier of the auction.
    • giftsPerRound

      public int giftsPerRound
      Number of gifts distributed in each round.
    • startDate

      public int startDate
      Point in time (Unix timestamp) when the auction will start.
    • CONSTRUCTOR

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

    • GiftAuction

      public GiftAuction()
      Describes an auction on which a gift can be purchased.
    • GiftAuction

      public GiftAuction(String id, int giftsPerRound, int startDate)
      Describes an auction on which a gift can be purchased.
      Parameters:
      id - Identifier of the auction.
      giftsPerRound - Number of gifts distributed in each round.
      startDate - Point in time (Unix timestamp) when the auction will start.
  • 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