public static class TdApi.GetPremiumGiftCodePaymentOptions extends TdApi.Function<TdApi.PremiumGiftCodePaymentOptions>
Returns PremiumGiftCodePaymentOptions
| Modifier and Type | Field and Description |
|---|---|
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.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
GetPremiumGiftCodePaymentOptions()
Default constructor for a function, which returns available options for Telegram Premium gift code or Telegram Premium giveaway creation.
|
GetPremiumGiftCodePaymentOptions(long boostedChatId)
Creates a function, which returns available options for Telegram Premium gift code or Telegram Premium giveaway creation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long boostedChatId
public static final int CONSTRUCTOR
public GetPremiumGiftCodePaymentOptions()
Returns PremiumGiftCodePaymentOptions
public GetPremiumGiftCodePaymentOptions(long boostedChatId)
Returns PremiumGiftCodePaymentOptions
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object