Inherits Object.
Describes current boost status of a chat.
Public Fields | |
string | boost_url_ |
An HTTP URL, which can be used to boost the chat. | |
array< int32 > | applied_slot_ids_ |
Identifiers of boost slots of the current user applied to the chat. | |
int32 | level_ |
Current boost level of the chat. | |
int32 | gift_code_boost_count_ |
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. | |
int32 | boost_count_ |
The number of boosts received by the chat. | |
int32 | current_level_boost_count_ |
The number of boosts added to reach the current level. | |
int32 | next_level_boost_count_ |
The number of boosts needed to reach the next level; 0 if the next level isn't available. | |
int32 | premium_member_count_ |
Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat. | |
double | premium_member_percentage_ |
A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat. | |
array< object_ptr< prepaidGiveaway > > | prepaid_giveaways_ |
The list of prepaid giveaways available for the chat; only for chat administrators. | |
Public Instance Methods | |
chatBoostStatus () | |
chatBoostStatus (string const &boost_url_, array< int32 > &&applied_slot_ids_, int32 level_, int32 gift_code_boost_count_, int32 boost_count_, int32 current_level_boost_count_, int32 next_level_boost_count_, int32 premium_member_count_, double premium_member_percentage_, array< object_ptr< prepaidGiveaway >> &&prepaid_giveaways_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1050332618 |
Identifier uniquely determining a type of the object. | |
chatBoostStatus | ( | ) |
Describes current boost status of a chat.
chatBoostStatus | ( | string const & | boost_url_, |
array< int32 > && | applied_slot_ids_, | ||
int32 | level_, | ||
int32 | gift_code_boost_count_, | ||
int32 | boost_count_, | ||
int32 | current_level_boost_count_, | ||
int32 | next_level_boost_count_, | ||
int32 | premium_member_count_, | ||
double | premium_member_percentage_, | ||
array< object_ptr< prepaidGiveaway >> && | prepaid_giveaways_ | ||
) |
Describes current boost status of a chat.
[in] | boost_url_ | An HTTP URL, which can be used to boost the chat. |
[in] | applied_slot_ids_ | Identifiers of boost slots of the current user applied to the chat. |
[in] | level_ | Current boost level of the chat. |
[in] | gift_code_boost_count_ | 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. |
[in] | boost_count_ | The number of boosts received by the chat. |
[in] | current_level_boost_count_ | The number of boosts added to reach the current level. |
[in] | next_level_boost_count_ | The number of boosts needed to reach the next level; 0 if the next level isn't available. |
[in] | premium_member_count_ | Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat. |
[in] | premium_member_percentage_ | A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat. |
[in] | prepaid_giveaways_ | The list of prepaid giveaways available for the chat; only for chat administrators. |
|
finalvirtual |