Skip to main content

Module profile

Module profile 

Source
Expand description

Implements APIs for profile queries from the matrix spec

Structsยง

ProfileComponent
Component implementing endpoints for account management

Enumsยง

ProfileQueryError ๐Ÿ”’

Functionsยง

build_profile_response ๐Ÿ”’
Build a profile response with the provided optional fields.
get_avatar_url_handler ๐Ÿ”’
Handler for GET /_matrix/client/v3/profile/{userId}/avatar_url (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuseridavatar_url).
get_display_name_handler ๐Ÿ”’
Handler for GET /_matrix/client/v3/profile/{userId}/displayname (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuseriddisplayname).
get_profile_handler ๐Ÿ”’
Handler for GET /_matrix/client/v3/profile/{userId} (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuserid).