Package org.drinkless.tdlib
Class TdApi.GetPremiumGiveawayInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PremiumGiveawayInfo>
org.drinkless.tdlib.TdApi.GetPremiumGiveawayInfo
- Enclosing class:
- TdApi
Returns information about a Telegram Premium giveaway.
Returns PremiumGiveawayInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the channel chat which started the giveaway.static final intIdentifier uniquely determining type of the object.longIdentifier of the giveaway or a giveaway winners message in the chat. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns information about a Telegram Premium giveaway.GetPremiumGiveawayInfo(long chatId, long messageId) Creates a function, which returns information about a Telegram Premium giveaway. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the channel chat which started the giveaway. -
messageId
public long messageIdIdentifier of the giveaway or a giveaway winners message in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPremiumGiveawayInfo
public GetPremiumGiveawayInfo()Default constructor for a function, which returns information about a Telegram Premium giveaway.Returns
PremiumGiveawayInfo -
GetPremiumGiveawayInfo
public GetPremiumGiveawayInfo(long chatId, long messageId) Creates a function, which returns information about a Telegram Premium giveaway.Returns
PremiumGiveawayInfo- Parameters:
chatId- Identifier of the channel chat which started the giveaway.messageId- Identifier of the giveaway or a giveaway winners message in the chat.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.PremiumGiveawayInfo>- Returns:
- this.CONSTRUCTOR
-