pub(crate) async fn get_profile(
client: Client,
mxid: &UserId,
) -> Result<UserProfile>Expand description
This function calls the GET profile endpoint Spec: https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuserid Ruma: https://docs.rs/ruma-client-api/latest/ruma_client_api/profile/get_profile/v3/index.html