class

XMPP::Stanza::Bookmarks

Inherits Reference / Object

Bookmarks implements XEP-0048 - Bookmark Conformance.

Bookmarks are the user's saved chat rooms (and URLs in v1.0). They are conventionally stored on the PEP node "storage:bookmarks" (XEP-0402) and may also be carried in private XML storage (XEP-0049). Items published to the PEP node use this payload.

Constructors

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

Class methods

from_node(node : Node) : Bookmarks | Nil

from_node converts a generic Item payload (as delivered in a PEP notification) back into a Bookmarks model.

Source
xml_name
Source

Instance methods

conferences
Source
to_node

to_node converts the model into the generic Item payload used when publishing to the "storage:bookmarks" PEP node.

Source
to_xml(xml : XML::Builder)
Source
urls
Source