#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -1572495746 |
| | Identifier uniquely determining a type of the object.
|
| |
Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization. Can be called synchronously for options "version" and "commit_hash".
Returns object_ptr<OptionValue>.
Definition at line 109877 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 109910 of file td_api.h.
◆ getOption() [1/2]
| td::td_api::getOption::getOption |
( |
| ) |
|
Default constructor for a function, which returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization. Can be called synchronously for options "version" and "commit_hash".
Returns object_ptr<OptionValue>.
◆ getOption() [2/2]
| td::td_api::getOption::getOption |
( |
string const & |
name_ | ) |
|
|
explicit |
Creates a function, which returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization. Can be called synchronously for options "version" and "commit_hash".
Returns object_ptr<OptionValue>.
- Parameters
-
| [in] | name_ | The name of the option. |
◆ store()
| void td::td_api::getOption::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::getOption::ID = -1572495746 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 109907 of file td_api.h.
◆ name_
| string td::td_api::getOption::name_ |
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