class
XMPP::Stanza::MAMQuery
- XMPP::Stanza::MAMQuery
- XMPP::Stanza::Extension
- Reference
- Object
Overview
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.
Included Modules
Defined in:
xmpp/stanza/iq/mam.crConstructors
Class Method Summary
Instance Method Summary
- #after : String
- #after=(after : String)
- #finish : Time | Nil
- #finish=(finish : Time | Nil)
- #max : Int32
- #max=(max : Int32)
- #name : String
- #namespace : String
- #queryid : String
- #queryid=(queryid : String)
- #start : Time | Nil
- #start=(start : Time | Nil)
- #to_xml(xml : XML::Builder)
- #with_jid : String
- #with_jid=(with_jid : String)
Instance methods inherited from module XMPP::Stanza::IQPayload
namespace : String
namespace
Instance methods inherited from module XMPP::Stanza::Packet
name : String
name,
to_xml(xml : XML::Builder)to_xml : String to_xml