pub(crate) async fn get_state_events_for_empty_key_route(
__arg0: State<State>,
body: Ruma<Request>,
) -> Result<RumaResponse<Response>>Expand description
§GET /_matrix/client/v3/rooms/{roomid}/state/{eventType}
Get single state event of a room.
The optional query parameter ?format=event|content allows returning the
full room state event or just the state event’s content (default behaviour).
A caller who is not joined reads the state as of their departure if they
left the room, and otherwise only while its history visibility admits them.