Class TdApi.ProxyTypeMtproto

Enclosing class:
TdApi

public static class TdApi.ProxyTypeMtproto extends TdApi.ProxyType
An MTProto proxy server.
  • Field Details

    • secret

      public String secret
      The proxy's secret in hexadecimal encoding.
    • CONSTRUCTOR

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

    • ProxyTypeMtproto

      public ProxyTypeMtproto()
      An MTProto proxy server.
    • ProxyTypeMtproto

      public ProxyTypeMtproto(String secret)
      An MTProto proxy server.
      Parameters:
      secret - The proxy's secret in hexadecimal encoding.
  • 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