libQuotient
A Qt library for building matrix clients
Quotient::PublicRoomsChunk Struct Reference

#include <public_rooms_response.h>

Public Attributes

int numJoinedMembers
 The number of members joined to the room. More...
 
QString roomId
 The ID of the room. More...
 
bool worldReadable
 Whether the room may be viewed by guest users without joining. More...
 
bool guestCanJoin
 
QString canonicalAlias {}
 The canonical alias of the room, if any. More...
 
QString name {}
 The name of the room, if any. More...
 
QString topic {}
 The topic of the room, if any. More...
 
QUrl avatarUrl {}
 The URL for the room's avatar, if one is set. More...
 
QString joinRule {}
 
QString roomType {}
 The type of room (from m.room.create), if any. More...
 

Detailed Description

Definition at line 9 of file public_rooms_response.h.

Member Data Documentation

◆ avatarUrl

QUrl Quotient::PublicRoomsChunk::avatarUrl {}

The URL for the room's avatar, if one is set.

Definition at line 34 of file public_rooms_response.h.

◆ canonicalAlias

QString Quotient::PublicRoomsChunk::canonicalAlias {}

The canonical alias of the room, if any.

Definition at line 25 of file public_rooms_response.h.

◆ guestCanJoin

bool Quotient::PublicRoomsChunk::guestCanJoin

Whether guest users may join the room and participate in it. If they can, they will be subject to ordinary power level rules like any other user.

Definition at line 22 of file public_rooms_response.h.

◆ joinRule

QString Quotient::PublicRoomsChunk::joinRule {}

The room's join rule. When not present, the room is assumed to be public. Note that rooms with invite join rules are not expected here, but rooms with knock rules are given their near-public nature.

Definition at line 40 of file public_rooms_response.h.

◆ name

QString Quotient::PublicRoomsChunk::name {}

The name of the room, if any.

Definition at line 28 of file public_rooms_response.h.

◆ numJoinedMembers

int Quotient::PublicRoomsChunk::numJoinedMembers

The number of members joined to the room.

Definition at line 11 of file public_rooms_response.h.

◆ roomId

QString Quotient::PublicRoomsChunk::roomId

The ID of the room.

Definition at line 14 of file public_rooms_response.h.

◆ roomType

QString Quotient::PublicRoomsChunk::roomType {}

The type of room (from m.room.create), if any.

Definition at line 43 of file public_rooms_response.h.

◆ topic

QString Quotient::PublicRoomsChunk::topic {}

The topic of the room, if any.

Definition at line 31 of file public_rooms_response.h.

◆ worldReadable

bool Quotient::PublicRoomsChunk::worldReadable

Whether the room may be viewed by guest users without joining.

Definition at line 17 of file public_rooms_response.h.


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