pub(crate) async fn get_state_events_for_key_route(
__arg0: State<State>,
body: Ruma<Request>,
) -> Result<Response>Expand description
§GET /_matrix/client/v3/rooms/{roomid}/state/{eventType}/{stateKey}
Get single state event of a room with the specified state key.
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.