Package org.drinkless.tdlib
Class TdApi.GetPremiumGiveawayPaymentOptions
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PremiumGiveawayPaymentOptions>
org.drinkless.tdlib.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
FieldsModifier and TypeFieldDescriptionlong
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
ConstructorsConstructorDescriptionDefault constructor for a function, which returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
boostedChatId
public long boostedChatIdIdentifier 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 CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-