Class TdApi.InternalLinkTypeProxy

Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeProxy extends TdApi.InternalLinkType
The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
  • 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

    • InternalLinkTypeProxy

      public InternalLinkTypeProxy()
      The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
    • InternalLinkTypeProxy

      public InternalLinkTypeProxy(String server, int port, TdApi.ProxyType type)
      The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
      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