heroes

val heroes: List<String>

Present only if the room has no m.room.name or m.room.canonical_alias.

Lists the mxids of the first 5 members in the room who are currently joined or invited (ordered by stream ordering as seen on the server, to avoid it jumping around if/when topological order changes). As the heroes’ membership status changes, the list changes appropriately (sending the whole new list in the next /sync response). This list always excludes the current logged in user. If there are no joined or invited users, it lists the parted and banned ones instead. Servers can choose to send more or less than 5 members if they must, but 5 seems like a good enough number for most naming purposes. Clients should use all the provided members to name the room, but may truncate the list if helpful for UX