miniproto.connection.sender.MTProtoSender.flush_acks
miniproto.connection.sender.MTProtoSender.flush_acks
Section titled “miniproto.connection.sender.MTProtoSender.flush_acks”flush_acks() -> int | NoneSend currently queued acknowledgements, or return None when empty.
Returns:
int | None– The outgoing acknowledgement message ID, orNoneif there wereint | None– no pending acknowledgements to flush.
Raises:
BaseException– Any send failure after restoring popped acknowledgements to the state queue.