def kick(self, roomJID, nick, reason=None, sender=None):
    '\n        Kick a user from a MUC room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param nick: The occupant to be banned.\n        @type nick: C{unicode}\n\n        @param reason: The reason given for the kick.\n        @type reason: C{unicode}\n\n        @param sender: The entity sending the request.\n        @type sender: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '
    return self._setRole(roomJID, nick, 'none', reason=reason, sender=sender)
Kick a user from a MUC room.

@param roomJID: The bare JID of the room.
@type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}

@param nick: The occupant to be banned.
@type nick: C{unicode}

@param reason: The reason given for the kick.
@type reason: C{unicode}

@param sender: The entity sending the request.
@type sender: L{JID<twisted.words.protocols.jabber.jid.JID>}
def kick(self, roomJID, nick, reason=None, sender=None):
    '\n        Kick a user from a MUC room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param nick: The occupant to be banned.\n        @type nick: C{unicode}\n\n        @param reason: The reason given for the kick.\n        @type reason: C{unicode}\n\n        @param sender: The entity sending the request.\n        @type sender: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '
    return self._setRole(roomJID, nick, 'none', reason=reason, sender=sender)