Package org.drinkless.tdlib
Class TdApi.GetGiveawayInfo
- Enclosing class:
- TdApi
Returns information about a giveaway.
Returns GiveawayInfo
-
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 giveaway.GetGiveawayInfo(long chatId, long messageId) Creates a function, which returns information about a 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
-
GetGiveawayInfo
public GetGiveawayInfo()Default constructor for a function, which returns information about a giveaway.Returns
GiveawayInfo -
GetGiveawayInfo
public GetGiveawayInfo(long chatId, long messageId) Creates a function, which returns information about a giveaway.Returns
GiveawayInfo- 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.Object- Returns:
- this.CONSTRUCTOR
-