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

#include <reactionevent.h>

Inheritance diagram for Quotient::ReactionEvent:
Collaboration diagram for Quotient::ReactionEvent:

Public Member Functions

 ReactionEvent (const QString &eventId, const QString &reactionKey)
 
QString eventId () const
 
QString key () const
 
- Public Member Functions inherited from Quotient::EventTemplate< ReactionEvent, RoomEvent, EventContent::SingleKeyValue< EventRelation, RelatesToKey > >
 EventTemplate (const QJsonObject &json)
 
 EventTemplate (const EventContent::SingleKeyValue< EventRelation, RelatesToKey > &c)
 
EventContent::SingleKeyValue< EventRelation, RelatesToKey > content () const
 

Static Public Member Functions

static bool isValid (const QJsonObject &fullJson)
 

Additional Inherited Members

- Public Types inherited from Quotient::EventTemplate< ReactionEvent, RoomEvent, EventContent::SingleKeyValue< EventRelation, RelatesToKey > >
using content_type = EventContent::SingleKeyValue< EventRelation, RelatesToKey >
 

Detailed Description

Definition at line 11 of file reactionevent.h.

Constructor & Destructor Documentation

◆ ReactionEvent()

Quotient::ReactionEvent::ReactionEvent ( const QString &  eventId,
const QString &  reactionKey 
)
inline

Definition at line 23 of file reactionevent.h.

Member Function Documentation

◆ eventId()

QString Quotient::ReactionEvent::eventId ( ) const
inline

Definition at line 27 of file reactionevent.h.

◆ isValid()

static bool Quotient::ReactionEvent::isValid ( const QJsonObject &  fullJson)
inlinestatic

Definition at line 17 of file reactionevent.h.

◆ key()

QString Quotient::ReactionEvent::key ( ) const
inline

Definition at line 28 of file reactionevent.h.


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