#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | 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 |
| |
| 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 const std::int32_t | ID = -1050332618 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes current boost status of a chat.
Definition at line 10451 of file td_api.h.
◆ chatBoostStatus() [1/2]
| td::td_api::chatBoostStatus::chatBoostStatus |
( |
| ) |
|
Describes current boost status of a chat.
◆ chatBoostStatus() [2/2]
Describes current boost status of a chat.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::chatBoostStatus::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ applied_slot_ids_
| array<int32> td::td_api::chatBoostStatus::applied_slot_ids_ |
Identifiers of boost slots of the current user applied to the chat.
Definition at line 10464 of file td_api.h.
◆ boost_count_
| int32 td::td_api::chatBoostStatus::boost_count_ |
The number of boosts received by the chat.
Definition at line 10470 of file td_api.h.
◆ boost_url_
| string td::td_api::chatBoostStatus::boost_url_ |
An HTTP URL, which can be used to boost the chat.
Definition at line 10462 of file td_api.h.
◆ current_level_boost_count_
| int32 td::td_api::chatBoostStatus::current_level_boost_count_ |
The number of boosts added to reach the current level.
Definition at line 10472 of file td_api.h.
◆ gift_code_boost_count_
| int32 td::td_api::chatBoostStatus::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.
Definition at line 10468 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::chatBoostStatus::ID = -1050332618 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 10504 of file td_api.h.
◆ level_
| int32 td::td_api::chatBoostStatus::level_ |
Current boost level of the chat.
Definition at line 10466 of file td_api.h.
◆ next_level_boost_count_
| int32 td::td_api::chatBoostStatus::next_level_boost_count_ |
The number of boosts needed to reach the next level; 0 if the next level isn't available.
Definition at line 10474 of file td_api.h.
◆ premium_member_count_
| int32 td::td_api::chatBoostStatus::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.
Definition at line 10476 of file td_api.h.
◆ premium_member_percentage_
| double td::td_api::chatBoostStatus::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.
Definition at line 10478 of file td_api.h.
◆ prepaid_giveaways_
The list of prepaid giveaways available for the chat; only for chat administrators.
Definition at line 10480 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h