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

Inherits Object.

Description

Describes autosave settings.

Public Fields

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.
 

Public Instance Methods

 autosaveSettings ()
 
 autosaveSettings (object_ptr< scopeAutosaveSettings > &&private_chat_settings_, object_ptr< scopeAutosaveSettings > &&group_settings_, object_ptr< scopeAutosaveSettings > &&channel_settings_, array< object_ptr< autosaveSettingsException >> &&exceptions_)
 
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 = 1629412502
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ autosaveSettings() [1/2]

Describes autosave settings.

◆ autosaveSettings() [2/2]

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.

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: