mtx::responses::Profile struct

Response from the GET /_matrix/client/r0/profile/{userId} endpoint.

Get the combined profile information for this user. This API may be used to fetch the user's own profile information or other users; either locally or on remote homeservers. This API may return keys which are not limited to displayname or avatar_url.

Public variables

std::string avatar_url
The user's avatar URL if they have set one, otherwise not present.
std::string display_name
The user's display name if they have set one, otherwise not present.