public static class TdApi.GetChatBoosts extends TdApi.Function<TdApi.FoundChatBoosts>
Returns FoundChatBoosts
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of boosts to be returned; up to 100.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
|
boolean |
onlyGiftCodes
Pass true to receive only boosts received from gift codes and giveaways created by the chat.
|
| Constructor and Description |
|---|
GetChatBoosts()
Default constructor for a function, which returns the list of boosts applied to a chat; requires administrator rights in the chat.
|
GetChatBoosts(long chatId,
boolean onlyGiftCodes,
java.lang.String offset,
int limit)
Creates a function, which returns the list of boosts applied to a chat; requires administrator rights in the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean onlyGiftCodes
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetChatBoosts()
Returns FoundChatBoosts
public GetChatBoosts(long chatId,
boolean onlyGiftCodes,
java.lang.String offset,
int limit)
Returns FoundChatBoosts
chatId - Identifier of the chat.onlyGiftCodes - Pass true to receive only boosts received from gift codes and giveaways created by the chat.offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object