Structsยง
- Context
Args ๐ - Shared inputs for
event_context, the core behind both the client-server/contextroute and the admin room-context endpoint. - Timeline
Half ๐ - Shared inputs for the two
collect_timeline_halfcalls assembling the before and after windows; only the stream and take count differ per call.
Constantsยง
- LIMIT_
DEFAULT ๐ - LIMIT_
MAX ๐
Functionsยง
- build_
state_ ๐response - collect_
timeline_ ๐half - event_
context ๐ - Loads the timeline window around an event with its state and aggregations,
applying (unless
bypass_visibility) the per-user visibility and ignore checks. Powers the client-server/contextroute and its admin bypass twin. - get_
context_ ๐route GET /_matrix/client/r0/rooms/{roomId}/context/{eventId}- load_
state_ ๐ids - resolve_
base_ ๐event