Skip to content

miniproto.updates.manager.UpdateManager.handle_raw_update

miniproto.updates.manager.UpdateManager.handle_raw_update

Section titled “miniproto.updates.manager.UpdateManager.handle_raw_update”
handle_raw_update(raw_update: object) -> None

Process one raw update synchronously, persist resulting state, then emit its public events.

Gap recovery and cursor mutation are serialized under the manager’s state lock. Recovered events are date-ordered within a difference response; callers should not infer global ordering guarantees across independent input calls.

Parameters:

  • raw_update (object) – Decoded Telegram update or update-container object to process.

Raises:

  • Exception – Propagates storage, RPC, gap-recovery, queue, and handler failures.