class XMPP::Stanza::VCard

Overview

XEP-0054: vcard-temp.

The vCard data model for temporary vCard data, exchanged as an IQ payload against a user's bare JID. Supports the common textual fields (FN, NICKNAME, BDAY, URL, NOTE) plus the structured N, ORG and PHOTO elements and EMAIL/TEL collections.

Included Modules

Defined in:

xmpp/stanza/iq/vcard.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 bday : String #

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

[View source]
def emails : Array(Email) #

[View source]
def emails=(emails : Array(Email)) #

[View source]
def fn : String #

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

[View source]
def n : N | Nil #

[View source]
def n=(n : N | Nil) #

[View source]
def name : String #

[View source]
def namespace : String #

[View source]
def nickname : String #

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

[View source]
def note : String #

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

[View source]
def org : Org | Nil #

[View source]
def org=(org : Org | Nil) #

[View source]
def photo : Photo | Nil #

[View source]
def photo=(photo : Photo | Nil) #

[View source]
def tels : Array(Telephone) #

[View source]
def tels=(tels : Array(Telephone)) #

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

[View source]
def url : String #

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

[View source]