Package org.drinkless.tdlib
Class TdApi.GetGiveawayInfo
- Enclosing class:
- TdApi
Returns information about a giveaway.
Returns GiveawayInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the channel chat which started the giveaway.static final int
Identifier uniquely determining type of the object.long
Identifier 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 TypeMethodDescriptionint
Returns 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-