#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 2114670322 |
| | Identifier uniquely determining a type of the object.
|
| |
Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.
Returns object_ptr<Ok>.
Definition at line 132061 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 132097 of file td_api.h.
◆ setOption() [1/2]
| td::td_api::setOption::setOption |
( |
| ) |
|
Default constructor for a function, which sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.
Returns object_ptr<Ok>.
◆ setOption() [2/2]
Creates a function, which sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | name_ | The name of the option. |
| [in] | value_ | The new value of the option; pass null to reset option value to a default value. |
◆ store()
| void td::td_api::setOption::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.
◆ ID
| const std::int32_t td::td_api::setOption::ID = 2114670322 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 132094 of file td_api.h.
◆ name_
| string td::td_api::setOption::name_ |
◆ value_
The new value of the option; pass null to reset option value to a default value.
Definition at line 132074 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