join(self,
room,
nick,
handler,
password=None,
history_maxchars=None,
history_maxstanzas=None,
history_seconds=None,
history_since=None)
Create and return a new room state object and request joining
to a MUC room. -
- Parameters:
room -
the name of a room to be joined
(type=JID )
nick -
the nickname to be used in the room
(type=unicode )
handler -
is an object to handle room events.
(type=MucRoomHandler )
password -
password for the room, if any
(type=unicode )
history_maxchars -
limit of the total number of characters in
history.
(type=int )
history_maxstanzas -
limit of the total number of messages in
history.
(type=int )
history_seconds -
send only messages received in the last
history_seconds seconds.
(type=int )
history_since -
Send only the messages received since the
dateTime specified (UTC).
(type=datetime.datetime )
- Returns:
-
the room state object created.
(type=MucRoomState )
|