XMPP::Stanza::AvatarMetadata
AvatarMetadata is the payload of the "urn:xmpp:avatar:metadata" PEP node (XEP-0084). It describes the published avatar without the image bytes so subscribers can decide whether to fetch the data node.
Constructors
Class methods
from_node(node : Node) : AvatarMetadata | Nil
from_node converts a generic Item payload (as delivered in a PEP notification) back into an AvatarMetadata model.
xml_name
SourceInstance methods
infos
Sourceto_node
Sourceto_xml(xml : XML::Builder)
Source