logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AnyEvent::XMPP::Ext::MUC::User - User class

Author

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

Description

       This module represents a user (occupant) handle for a MUC.  This class is derived from
       AnyEvent::XMPP::Presence as a user has also a presence within a room.

Methods

new(%args)nick
           The nickname of the MUC user.

       affiliation
           The affiliation of the user.

       role
           The role of the user.

       room
           The AnyEvent::XMPP::Ext::MUD::Room this user is in.

       in_room_jid
           The room local JID of the user.

       real_jid
           The real JID of the user, this might be undef if it is an anonymous room.

       make_message(%args)
           Returns a AnyEvent::XMPP::Ext::MUC::Message object with the to field set to this presence full JID.

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

       did_create_room
           This method returns true if the user created a room.

Name

       AnyEvent::XMPP::Ext::MUC::User - User class

Synopsis

See Also