public static class TdApi.GiveawayInfoOngoing extends TdApi.GiveawayInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
creationDate
Point in time (Unix timestamp) when the giveaway was created.
|
boolean |
isEnded
True, if the giveaway has ended and results are being prepared.
|
TdApi.GiveawayParticipantStatus |
status
Status of the current user in the giveaway.
|
| Constructor and Description |
|---|
GiveawayInfoOngoing()
Describes an ongoing giveaway.
|
GiveawayInfoOngoing(int creationDate,
TdApi.GiveawayParticipantStatus status,
boolean isEnded)
Describes an ongoing giveaway.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int creationDate
public TdApi.GiveawayParticipantStatus status
public boolean isEnded
public static final int CONSTRUCTOR
public GiveawayInfoOngoing()
public GiveawayInfoOngoing(int creationDate,
TdApi.GiveawayParticipantStatus status,
boolean isEnded)
creationDate - Point in time (Unix timestamp) when the giveaway was created.status - Status of the current user in the giveaway.isEnded - True, if the giveaway has ended and results are being prepared.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object