public static class TdApi.BoostChat extends TdApi.Function<TdApi.ChatBoostSlots>
Returns ChatBoostSlots
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int[] |
slotIds
Identifiers of boost slots of the current user from which to apply boosts to the chat.
|
| Constructor and Description |
|---|
BoostChat()
Default constructor for a function, which boosts a chat and returns the list of available chat boost slots for the current user after the boost.
|
BoostChat(long chatId,
int[] slotIds)
Creates a function, which boosts a chat and returns the list of available chat boost slots for the current user after the boost.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int[] slotIds
public static final int CONSTRUCTOR
public BoostChat()
Returns ChatBoostSlots
public BoostChat(long chatId,
int[] slotIds)
Returns ChatBoostSlots
chatId - Identifier of the chat.slotIds - Identifiers of boost slots of the current user from which to apply boosts to the chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object