- Enclosing class:
- TdApi
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
OptionValue-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe name of the option. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
name
The name of the option. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetOption
public GetOption()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". ReturnsOptionValue -
GetOption
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". ReturnsOptionValue- Parameters:
name- String The name of the option.
-
GetOption
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". ReturnsOptionValue- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-