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

Inherits Object.

Description

Contains autosave settings for an autosave settings scope.

Public Fields

bool autosave_photos_
 True, if photo autosave is enabled.
 
bool autosave_videos_
 True, if video autosave is enabled.
 
int53 max_video_file_size_
 The maximum size of a video file to be autosaved, in bytes; 512 KB - 4000 MB.
 

Public Instance Methods

 scopeAutosaveSettings ()
 
 scopeAutosaveSettings (bool autosave_photos_, bool autosave_videos_, int53 max_video_file_size_)
 
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 = 1546821427
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ scopeAutosaveSettings() [1/2]

Contains autosave settings for an autosave settings scope.

◆ scopeAutosaveSettings() [2/2]

scopeAutosaveSettings ( bool  autosave_photos_,
bool  autosave_videos_,
int53  max_video_file_size_ 
)

Contains autosave settings for an autosave settings scope.

Parameters
[in]autosave_photos_True, if photo autosave is enabled.
[in]autosave_videos_True, if video autosave is enabled.
[in]max_video_file_size_The maximum size of a video file to be autosaved, in bytes; 512 KB - 4000 MB.

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: