TDLib
Loading...
Searching...
No Matches
chatBoostFeatures Class Referencefinal

Inherits Object.

Description

Contains a list of features available on the first chat boost levels.

Public Member Functions

 chatBoostFeatures ()
 chatBoostFeatures (array< object_ptr< chatBoostLevelFeatures > > &&features_, int32 min_profile_background_custom_emoji_boost_level_, int32 min_background_custom_emoji_boost_level_, int32 min_emoji_status_boost_level_, int32 min_chat_theme_background_boost_level_, int32 min_custom_background_boost_level_, int32 min_custom_emoji_sticker_set_boost_level_, int32 min_automatic_translation_boost_level_, int32 min_speech_recognition_boost_level_, int32 min_sponsored_message_disable_boost_level_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

array< object_ptr< chatBoostLevelFeatures > > features_
 The list of features.
int32 min_automatic_translation_boost_level_
 The minimum boost level allowing to enable automatic translation of messages for non-Premium users; for channel chats only.
int32 min_background_custom_emoji_boost_level_
 The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.
int32 min_chat_theme_background_boost_level_
 The minimum boost level required to set a chat theme background as chat background.
int32 min_custom_background_boost_level_
 The minimum boost level required to set custom chat background.
int32 min_custom_emoji_sticker_set_boost_level_
 The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.
int32 min_emoji_status_boost_level_
 The minimum boost level required to set emoji status.
int32 min_profile_background_custom_emoji_boost_level_
 The minimum boost level required to set custom emoji for profile background.
int32 min_speech_recognition_boost_level_
 The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only.
int32 min_sponsored_message_disable_boost_level_
 The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.

Static Public Attributes

static const std::int32_t ID = -940531367
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ chatBoostFeatures() [1/2]

chatBoostFeatures ( )

Contains a list of features available on the first chat boost levels.

◆ chatBoostFeatures() [2/2]

chatBoostFeatures ( array< object_ptr< chatBoostLevelFeatures > > && features_,
int32 min_profile_background_custom_emoji_boost_level_,
int32 min_background_custom_emoji_boost_level_,
int32 min_emoji_status_boost_level_,
int32 min_chat_theme_background_boost_level_,
int32 min_custom_background_boost_level_,
int32 min_custom_emoji_sticker_set_boost_level_,
int32 min_automatic_translation_boost_level_,
int32 min_speech_recognition_boost_level_,
int32 min_sponsored_message_disable_boost_level_ )

Contains a list of features available on the first chat boost levels.

Parameters
[in]features_The list of features.
[in]min_profile_background_custom_emoji_boost_level_The minimum boost level required to set custom emoji for profile background.
[in]min_background_custom_emoji_boost_level_The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only.
[in]min_emoji_status_boost_level_The minimum boost level required to set emoji status.
[in]min_chat_theme_background_boost_level_The minimum boost level required to set a chat theme background as chat background.
[in]min_custom_background_boost_level_The minimum boost level required to set custom chat background.
[in]min_custom_emoji_sticker_set_boost_level_The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only.
[in]min_automatic_translation_boost_level_The minimum boost level allowing to enable automatic translation of messages for non-Premium users; for channel chats only.
[in]min_speech_recognition_boost_level_The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only.
[in]min_sponsored_message_disable_boost_level_The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.

Member Function Documentation

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: