Available on crate features
client or server 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§
- Avatar
Url - The user’s avatar URL.
- Call
unstable-msc4426 - The user’s call indicator.
- Call
Profile Field unstable-msc4426 - An indicator that the user is currently in a call, and optionally how long they’ve been in the call.
- Display
Name - The user’s display name.
- Profile
Field Value Visitor - Helper type to deserialize
ProfileFieldValue. - Status
unstable-msc4426 - The user’s current status.
- Status
Profile Field unstable-msc4426 - A text-only field describing the user’s current state, along with an emoji.
- Time
Zone - The user’s time zone.
- User
Profile - All the profile information for a user.
Enums§
- Profile
Field Name - The possible fields of a user’s profile.
- Profile
Field Value - The possible values of a field of a user’s profile.
- Propagate
To unstable-msc4466 - Controls which rooms the server should send an updated
m.room.memberevent in when changingdisplaynameoravatar_urlin a user’s profile. Defined by MSC4466.
Traits§
- Static
Profile Field - Trait implemented by types representing a field in a user’s profile having a statically-known name.