class

XMPP::Stanza::Replace

Inherits XMPP::Stanza::MsgExtension < XMPP::Stanza::Extension < XMPP::Stanza::Packet < Reference < Object

Replace implements XEP-0308 - Last Message Correction.

A corrected message is a regular chat message whose <replace/> payload carries the id of the message it corrects. The corrected <body/> supersedes the original one.

Constructors

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

Class methods

xml_name
Source

Instance methods

id=(id : String)
Source
name
Source
to_xml(xml : XML::Builder)
Source