libQuotient
A Qt library for building matrix clients
Quotient::MemberEventContent Class Reference

#include <roommemberevent.h>

Public Member Functions

Q_IMPLICIT MemberEventContent (Membership ms)
 
 MemberEventContent (const QJsonObject &json)
 
QJsonObject toJson () const
 

Public Attributes

Membership membership
 
bool isDirect = false
 (Only for invites) Whether the invite is to a direct chat More...
 
std::optional< QString > displayName
 
std::optional< QUrl > avatarUrl
 
QString reason
 

Detailed Description

Definition at line 12 of file roommemberevent.h.

Constructor & Destructor Documentation

◆ MemberEventContent() [1/2]

Q_IMPLICIT Quotient::MemberEventContent::MemberEventContent ( Membership  ms)
inline

Definition at line 14 of file roommemberevent.h.

◆ MemberEventContent() [2/2]

Quotient::MemberEventContent::MemberEventContent ( const QJsonObject &  json)
explicit

Member Function Documentation

◆ toJson()

QJsonObject Quotient::MemberEventContent::toJson ( ) const

Member Data Documentation

◆ avatarUrl

std::optional<QUrl> Quotient::MemberEventContent::avatarUrl

Definition at line 22 of file roommemberevent.h.

◆ displayName

std::optional<QString> Quotient::MemberEventContent::displayName

Definition at line 21 of file roommemberevent.h.

◆ isDirect

bool Quotient::MemberEventContent::isDirect = false

(Only for invites) Whether the invite is to a direct chat

Definition at line 20 of file roommemberevent.h.

◆ membership

Membership Quotient::MemberEventContent::membership

Definition at line 18 of file roommemberevent.h.

◆ reason

QString Quotient::MemberEventContent::reason

Definition at line 23 of file roommemberevent.h.


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