class XMPP::Stanza::DirectInvite

Overview

DirectInvite implements XEP-0249 - Direct MUC Invitations.

A user invites another user to a room by sending a message whose payload is an empty element in the "jabber:x:conference" namespace carrying the room JID and optional metadata as attributes. Unlike the mediated MUC invitation (XEP-0045), a direct invitation is sent person-to-person.

Defined in:

xmpp/stanza/message/direct_invite.cr

Constructors

Class Method Summary

Instance Method Summary

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 continue=(continue : Bool) #

[View source]
def continue? : Bool #

[View source]
def jid : String #

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

[View source]
def name : String #

[View source]
def password : String #

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

[View source]
def reason : String #

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

[View source]
def thread : String #

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

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

[View source]