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

Inherits td::td_api::Object.

Public Member Functions

 scopeAutosaveSettings ()
 
 scopeAutosaveSettings (bool autosave_photos_, bool autosave_videos_, int53 max_video_file_size_)
 
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

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.
 

Static Public Attributes

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

Detailed Description

Contains autosave settings for an autosave settings scope.

Constructor & Destructor Documentation

◆ scopeAutosaveSettings() [1/2]

td::td_api::scopeAutosaveSettings::scopeAutosaveSettings ( )

Contains autosave settings for an autosave settings scope.

◆ scopeAutosaveSettings() [2/2]

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

Member Function Documentation

◆ get_id()

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

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

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