Class TdApi.Proxy

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Proxy
Enclosing class:
TdApi

public static class TdApi.Proxy extends TdApi.Object
Describes a proxy server.
  • Field Details

    • server

      public String server
      Proxy server domain or IP address.
    • port

      public int port
      Proxy server port.
    • type

      public TdApi.ProxyType type
      Type of the proxy.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • Proxy

      public Proxy()
      Describes a proxy server.
    • Proxy

      public Proxy(String server, int port, TdApi.ProxyType type)
      Describes a proxy server.
      Parameters:
      server - Proxy server domain or IP address.
      port - Proxy server port.
      type - Type of the proxy.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR