Class TdApi.GetPremiumGiftCodePaymentOptions

Enclosing class:
TdApi

public static class TdApi.GetPremiumGiftCodePaymentOptions extends TdApi.Function<TdApi.PremiumGiftCodePaymentOptions>
Returns available options for Telegram Premium gift code or giveaway creation.

Returns PremiumGiftCodePaymentOptions

  • 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; 0 if none.
    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 Telegram Premium gift code or giveaway creation.
    Creates a function, which returns available options for Telegram Premium gift code or giveaway creation.
  • Method Summary

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

    Methods inherited from class dev.voroby.springframework.telegram.client.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; 0 if none.
    • CONSTRUCTOR

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

    • GetPremiumGiftCodePaymentOptions

      public GetPremiumGiftCodePaymentOptions()
      Default constructor for a function, which returns available options for Telegram Premium gift code or giveaway creation.

      Returns PremiumGiftCodePaymentOptions

    • GetPremiumGiftCodePaymentOptions

      public GetPremiumGiftCodePaymentOptions(long boostedChatId)
      Creates a function, which returns available options for Telegram Premium gift code or giveaway creation.

      Returns PremiumGiftCodePaymentOptions

      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; 0 if none.
  • 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