Class TdApi.GetOption

  • Enclosing class:
    TdApi

    public static class TdApi.GetOption
    extends TdApi.Function
    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.

    Returns OptionValue

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String name
      The name of the option.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetOption()
      Default constructor.
      GetOption​(java.lang.String name)
      Constructor for initialization of all fields.
    • Field Detail

      • name

        public java.lang.String name
        The name of the option.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetOption

        public GetOption()
        Default constructor.
      • GetOption

        public GetOption​(java.lang.String name)
        Constructor for initialization of all fields.
        Parameters:
        name - The name of the option.