#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -947493099 |
| | Identifier uniquely determining a type of the object.
|
| |
Changes pause state of a file in the file download list.
Returns object_ptr<Ok>.
Definition at line 136699 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 136735 of file td_api.h.
◆ toggleDownloadIsPaused() [1/2]
| td::td_api::toggleDownloadIsPaused::toggleDownloadIsPaused |
( |
| ) |
|
Default constructor for a function, which changes pause state of a file in the file download list.
Returns object_ptr<Ok>.
◆ toggleDownloadIsPaused() [2/2]
| td::td_api::toggleDownloadIsPaused::toggleDownloadIsPaused |
( |
int32 |
file_id_, |
|
|
bool |
is_paused_ |
|
) |
| |
Creates a function, which changes pause state of a file in the file download list.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | file_id_ | Identifier of the downloaded file. |
| [in] | is_paused_ | Pass true if the download is paused. |
◆ store()
| void td::td_api::toggleDownloadIsPaused::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ file_id_
| int32 td::td_api::toggleDownloadIsPaused::file_id_ |
Identifier of the downloaded file.
Definition at line 136710 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::toggleDownloadIsPaused::ID = -947493099 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 136732 of file td_api.h.
◆ is_paused_
| bool td::td_api::toggleDownloadIsPaused::is_paused_ |
Pass true if the download is paused.
Definition at line 136712 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h