![]() |
libQuotient
A Qt library for building matrix clients
|
#include <stickerevent.h>


Public Member Functions | |
| StickerEvent (const QString &body, content_type imageContent) | |
| const EventContent::ImageContent & | image () const |
| A textual representation or associated description of the sticker image. | |
| QUrl | url () const |
| The URL to the sticker image. This must be a valid mxc:// URI. | |
Public Member Functions inherited from Quotient::EventTemplate< StickerEvent, RoomEvent, EventContent::ImageContent > | |
| EventTemplate (const EventContent::ImageContent &c) | |
| EventContent::ImageContent | content () const |
Protected Member Functions | |
| StickerEvent (const QJsonObject &json) | |
Protected Member Functions inherited from Quotient::EventTemplate< StickerEvent, RoomEvent, EventContent::ImageContent > | |
| EventTemplate (const QJsonObject &json) | |
Additional Inherited Members | |
Public Types inherited from Quotient::EventTemplate< StickerEvent, RoomEvent, EventContent::ImageContent > | |
| using | content_type = EventContent::ImageContent |
Sticker messages are specialised image messages that are displayed without controls (e.g. no "download" link, or light-box view on click, as would be displayed for for m.image events).
Definition at line 14 of file stickerevent.h.
|
inline |
Definition at line 20 of file stickerevent.h.
|
inlineexplicitprotected |
Definition at line 49 of file stickerevent.h.
|
inline |
A textual representation or associated description of the sticker image.
This could be the alt text of the original image, or a message to accompany and further describe the sticker.
Metadata about the image referred to in url including a thumbnail representation.
Definition at line 35 of file stickerevent.h.
|
inline |
The URL to the sticker image. This must be a valid mxc:// URI.
Definition at line 43 of file stickerevent.h.