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 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