QXmpp::Uri::Message Struct

struct QXmpp::Uri::Message
Header: #include <QXmppUri.h>
Since: QXmpp 1.8

Public Functions

bool operator==(const QXmpp::Uri::Message &) const

Public Variables

QString body
QString from
QString id
QString subject
QString thread
std::optional<QXmppMessage::Type> type

Detailed Description

A "message" query defined in XEP-0147: XMPP URI Scheme Query Components.

Member Function Documentation

[noexcept default] bool Message::operator==(const QXmpp::Uri::Message &) const

Returns true if the two objects are equal (default comparison).

Member Variable Documentation

QString Message::body

a body for the message per the "jabber:client" schema

QString Message::from

an ID for the message per the "jabber:client" schema

QString Message::id

a from address for the message per the "jabber:client" schema

QString Message::subject

a subject for the message per the "jabber:client" schema

QString Message::thread

a Thread ID for the message per the "jabber:client" schema

std::optional<QXmppMessage::Type> Message::type

the message type per the "jabber:client" schema