Skip to content

miniproto.updates.state.UpdateCursor

UpdateCursor(pts: int = 0, qts: int = 0, seq: int = 0, date: datetime = utc_now(), channel_cursors: tuple[ChannelUpdateCursor, ...] = (), entities: tuple[EntityReference, ...] = (), duplicate_keys: tuple[str, ...] = ()) -> None

Immutable global and per-channel update state persisted in a session record.

duplicate_keys retains a bounded recent-history window for best-effort duplicate suppression. entities supplies access hashes needed for channel gap recovery.

Attributes: