mtproto v57.3.1-beta MTProto.Auth

Summary

Types

state()
state :: %MTProto.State{auth_key: term, auth_key_hash: term, auth_params: term, auth_state: term, dc: term, dc_options: term, last_message_id: term, msg_ids: term, msg_ids_to_ack: term, msg_seqno: term, notifier: term, packet_buffer: term, reconnect: term, server_salt: term, server_time_offset: term, session_id: term, socket: term}

Functions

handle(client, state, packet)
handle(pid, state, binary) ::
  {:ok, state} |
  {:error, term, state}

init(client, state)
send_bare_packet(client, packet)