ChatRoomUserHelper Methods |
The ChatRoomUserHelper type exposes the following members.
Name | Description | |
---|---|---|
IncreaseChatAdminLevel |
Increases admin level of specified user in specified room to specified level.
This means that admin level is changed only if current level of this user is lower than new one.
| |
JoinUserToRoom |
Adds (joins) user to this room. If user is already online, it does nothing.
It sets user's LastChecking to Now.
| |
KickUserFromRoom |
Kicks user from this room. His KickExpiration is set to DateTime.Now + number of seconds specified in settings.
| |
KickUserPermanentlyFromRoom |
Kicks user permanently from this room.
He is deleted from db and from memory. He can enter again only after receiving another invitation.
| |
LeaveRoom |
Removes (leaves) chat user from this room.
| |
LeaveRoomPermanently |
Removes user permanently from this room. This means, that he has to be invited again to enter it.
In public rooms it does the same as classic LeaveRoom().
| |
SetChatAdminLevel |
Sets admin level of specified user in specified room to specified level.
|