TDLib
Loading...
Searching...
No Matches
td::td_api::autosaveSettings Class Referencefinal

Inherits td::td_api::Object.

Public Member Functions

 autosaveSettings ()
 
 autosaveSettings (object_ptr< scopeAutosaveSettings > &&private_chat_settings_, object_ptr< scopeAutosaveSettings > &&group_settings_, object_ptr< scopeAutosaveSettings > &&channel_settings_, array< object_ptr< autosaveSettingsException > > &&exceptions_)
 
std::int32_t get_id () const final
 
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

object_ptr< scopeAutosaveSettingsprivate_chat_settings_
 Default autosave settings for private chats.
 
object_ptr< scopeAutosaveSettingsgroup_settings_
 Default autosave settings for basic group and supergroup chats.
 
object_ptr< scopeAutosaveSettingschannel_settings_
 Default autosave settings for channel chats.
 
array< object_ptr< autosaveSettingsException > > exceptions_
 Autosave settings for specific chats.
 

Static Public Attributes

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

Detailed Description

Describes autosave settings.

Constructor & Destructor Documentation

◆ autosaveSettings() [1/2]

td::td_api::autosaveSettings::autosaveSettings ( )

Describes autosave settings.

◆ autosaveSettings() [2/2]

td::td_api::autosaveSettings::autosaveSettings ( object_ptr< scopeAutosaveSettings > &&  private_chat_settings_,
object_ptr< scopeAutosaveSettings > &&  group_settings_,
object_ptr< scopeAutosaveSettings > &&  channel_settings_,
array< object_ptr< autosaveSettingsException > > &&  exceptions_ 
)

Describes autosave settings.

Parameters
[in]private_chat_settings_Default autosave settings for private chats.
[in]group_settings_Default autosave settings for basic group and supergroup chats.
[in]channel_settings_Default autosave settings for channel chats.
[in]exceptions_Autosave settings for specific chats.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::autosaveSettings::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::autosaveSettings::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.


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