Class TdApi.PremiumGiveawayInfoOngoing

Enclosing class:
TdApi

public static class TdApi.PremiumGiveawayInfoOngoing extends TdApi.PremiumGiveawayInfo
Describes an ongoing giveaway.
  • Field Details

    • creationDate

      public int creationDate
      Point in time (Unix timestamp) when the giveaway was created.
    • status

      Status of the current user in the giveaway.
    • isEnded

      public boolean isEnded
      True, if the giveaway has ended and results are being prepared.
    • CONSTRUCTOR

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

    • PremiumGiveawayInfoOngoing

      public PremiumGiveawayInfoOngoing()
      Describes an ongoing giveaway.
    • PremiumGiveawayInfoOngoing

      public PremiumGiveawayInfoOngoing(int creationDate, TdApi.PremiumGiveawayParticipantStatus status, boolean isEnded)
      Describes an ongoing giveaway.
      Parameters:
      creationDate - Point in time (Unix timestamp) when the giveaway was created.
      status - Status of the current user in the giveaway.
      isEnded - True, if the giveaway has ended and results are being prepared.
  • Method Details