public static class TdApi.ChatBoostSlot extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
cooldownUntilDate
Point in time (Unix timestamp) after which the boost can be used for another chat.
|
long |
currentlyBoostedChatId
Identifier of the currently boosted chat; 0 if none.
|
int |
expirationDate
Point in time (Unix timestamp) when the boost will expire.
|
int |
slotId
Unique identifier of the slot.
|
int |
startDate
Point in time (Unix timestamp) when the chat was boosted; 0 if none.
|
| Constructor and Description |
|---|
ChatBoostSlot()
Describes a slot for chat boost.
|
ChatBoostSlot(int slotId,
long currentlyBoostedChatId,
int startDate,
int expirationDate,
int cooldownUntilDate)
Describes a slot for chat boost.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int slotId
public long currentlyBoostedChatId
public int startDate
public int expirationDate
public int cooldownUntilDate
public static final int CONSTRUCTOR
public ChatBoostSlot()
public ChatBoostSlot(int slotId,
long currentlyBoostedChatId,
int startDate,
int expirationDate,
int cooldownUntilDate)
slotId - Unique identifier of the slot.currentlyBoostedChatId - Identifier of the currently boosted chat; 0 if none.startDate - Point in time (Unix timestamp) when the chat was boosted; 0 if none.expirationDate - Point in time (Unix timestamp) when the boost will expire.cooldownUntilDate - Point in time (Unix timestamp) after which the boost can be used for another chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object