Inherits Function.
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.
Returns object_ptr<OptionValue>.
|
static const std::int32_t | ID = -1572495746 |
| Identifier uniquely determining a type of the object.
|
|
◆ getOption() [1/2]
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.
Returns object_ptr<OptionValue>.
◆ getOption() [2/2]
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.
Returns object_ptr<OptionValue>.
- Parameters
-
[in] | name_ | The name of the option. |
◆ get_id()
std::int32_t get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements TlObject.
◆ 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: