|
NAMEAnyEvent::XMPP::Ext::Receipts - XEP-0184 message receiptsSYNOPSISuse AnyEvent::XMPP::Ext::Disco; use AnyEvent::XMPP::Ext::Receipts; my $disco = AnyEvent::XMPP::Ext::Disco->new(); $xmpp->add_extension($disco); my $receipts = AnyEvent::XMPP::Ext::Receipts->new(disco => $disco); $xmpp->add_extension($receipts); $disco->enable_feature($receipts->disco_feature); DESCRIPTIONThis module adds support for XEP-0184 message receipts.Message receipts provide a way to verify that messages were received by the recipient, as long as the recipient's client supports it. Note that you need to send messages with message receipts to full Jabber IDs (e.g. jabber@example.com/android3948128), not bare Jabber IDs (e.g. jabber@example.com). METHODS
Here is an example with all keys set: my $receipts = AnyEvent::XMPP::Ext::Receipts->new( disco => $disco, auto_resend => 30, debug => 1, ); AUTHORMichael Stapelberg, "<michael at stapelberg.de>"COPYRIGHT & LICENSECopyright 2012 Michael StapelbergThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |