class
XMPP::Stanza::AvatarData
- XMPP::Stanza::AvatarData
- Reference
- Object
Overview
AvatarData is the payload of the "urn:xmpp:avatar:data" PEP node (XEP-0084). It holds the base64-encoded avatar image bytes.
Defined in:
xmpp/stanza/avatar.crConstructors
Class Method Summary
-
.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 : String
Instance Method Summary
Constructor Detail
Class Method Detail
from_node converts a generic Item payload (as delivered in a PEP notification) back into an AvatarData model.