Skip to main content

get_room_account_data_handler

Function get_room_account_data_handler 

Source
async fn get_room_account_data_handler(
    database: State<DefaultDb>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, GetAccountDataError>
Expand description

Handler for GET /_matrix/client/v3/user/{userId}/rooms/{roomId}/account_data/{type} (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3useruseridroomsroomidaccount_datatype).

This endpoint is used to get room account data by its type.