Class TdApi.EnableProxy

  • Enclosing class:
    TdApi

    public static class TdApi.EnableProxy
    extends TdApi.Function
    Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.

    Returns Ok

    • Field Detail

      • proxyId

        public int proxyId
        Proxy identifier.
      • CONSTRUCTOR

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

      • EnableProxy

        public EnableProxy()
        Default constructor for a function, which enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.

        Returns Ok

      • EnableProxy

        public EnableProxy​(int proxyId)
        Creates a function, which enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.

        Returns Ok

        Parameters:
        proxyId - Proxy identifier.