AnyEvent::XMPP::IM::Presence(3pm)

AnyEvent::XMPP::IM::Presence3pm

Xmpp presence

Overview

This module represents an XMPP presence. It stores the full JID of the contact, the show value, status value and priority.

AnyEvent::XMPP::IM::Presence is derived from AnyEvent::XMPP::IM::Delayed, use the interface described there to find out whether this presence was delayed.

Methods

jid

Returns the full JID of this presence.

priority

Returns the priority of this presence.

status_all_lang

Returns all language tags of available status descriptions. See also status.

show

Returns the show value of this presence, which is one of:

   'away', 'chat', 'dnd', 'xa'

or the empty string if the presence is 'available'.

status ([$lang])

Returns the presence description. $lang is optional can should be one of the tags returned by "status_all_lang".

make_message (%args)

Returns a AnyEvent::XMPP::IM::Message object with the to field set to this presence full JID.

%args are further arguments to the constructor of the message.

Releases

8 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13
  7. Arch

Author

Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"

From perl-anyevent-xmpp 0.55-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.