tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateFileDownloads Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateFileDownloads:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

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

Definition at line 79351 of file td_api.h.

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

◆ 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.

Member Data Documentation

◆ downloaded_size_

int53 td::td_api::updateFileDownloads::downloaded_size_

Total downloaded size of files in the file download list, in bytes.

Definition at line 79366 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateFileDownloads::ID = -389213497
static

Identifier uniquely determining a type of the object.

Definition at line 79383 of file td_api.h.

◆ total_count_

int32 td::td_api::updateFileDownloads::total_count_

Total number of files in the file download list.

Definition at line 79364 of file td_api.h.

◆ total_size_

int53 td::td_api::updateFileDownloads::total_size_

Total size of files in the file download list, in bytes.

Definition at line 79362 of file td_api.h.


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