Skip to main content

ban_user_route

Function ban_user_route 

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

ยงPOST /_matrix/client/r0/rooms/{roomId}/ban

Tries to send a ban event into the room.