class XMPP::Stanza::PublishOptions

Overview

PublishOptions implements the publish-options element of XEP-0410 - PubSub Publish Options. It is sent alongside a publish to configure the node via a jabber:x:data form (typically the pubsub#access_model field).

Defined in:

xmpp/stanza/pubsub.cr

Constructors

Class Method Summary

Instance Method Summary

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 form : XData | Nil #

[View source]
def form=(form : XData | Nil) #

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

[View source]