class

XMPP::Stanza::MAMQuery

Inherits XMPP::Stanza::IQPayload / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object

MAMQuery implements the IQ payload of XEP-0313 - Message Archive Management.

A query requests archived messages, optionally filtered by the chat partner (with), a time range (start/end), and paged via RSM (max/after). The filter is expressed as a jabber:x:data submit form; paging as a jabber:iq:rsm set. The server answers the IQ with a MAMFin and streams the archived messages as Message stanzas carrying MAMResult payloads.

Constructors

new(xml : String)
Source
new(node : XML::Node)
Source

Class methods

xml_name
Source

Instance methods

after
Source
after=(after : String)
Source
finish
Source
finish=(finish : Time | Nil)
Source
max=(max : Int32)
Source
name
Source
namespace
Source
queryid
Source
queryid=(queryid : String)
Source
start
Source
start=(start : Time | Nil)
Source
to_xml(xml : XML::Builder)
Source
with_jid
Source
with_jid=(with_jid : String)
Source