public static class TdApi.ChatBoost extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
count
The number of identical boosts applied.
|
int |
expirationDate
Point in time (Unix timestamp) when the boost will expire.
|
java.lang.String |
id
Unique identifier of the boost.
|
TdApi.ChatBoostSource |
source
Source of the boost.
|
int |
startDate
Point in time (Unix timestamp) when the chat was boosted.
|
| Constructor and Description |
|---|
ChatBoost()
Describes a boost applied to a chat.
|
ChatBoost(java.lang.String id,
int count,
TdApi.ChatBoostSource source,
int startDate,
int expirationDate)
Describes a boost applied to a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String id
public int count
public TdApi.ChatBoostSource source
public int startDate
public int expirationDate
public static final int CONSTRUCTOR
public ChatBoost()
public ChatBoost(java.lang.String id,
int count,
TdApi.ChatBoostSource source,
int startDate,
int expirationDate)
id - Unique identifier of the boost.count - The number of identical boosts applied.source - Source of the boost.startDate - Point in time (Unix timestamp) when the chat was boosted.expirationDate - Point in time (Unix timestamp) when the boost will expire.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object