Inherits Function.
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>.
|
static const std::int32_t | ID = 2114670322 |
| Identifier uniquely determining a type of the object.
|
|
◆ setOption() [1/2]
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 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: