Class TdApi.GetPremiumGiveawayPaymentOptions

Enclosing class:
TdApi

public static class TdApi.GetPremiumGiveawayPaymentOptions extends TdApi.Function<TdApi.PremiumGiveawayPaymentOptions>
Returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.

Returns PremiumGiveawayPaymentOptions

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the supergroup or channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
    Creates a function, which returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
  • 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.Function

    toString

    Methods inherited from class java.lang.Object

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

    • boostedChatId

      public long boostedChatId
      Identifier of the supergroup or channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user.
    • CONSTRUCTOR

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

    • GetPremiumGiveawayPaymentOptions

      public GetPremiumGiveawayPaymentOptions()
      Default constructor for a function, which returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.

      Returns PremiumGiveawayPaymentOptions

    • GetPremiumGiveawayPaymentOptions

      public GetPremiumGiveawayPaymentOptions(long boostedChatId)
      Creates a function, which returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.

      Returns PremiumGiveawayPaymentOptions

      Parameters:
      boostedChatId - Identifier of the supergroup or channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user.
  • 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