Skip to main content

get_message_events_route

Function get_message_events_route 

Source
pub(crate) async fn get_message_events_route(
    __arg0: State<State>,
    body: Args<Request>,
) -> Result<Response>
Expand description

ยงGET /_matrix/client/r0/rooms/{roomId}/messages

Allows paginating through room history.

  • Only works if the user is joined (TODO: always allow, but only show events where the user was joined, depending on history_visibility)