- 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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe name of the option.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class it.tdlight.jni.TdApi.FunctiontoStringMethods inherited from class it.tdlight.jni.TdApi.Objectserialize
- 
Field Details- 
nameThe name of the option.
- 
CONSTRUCTORpublic static final int CONSTRUCTOR- See Also:
 
 
- 
- 
Constructor Details- 
GetOptionpublic 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
- 
GetOptionReturns 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.
 
- 
GetOptionReturns 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- 
getConstructorpublic int getConstructor()- Specified by:
- getConstructorin class- TdApi.Object
 
- 
serialize- Specified by:
- serializein class- TdApi.Object
- Throws:
- IOException
 
- 
equals
- 
hashCodepublic int hashCode()
 
-