Net::J...Message(3pm)
π NAME
okay bestie, say hi to Net::Jabber::Loudmouth::Message β it's literally a Jabber message β¨
π¦ HIERARCHY
the family tree, look at her:
Glib::Boxed
+----Net::Jabber::Loudmouth::Message
so yeah, she inherits from Glib::Boxed π
π METHODS
message = Net::Jabber::Loudmouth::Message->new ($to, $type)
make a fresh new message, no cap π«Ά here's what you hand her:
$to(string) β who it's going to, duh$type(Net::Jabber::Loudmouth::MessageType) β what kind of message it is
message = Net::Jabber::Loudmouth::Message->new_with_sub_type ($to, $type, $sub_type)
same energy but β¨extraβ¨ β this one takes a sub-type too:
$to(string)$type(Net::Jabber::Loudmouth::MessageType)$sub_type(Net::Jabber::Loudmouth::MessageSubType)
messagenode = $message->get_node
grab the node, periodt π
messagesubtype = $message->get_sub_type
get the sub-type back out
messagetype = $message->get_type
and get the type. iconic trio, honestly π
π ENUMS AND FLAGS
enum Net::Jabber::Loudmouth::MessageSubType
all the sub-type glow-ups π :
'not-set'/LM_MESSAGE_SUB_TYPE_NOT_SET'available'/LM_MESSAGE_SUB_TYPE_AVAILABLE'normal'/LM_MESSAGE_SUB_TYPE_NORMAL'chat'/LM_MESSAGE_SUB_TYPE_CHAT'groupchat'/LM_MESSAGE_SUB_TYPE_GROUPCHAT'headline'/LM_MESSAGE_SUB_TYPE_HEADLINE'unavailable'/LM_MESSAGE_SUB_TYPE_UNAVAILABLE'probe'/LM_MESSAGE_SUB_TYPE_PROBE'subscribe'/LM_MESSAGE_SUB_TYPE_SUBSCRIBE'unsubscribe'/LM_MESSAGE_SUB_TYPE_UNSUBSCRIBE'subscribed'/LM_MESSAGE_SUB_TYPE_SUBSCRIBED'unsubscribed'/LM_MESSAGE_SUB_TYPE_UNSUBSCRIBED'get'/LM_MESSAGE_SUB_TYPE_GET'set'/LM_MESSAGE_SUB_TYPE_SET'result'/LM_MESSAGE_SUB_TYPE_RESULT'error'/LM_MESSAGE_SUB_TYPE_ERROR
enum Net::Jabber::Loudmouth::MessageType
and the main-character types π:
'message'/LM_MESSAGE_TYPE_MESSAGE'presence'/LM_MESSAGE_TYPE_PRESENCE'iq'/LM_MESSAGE_TYPE_IQ'stream'/LM_MESSAGE_TYPE_STREAM'stream-error'/LM_MESSAGE_TYPE_STREAM_ERROR'stream-features'/LM_MESSAGE_TYPE_STREAM_FEATURES'auth'/LM_MESSAGE_TYPE_AUTH'challenge'/LM_MESSAGE_TYPE_CHALLENGE'response'/LM_MESSAGE_TYPE_RESPONSE'success'/LM_MESSAGE_TYPE_SUCCESS'failure'/LM_MESSAGE_TYPE_FAILURE'proceed'/LM_MESSAGE_TYPE_PROCEED'starttls'/LM_MESSAGE_TYPE_STARTTLS'unknown'/LM_MESSAGE_TYPE_UNKNOWN
π SEE ALSO
go read these too, fr fr:
Net::Jabber::LoudmouthGlib::Boxed
π COPYRIGHT
Copyright (C) 2005 by Florian Ragwitz π«Ά
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page bestie!! π this one shipped with perl v5.42.3, dated 2026-08-20, from the User Contributed Perl Documentation crew, and it lives in section Net::J...Message(3pm) β slay, go forth and send messages π¦β¨
π¦ where this page comes from
- ubuntu stonking: libnet-jabber-loudmouth-perl 0.07-4build6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms