Function example_get_profiles::get_profile
source ยท pub(crate) async fn get_profile(
client: Client,
mxid: &UserId,
) -> MatrixResult<UserProfile>
Expand description
This function calls the GET profile endpoint Spec: https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-profile-userid Ruma: https://docs.rs/ruma-client-api/0.9.0/ruma_client_api/r0/profile/get_profile/index.html