# Namespace: muc

## QB.chat. muc

### Methods

#### staticQB.chat.muc.join(dialogIdOrJid, callback)

modules/chat/qbChat.js, line 1879
  Join to the group dialog(read more).

  Name | Type | Description
  --- | --- | ---
  `dialogIdOrJid` | String | Use dialog jid or dialog id to join to this dialog.
  `callback` | joinMacCallback | The callback function.

#### staticQB.chat.muc.leave(dialogJid, callback)

modules/chat/qbChat.js, line 1964
  Leave group chat dialog(read more).

  Name | Type | Description
  --- | --- | ---
  `dialogJid` | String | Use dialog jid to leave to this dialog.
  `callback` | leaveMacCallback | The callback function.

#### staticQB.chat.muc.listOnlineUsers(dialogJid, callback)

modules/chat/qbChat.js, line 2007
  Leave group chat dialog(read more).

  Name | Type | Description
  --- | --- | ---
  `dialogJid` | String | Use dialog jid to get a list of online usersr in this dialog.
  `callback` | listOnlineUsersMacCallback | The callback function.