AnyEven...resence(3)
π NAME π
AnyEvent::XMPP::IM::Presence β it's giving XMPP presence, bestie β¨
So like, this module is the whole vibe of an XMPP presence. It's lowkey a little container that holds the full JID of the contact, the show value, the status value, and the priority. That's it, that's the girl. π
πΈ SYNOPSIS πΈ
Okay so, funny thing β there is genuinely nothing here. The SYNOPSIS is empty. No cap, not a single line. We move. π
π¦ DESCRIPTION π¦
This module represents an XMPP presence. Periodt. It stores the full JID of the contact, the show value, the status value and the priority β all the little details that make a presence a presence. π«Ά
And important: AnyEvent::XMPP::IM::Presence is derived from AnyEvent::XMPP::IM::Delayed, so if you wanna know whether this presence was delayed, use the interface described over there. Iykyk. β¨
π METHODS π
π jid
Returns the full JID of this presence. Main character energy, honestly. π¦
π priority
Returns the priority of this presence. Yes bestie, it has priorities β relatable. π
π status_all_lang
Returns all the language tags of the available status descriptions. Like, every single one. π
Also see status if you wanna actually read the descriptions themselves, just saying π
π show
Returns the show value of this presence, which is one of these icons right here:
'away', 'chat', 'dnd', 'xa'
β¦or the empty string if the presence is 'available'. Slay. β
π status ([$lang])
Returns the presence description. The $lang is optional, and it can β and should β be one of the tags returned by "status_all_lang". Pick your language, babe. πΈ
π make_message (%args)
Returns an AnyEvent::XMPP::IM::Message object with the to field set to this presence's full JID. Convenient? Obsessed. π₯
%args are further arguments to the constructor of the message. Pass whatever else you need, bestie. π
π AUTHOR π
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" β icon, legend, the moment. π
π COPYRIGHT & LICENSE π
Copyright 2007, 2008 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π«Ά
Okay that's the whole page, bestie β go forth and presence responsibly π
Mwah π β this little transmission was brought to you by perl v5.42.2, dated 2026-02-15. See you in the group chat! π
π¦ where this page comes from
- alpine 3.24: perl-anyevent-xmpp-doc 0.55-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms