Inherits Function.
Returns the value of an option by its name. (Check the list of available options on https://c.tg.goldica.ir/b0dd72633a60ad0070e10de7b12c5322/tdlib/options.) Can be called before authorization. Can be called synchronously for options "version" and "commit_hash".
Returns object_ptr<OptionValue>.
|
static const std::int32_t | ID = -1572495746 |
| Identifier uniquely determining a type of the object.
|
|
◆ getOption() [1/2]
◆ getOption() [2/2]
Creates a function, which returns the value of an option by its name. (Check the list of available options on https://c.tg.goldica.ir/b0dd72633a60ad0070e10de7b12c5322/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 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 TlObject.
The documentation for this class was generated from the following file: