XMPP::Stanza::AvatarData
AvatarData is the payload of the "urn:xmpp:avatar:data" PEP node (XEP-0084). It holds the base64-encoded avatar image bytes.
Constructors
Class methods
from_node(node : Node) : AvatarData | Nil
from_node converts a generic Item payload (as delivered in a PEP notification) back into an AvatarData model.
xml_name
SourceInstance methods
data
Sourceto_node
Sourceto_xml(xml : XML::Builder)
Source