class
XMPP::Stanza::VCard
- XMPP::Stanza::VCard
- XMPP::Stanza::Extension
- Reference
- Object
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.crConstructors
Class Method Summary
Instance Method Summary
- #bday : String
- #bday=(bday : String)
- #emails : Array(Email)
- #emails=(emails : Array(Email))
- #fn : String
- #fn=(fn : String)
- #n : N | Nil
- #n=(n : N | Nil)
- #name : String
- #namespace : String
- #nickname : String
- #nickname=(nickname : String)
- #note : String
- #note=(note : String)
- #org : Org | Nil
- #org=(org : Org | Nil)
- #photo : Photo | Nil
- #photo=(photo : Photo | Nil)
- #tels : Array(Telephone)
- #tels=(tels : Array(Telephone))
- #to_xml(xml : XML::Builder)
- #url : String
- #url=(url : String)
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