ChatRoomHelperConvertRoomToData Method |
Name | Description | |
---|---|---|
ConvertRoomToData(ChatRoomInfo) |
Makes ChatRoomData from information contained in ChatRoomInfo. User is considered as non anonymous here.
Property IsRemoved is set based on:
- if room is disabled, IsRemoved is true
- if user is anonymous and room does not allow anonymous users, IsRemoved is set to true
- otherwise it is set to false
| |
ConvertRoomToData(RoomState) |
Makes ChatRoomData from information contained in ChatRoomInfo. User is considered as non anonymous here.
Property IsRemoved is set based on:
- if room is disabled, IsRemoved is true
- if user is anonymous and room does not allow anonymous users, IsRemoved is set to true
- otherwise it is set to false
| |
ConvertRoomToData(ChatRoomInfo, Boolean) |
Makes ChatRoomData from information contained in ChatRoomInfo.
Property IsRemoved is set based on:
- if room is disabled, IsRemoved is true
- if user is anonymous and room does not allow anonymous users, IsRemoved is set to true
- otherwise it is set to false
If room is removed, its values are not set. Only RoomID and IsRemoved = true are returned.
| |
ConvertRoomToData(RoomState, Boolean) |
Makes ChatRoomData from information contained in ChatRoomInfo.
Property IsRemoved is set based on:
- if room is disabled, IsRemoved is true
- if user is anonymous and room does not allow anonymous users, IsRemoved is set to true
- otherwise it is set to false
|