Profile Service
This interface defines methods to handling profile information. It's implemented at the session level.
Types
Functions
Add a 3Pids. This is the first step to add a ThreePid to an account. Then the threePid will be added to the pending threePid list.
Cancel adding a threepid. It will remove locally stored data about this ThreePid.
Remove a 3Pid from the Matrix account.
Finalize adding a 3Pids. Call this method once the user has validated that he owns the ThreePid.
Return the current avatarUrl for this user.
Return the current display name for this user.
Get the pending 3Pids, i.e. ThreePids that have requested a token, but not yet validated by the user.
Get the pending 3Pids Live.
Get the combined profile information for this user. This may return keys which are not limited to displayname or avatar_url. If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response can be HTTP 403.
Return a User object from a userId.
Get the current user 3Pids.
Get the current user 3Pids Live.
Update the display name for this user.
Validate a code received by text message.
Update the avatar for this user.