Module tdlight.api

Class TdApi.InternalLinkTypeProxy

Enclosing class:
TdApi

public static final 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 IP address.
    • port

      public int port
      Proxy server port.
    • type

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

      public static final int CONSTRUCTOR
      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 - String Proxy server IP address.
      port - int Proxy server port.
      type - ProxyType Type of the proxy.
    • InternalLinkTypeProxy

      public InternalLinkTypeProxy(DataInput input) throws IOException
      The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.
      Throws:
      IOException
  • Method Details