Skip to content

miniproto.auth.bootstrap.UnencryptedAuthKeyTransport

miniproto.auth.bootstrap.UnencryptedAuthKeyTransport

Section titled “miniproto.auth.bootstrap.UnencryptedAuthKeyTransport”
UnencryptedAuthKeyTransport(endpoint: ConnectionEndpoint, config: ClientConfig) -> None

Exchange unencrypted MTProto authorization packets over one transport.

Parameters:

  • endpoint (ConnectionEndpoint) – Telegram data-center address to contact.
  • config (ClientConfig) – Client transport configuration used when opening the connection.

Store connection details and defer opening the transport until first use.

Parameters:

  • endpoint (ConnectionEndpoint) – Telegram data-center address to contact.
  • config (ClientConfig) – Transport configuration used to open the connection.