class XMPP::Stanza::MAMQuery

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.cr

Constructors

Class Method Summary

Instance Method Summary

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

Constructor Detail

def self.new(xml : String) #

[View source]
def self.new(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : XMLName #

[View source]

Instance Method Detail

def after : String #

[View source]
def after=(after : String) #

[View source]
def finish : Time | Nil #

[View source]
def finish=(finish : Time | Nil) #

[View source]
def max : Int32 #

[View source]
def max=(max : Int32) #

[View source]
def name : String #

[View source]
def namespace : String #

[View source]
def queryid : String #

[View source]
def queryid=(queryid : String) #

[View source]
def start : Time | Nil #

[View source]
def start=(start : Time | Nil) #

[View source]
def to_xml(xml : XML::Builder) #

[View source]
def with_jid : String #

[View source]
def with_jid=(with_jid : String) #

[View source]