Skip to content

miniproto.connection.sender.QuickAckReceipt

miniproto.connection.sender.QuickAckReceipt

Section titled “miniproto.connection.sender.QuickAckReceipt”
QuickAckReceipt(token: int, latency_ms: float, attempt: int) -> None

Early transport-acknowledgement metadata for one encrypted send attempt.

A receipt confirms only that Telegram accepted the encrypted transport packet; it does not complete the RPC or replace the later result, error, or MTProto service acknowledgement.

Parameters:

  • token (int) – Opaque token supplied by Telegram’s quick-ACK frame.
  • latency_ms (float) – Elapsed monotonic send-to-ACK time in milliseconds.
  • attempt (int) – One-based encrypted send attempt that requested the ACK.