Inherits Object.
Contains a list of features available on a specific chat boost level.
Public Fields | |
int32 | level_ |
Target chat boost level. | |
int32 | story_per_day_count_ |
Number of stories that the chat can publish daily. | |
int32 | custom_emoji_reaction_count_ |
Number of custom emoji reactions that can be added to the list of available reactions. | |
int32 | title_color_count_ |
Number of custom colors for chat title. | |
int32 | profile_accent_color_count_ |
Number of custom colors for profile photo background. | |
bool | can_set_profile_background_custom_emoji_ |
True, if custom emoji for profile background can be set. | |
int32 | accent_color_count_ |
Number of custom colors for background of empty chat photo, replies to messages and link previews. | |
bool | can_set_background_custom_emoji_ |
True, if custom emoji for reply header and link preview background can be set. | |
bool | can_set_emoji_status_ |
True, if emoji status can be set. | |
int32 | chat_theme_background_count_ |
Number of chat theme backgrounds that can be set as chat background. | |
bool | can_set_custom_background_ |
True, if custom background can be set in the chat for all users. | |
bool | can_set_custom_emoji_sticker_set_ |
True, if custom emoji sticker set can be set for the chat. | |
bool | can_recognize_speech_ |
True, if speech recognition can be used for video note and voice note messages by all users. | |
bool | can_disable_sponsored_messages_ |
True, if sponsored messages can be disabled in the chat. | |
Public Instance Methods | |
chatBoostLevelFeatures () | |
chatBoostLevelFeatures (int32 level_, int32 story_per_day_count_, int32 custom_emoji_reaction_count_, int32 title_color_count_, int32 profile_accent_color_count_, bool can_set_profile_background_custom_emoji_, int32 accent_color_count_, bool can_set_background_custom_emoji_, bool can_set_emoji_status_, int32 chat_theme_background_count_, bool can_set_custom_background_, bool can_set_custom_emoji_sticker_set_, bool can_recognize_speech_, bool can_disable_sponsored_messages_) | |
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 = -189458156 |
Identifier uniquely determining a type of the object. | |
Contains a list of features available on a specific chat boost level.
chatBoostLevelFeatures | ( | int32 | level_, |
int32 | story_per_day_count_, | ||
int32 | custom_emoji_reaction_count_, | ||
int32 | title_color_count_, | ||
int32 | profile_accent_color_count_, | ||
bool | can_set_profile_background_custom_emoji_, | ||
int32 | accent_color_count_, | ||
bool | can_set_background_custom_emoji_, | ||
bool | can_set_emoji_status_, | ||
int32 | chat_theme_background_count_, | ||
bool | can_set_custom_background_, | ||
bool | can_set_custom_emoji_sticker_set_, | ||
bool | can_recognize_speech_, | ||
bool | can_disable_sponsored_messages_ | ||
) |
Contains a list of features available on a specific chat boost level.
[in] | level_ | Target chat boost level. |
[in] | story_per_day_count_ | Number of stories that the chat can publish daily. |
[in] | custom_emoji_reaction_count_ | Number of custom emoji reactions that can be added to the list of available reactions. |
[in] | title_color_count_ | Number of custom colors for chat title. |
[in] | profile_accent_color_count_ | Number of custom colors for profile photo background. |
[in] | can_set_profile_background_custom_emoji_ | True, if custom emoji for profile background can be set. |
[in] | accent_color_count_ | Number of custom colors for background of empty chat photo, replies to messages and link previews. |
[in] | can_set_background_custom_emoji_ | True, if custom emoji for reply header and link preview background can be set. |
[in] | can_set_emoji_status_ | True, if emoji status can be set. |
[in] | chat_theme_background_count_ | Number of chat theme backgrounds that can be set as chat background. |
[in] | can_set_custom_background_ | True, if custom background can be set in the chat for all users. |
[in] | can_set_custom_emoji_sticker_set_ | True, if custom emoji sticker set can be set for the chat. |
[in] | can_recognize_speech_ | True, if speech recognition can be used for video note and voice note messages by all users. |
[in] | can_disable_sponsored_messages_ | True, if sponsored messages can be disabled in the chat. |
|
finalvirtual |