Class TdApi.GiveawayPrizeStars

Enclosing class:
TdApi

public static class TdApi.GiveawayPrizeStars extends TdApi.GiveawayPrize
The giveaway sends Telegram Stars to the winners.
  • Field Details

    • starCount

      public long starCount
      Number of Telegram Stars that will be shared by all winners.
    • CONSTRUCTOR

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

    • GiveawayPrizeStars

      public GiveawayPrizeStars()
      The giveaway sends Telegram Stars to the winners.
    • GiveawayPrizeStars

      public GiveawayPrizeStars(long starCount)
      The giveaway sends Telegram Stars to the winners.
      Parameters:
      starCount - Number of Telegram Stars that will be shared by all winners.
  • 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.GiveawayPrize
      Returns:
      this.CONSTRUCTOR