---
name: "AnyEvent::XMPP::Ext::MUC::User"
section: "3pm"
platform: "linux"
package: "perl-anyevent-xmpp"
version: "0.55-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/AnyEvent::XMPP::Ext::MUC::User"
---

# AnyEvent::XMPP::Ext::MUC::User(3pm)

User class

## NAME

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

## SYNOPSIS

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

## AUTHOR

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

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