class
XMPP::Stanza::PEPEventPres
Overview
PEPEventPres is the presence-carried PEP notification defined by XEP-0223.
When a contact is already subscribed to the publisher's presence, the
server delivers a PEP notification as a
Defined in:
xmpp/stanza/presence/pubsub_event.crConstructors
Class Method Summary
Instance Method Summary
- #items : Items | Nil
- #items=(items : Items | Nil)
- #name : String
- #retract : Retract | Nil
- #retract=(retract : Retract | Nil)
-
#to_event : PubSubEvent
to_event converts the presence form into the shared message-form PubSubEvent model.
- #to_xml(xml : XML::Builder)
Instance methods inherited from module XMPP::Stanza::Packet
name : String
name,
to_xml(xml : XML::Builder)to_xml : String to_xml
Constructor Detail
Class Method Detail
Instance Method Detail
def to_event : PubSubEvent
#
to_event converts the presence form into the shared message-form PubSubEvent model.