View Source ExTDLib.Method.GetOption (ExTDLib v0.0.4)
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>.
| Name | Type | Description |
|---|---|---|
| name | string | The name of the option. |
More details on telegram's documentation.