class
XMPP::Stanza::AvatarMetadata
- XMPP::Stanza::AvatarMetadata
- Reference
- Object
Overview
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.
Defined in:
xmpp/stanza/avatar.crConstructors
Class Method Summary
-
.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 : 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 AvatarMetadata model.