public static class TdApi.ChatBoostSourcePremium extends TdApi.ChatBoostSource
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the user.
|
| Constructor and Description |
|---|
ChatBoostSourcePremium()
A user with Telegram Premium subscription or gifted Telegram Premium boosted the chat.
|
ChatBoostSourcePremium(long userId)
A user with Telegram Premium subscription or gifted Telegram Premium boosted the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public static final int CONSTRUCTOR
public ChatBoostSourcePremium()
public ChatBoostSourcePremium(long userId)
userId - Identifier of the user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object