tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::chatBoostFeatures Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::chatBoostFeatures:
td::td_api::Object td::TlObject

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

Public Attributes

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

Detailed Description

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

Definition at line 9986 of file td_api.h.

Constructor & Destructor Documentation

◆ chatBoostFeatures() [1/2]

td::td_api::chatBoostFeatures::chatBoostFeatures ( )

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

◆ chatBoostFeatures() [2/2]

td::td_api::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_ 
)

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 td::td_api::chatBoostFeatures::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 td::TlObject.

Member Data Documentation

◆ features_

array<object_ptr<chatBoostLevelFeatures> > td::td_api::chatBoostFeatures::features_

The list of features.

Definition at line 9997 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatBoostFeatures::ID = -940531367
static

Identifier uniquely determining a type of the object.

Definition at line 10039 of file td_api.h.

◆ min_automatic_translation_boost_level_

int32 td::td_api::chatBoostFeatures::min_automatic_translation_boost_level_

The minimum boost level allowing to enable automatic translation of messages for non-Premium users; for channel chats only.

Definition at line 10011 of file td_api.h.

◆ min_background_custom_emoji_boost_level_

int32 td::td_api::chatBoostFeatures::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.

Definition at line 10001 of file td_api.h.

◆ min_chat_theme_background_boost_level_

int32 td::td_api::chatBoostFeatures::min_chat_theme_background_boost_level_

The minimum boost level required to set a chat theme background as chat background.

Definition at line 10005 of file td_api.h.

◆ min_custom_background_boost_level_

int32 td::td_api::chatBoostFeatures::min_custom_background_boost_level_

The minimum boost level required to set custom chat background.

Definition at line 10007 of file td_api.h.

◆ min_custom_emoji_sticker_set_boost_level_

int32 td::td_api::chatBoostFeatures::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.

Definition at line 10009 of file td_api.h.

◆ min_emoji_status_boost_level_

int32 td::td_api::chatBoostFeatures::min_emoji_status_boost_level_

The minimum boost level required to set emoji status.

Definition at line 10003 of file td_api.h.

◆ min_profile_background_custom_emoji_boost_level_

int32 td::td_api::chatBoostFeatures::min_profile_background_custom_emoji_boost_level_

The minimum boost level required to set custom emoji for profile background.

Definition at line 9999 of file td_api.h.

◆ min_speech_recognition_boost_level_

int32 td::td_api::chatBoostFeatures::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.

Definition at line 10013 of file td_api.h.

◆ min_sponsored_message_disable_boost_level_

int32 td::td_api::chatBoostFeatures::min_sponsored_message_disable_boost_level_

The minimum boost level allowing to disable sponsored messages in the chat; for channel chats only.

Definition at line 10015 of file td_api.h.


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