def chat(self, occupantJID, body):
    '\n        Send a private chat message to a user in a MUC room.\n\n        See: http://xmpp.org/extensions/xep-0045.html#privatemessage\n\n        @param occupantJID: The Room JID of the other user.\n        @type occupantJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '
    message = PrivateChat(recipient=occupantJID, body=body)
    self.send(message.toElement())
Send a private chat message to a user in a MUC room.

See: http://xmpp.org/extensions/xep-0045.html#privatemessage

@param occupantJID: The Room JID of the other user.
@type occupantJID: L{JID<twisted.words.protocols.jabber.jid.JID>}
def chat(self, occupantJID, body):
    '\n        Send a private chat message to a user in a MUC room.\n\n        See: http://xmpp.org/extensions/xep-0045.html#privatemessage\n\n        @param occupantJID: The Room JID of the other user.\n        @type occupantJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '
    message = PrivateChat(recipient=occupantJID, body=body)
    self.send(message.toElement())