Module profile

Source
Available on crate feature api and (crate features client-api-c or client-api-s) only.
Expand description

Endpoints for user profiles.

Modules§

delete_profile_field
DELETE /_matrix/client/*/profile/{userId}/{key_name}
get_avatar_url
GET /_matrix/client/*/profile/{userId}/avatar_url
get_display_name
GET /_matrix/client/*/profile/{userId}/displayname
get_profile
GET /_matrix/client/*/profile/{userId}
get_profile_field
GET /_matrix/client/*/profile/{userId}/{key_name}
set_avatar_url
PUT /_matrix/client/*/profile/{userId}/avatar_url
set_display_name
PUT /_matrix/client/*/profile/{userId}/displayname
set_profile_field
PUT /_matrix/client/*/profile/{userId}/{key_name}

Structs§

AvatarUrl
The user’s avatar URL.
DisplayName
The user’s display name.

Enums§

ProfileFieldName
The possible fields of a user’s profile.
ProfileFieldValue
The possible values of a field of a user’s profile.

Traits§

StaticProfileField
Trait implemented by types representing a field in a user’s profile having a statically-known name.