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

Inherits td::td_api::Update.

Public Member Functions

 updateFileDownloads ()
 
 updateFileDownloads (int53 total_size_, int32 total_count_, int53 downloaded_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

int53 total_size_
 Total size of files in the file download list, in bytes.
 
int32 total_count_
 Total number of files in the file download list.
 
int53 downloaded_size_
 Total downloaded size of files in the file download list, in bytes.
 

Static Public Attributes

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

Detailed Description

The state of the file download list has changed.

Constructor & Destructor Documentation

◆ updateFileDownloads() [1/2]

td::td_api::updateFileDownloads::updateFileDownloads ( )

The state of the file download list has changed.

◆ updateFileDownloads() [2/2]

td::td_api::updateFileDownloads::updateFileDownloads ( int53  total_size_,
int32  total_count_,
int53  downloaded_size_ 
)

The state of the file download list has changed.

Parameters
[in]total_size_Total size of files in the file download list, in bytes.
[in]total_count_Total number of files in the file download list.
[in]downloaded_size_Total downloaded size of files in the file download list, in bytes.

Member Function Documentation

◆ get_id()

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

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

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