java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.PremiumGiftCodePaymentOptions>
it.tdlight.jni.TdApi.GetPremiumGiftCodePaymentOptions
- Enclosing class:
- TdApi
public static final class TdApi.GetPremiumGiftCodePaymentOptions
extends TdApi.Function<TdApi.PremiumGiftCodePaymentOptions>
Returns available options for Telegram Premium gift code or giveaway
creation.
Returns PremiumGiftCodePaymentOptions
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the 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
ConstructorDescriptionReturns available options for Telegram Premium gift code or giveaway creation.GetPremiumGiftCodePaymentOptions
(long boostedChatId) Returns available options for Telegram Premium gift code or giveaway creation.Returns available options for Telegram Premium gift code or giveaway creation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
boostedChatId
public long boostedChatIdIdentifier of the 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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPremiumGiftCodePaymentOptions
public GetPremiumGiftCodePaymentOptions()Returns available options for Telegram Premium gift code or giveaway creation.Returns
PremiumGiftCodePaymentOptions
-
GetPremiumGiftCodePaymentOptions
public GetPremiumGiftCodePaymentOptions(long boostedChatId) Returns available options for Telegram Premium gift code or giveaway creation.Returns
PremiumGiftCodePaymentOptions
- Parameters:
boostedChatId
- Identifier of the channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user; 0 if none.Returns
PremiumGiftCodePaymentOptions
-
GetPremiumGiftCodePaymentOptions
Returns available options for Telegram Premium gift code or giveaway creation.Returns
PremiumGiftCodePaymentOptions
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-