Class TdApi.LaunchPrepaidPremiumGiveaway

Enclosing class:
TdApi

public static class TdApi.LaunchPrepaidPremiumGiveaway extends TdApi.Function<TdApi.Ok>
Launches a prepaid Telegram Premium giveaway.

Returns Ok

  • Field Details

    • giveawayId

      public long giveawayId
      Unique identifier of the prepaid giveaway.
    • parameters

      Giveaway parameters.
    • CONSTRUCTOR

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

    • LaunchPrepaidPremiumGiveaway

      public LaunchPrepaidPremiumGiveaway()
      Default constructor for a function, which launches a prepaid Telegram Premium giveaway.

      Returns Ok

    • LaunchPrepaidPremiumGiveaway

      public LaunchPrepaidPremiumGiveaway(long giveawayId, TdApi.PremiumGiveawayParameters parameters)
      Creates a function, which launches a prepaid Telegram Premium giveaway.

      Returns Ok

      Parameters:
      giveawayId - Unique identifier of the prepaid giveaway.
      parameters - Giveaway parameters.
  • 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