public static class TdApi.GetGiveawayInfo extends TdApi.Function<TdApi.GiveawayInfo>
Returns GiveawayInfo
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the channel chat which started the giveaway.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the giveaway or a giveaway winners message in the chat.
|
| Constructor and Description |
|---|
GetGiveawayInfo()
Default constructor for a function, which returns information about a giveaway.
|
GetGiveawayInfo(long chatId,
long messageId)
Creates a function, which returns information about a giveaway.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public static final int CONSTRUCTOR
public GetGiveawayInfo()
Returns GiveawayInfo
public GetGiveawayInfo(long chatId,
long messageId)
Returns GiveawayInfo
chatId - Identifier of the channel chat which started the giveaway.messageId - Identifier of the giveaway or a giveaway winners message in the chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object