public static class TdApi.ChatBoostStatus extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int[] |
appliedSlotIds
Identifiers of boost slots of the current user applied to the chat.
|
int |
boostCount
The number of boosts received by the chat.
|
java.lang.String |
boostUrl
An HTTP URL, which can be used to boost the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
currentLevelBoostCount
The number of boosts added to reach the current level.
|
int |
giftCodeBoostCount
The number of boosts received by the chat from created Telegram Premium gift codes and giveaways; always 0 if the current user isn't an administrator in the chat.
|
int |
level
Current boost level of the chat.
|
int |
nextLevelBoostCount
The number of boosts needed to reach the next level; 0 if the next level isn't available.
|
int |
premiumMemberCount
Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.
|
double |
premiumMemberPercentage
A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.
|
TdApi.PrepaidGiveaway[] |
prepaidGiveaways
The list of prepaid giveaways available for the chat; only for chat administrators.
|
| Constructor and Description |
|---|
ChatBoostStatus()
Describes current boost status of a chat.
|
ChatBoostStatus(java.lang.String boostUrl,
int[] appliedSlotIds,
int level,
int giftCodeBoostCount,
int boostCount,
int currentLevelBoostCount,
int nextLevelBoostCount,
int premiumMemberCount,
double premiumMemberPercentage,
TdApi.PrepaidGiveaway[] prepaidGiveaways)
Describes current boost status of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String boostUrl
public int[] appliedSlotIds
public int level
public int giftCodeBoostCount
public int boostCount
public int currentLevelBoostCount
public int nextLevelBoostCount
public int premiumMemberCount
public double premiumMemberPercentage
public TdApi.PrepaidGiveaway[] prepaidGiveaways
public static final int CONSTRUCTOR
public ChatBoostStatus()
public ChatBoostStatus(java.lang.String boostUrl,
int[] appliedSlotIds,
int level,
int giftCodeBoostCount,
int boostCount,
int currentLevelBoostCount,
int nextLevelBoostCount,
int premiumMemberCount,
double premiumMemberPercentage,
TdApi.PrepaidGiveaway[] prepaidGiveaways)
boostUrl - An HTTP URL, which can be used to boost the chat.appliedSlotIds - Identifiers of boost slots of the current user applied to the chat.level - Current boost level of the chat.giftCodeBoostCount - The number of boosts received by the chat from created Telegram Premium gift codes and giveaways; always 0 if the current user isn't an administrator in the chat.boostCount - The number of boosts received by the chat.currentLevelBoostCount - The number of boosts added to reach the current level.nextLevelBoostCount - The number of boosts needed to reach the next level; 0 if the next level isn't available.premiumMemberCount - Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.premiumMemberPercentage - A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.prepaidGiveaways - The list of prepaid giveaways available for the chat; only for chat administrators.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object