Class TdApi.ProxyTypeSocks5

Enclosing class:
TdApi

public static class TdApi.ProxyTypeSocks5 extends TdApi.ProxyType
A SOCKS5 proxy server.
  • Field Details

    • username

      public String username
      Username for logging in; may be empty.
    • password

      public String password
      Password for logging in; may be empty.
    • CONSTRUCTOR

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

    • ProxyTypeSocks5

      public ProxyTypeSocks5()
      A SOCKS5 proxy server.
    • ProxyTypeSocks5

      public ProxyTypeSocks5(String username, String password)
      A SOCKS5 proxy server.
      Parameters:
      username - Username for logging in; may be empty.
      password - Password for logging in; may be empty.
  • 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