Skip to content

getOption

Sahri Riza Umami edited this page Jun 9, 2017 · 4 revisions

Returns value of an option by its name.

getOption(name)

See list of available options on https://core.telegram.org/tdlib/options.

Option Description
name Name of the option.

Example

getOption('network_unreachable')

Response:

{
  ID = "OptionBoolean",
  value_ = false
}

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally