1AnyEvent::XMPP::Ext::MUUCs:e:rMeCsosnatgrei(b3u)ted PerlAnDyoEcvuemnetn:t:aXtMiPoPn::Ext::MUC::Message(3)
2
3
4

NAME

6       AnyEvent::XMPP::Ext::MUC::Message - A room message
7

SYNOPSIS

DESCRIPTION

10       This message represents a message from a MUC room. It is derived from
11       AnyEvent::XMPP::IM::Message. (You can use the methods from that class
12       to access it for example).
13
14       Also the methods like eg. "make_reply" return a
15       AnyEvent::XMPP::Ext::MUC::Message.
16

METHODS

18       new (%args)
19           This constructor takes the same arguments that the constructor for
20           AnyEvent::XMPP::IM::Message takes.
21
22       room
23           Returns the chatroom in which' context this message was sent.
24
25       send ([$room])
26           This method send this message. If $room is defined it will set the
27           connection of this message object before it is send.
28
29       make_reply ([$msg])
30           This method returns a new instance of
31           AnyEvent::XMPP::Ext::MUC::Message.  The destination address,
32           connection and type of the returned message object will be set.
33
34           If $msg is defined and an instance of
35           AnyEvent::XMPP::Ext::MUC::Message the destination address,
36           connection and type of $msg will be changed and this method will
37           not return a new instance of AnyEvent::XMPP::Ext::MUC::Message.
38
39           If $self is a message of type 'groupchat' the "to" attribute will
40           be set to the bare JID of the room for the reply.
41
42       from_nick
43           This method returns the nickname of the source of this message.
44
45       is_private
46           This method returns true when the message was not directed to the
47           room, but privately to you.
48

AUTHOR

50       Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
51
53       Copyright 2007, 2008 Robin Redeker, all rights reserved.
54
55       This program is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57
58
59
60perl v5.32.1                      2021-01-2A6nyEvent::XMPP::Ext::MUC::Message(3)
Impressum