libkazv
Kazv::Api::GetJoinedMembersByRoomJob::RoomMember Struct Reference

This API returns a map of MXIDs to member info objects for members of the room. The current user must be in the room for it to work, unless it is an Application Service in which case any of the AS's users must be in the room. This API is primarily for Application Services and should be faster to respond than /members as it can be implemented more efficiently on the server. More...

#include <rooms.hpp>

Public Attributes

std::optional< std::string > displayName
 The display name of the user this object is representing. More...
 
std::optional< std::string > avatarUrl
 The mxc avatar url of the user this object is representing. More...
 

Detailed Description

This API returns a map of MXIDs to member info objects for members of the room. The current user must be in the room for it to work, unless it is an Application Service in which case any of the AS's users must be in the room. This API is primarily for Application Services and should be faster to respond than /members as it can be implemented more efficiently on the server.

Member Data Documentation

◆ avatarUrl

std::optional<std::string> Kazv::Api::GetJoinedMembersByRoomJob::RoomMember::avatarUrl

The mxc avatar url of the user this object is representing.

◆ displayName

std::optional<std::string> Kazv::Api::GetJoinedMembersByRoomJob::RoomMember::displayName

The display name of the user this object is representing.


The documentation for this struct was generated from the following file: