List of all members | Public Fields | Public Instance Methods | Static Public Attributes
chatBoostFeatures Class Referencefinal

Inherits Object.

Description

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

Public Fields

array< object_ptr< chatBoostLevelFeatures > > features_
 The list of features.
 
int32 min_profile_background_custom_emoji_boost_level_
 The minimum boost level required to set custom emoji for profile background.
 
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_emoji_status_boost_level_
 The minimum boost level required to set emoji status.
 
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_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.
 

Public Instance Methods

 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_speech_recognition_boost_level_, int32 min_sponsored_message_disable_boost_level_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatBoostFeatures() [1/2]

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_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_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.

Method 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: