Room Events
Room promotions (ads), staff picks, room scoring, favoriting, and deletion.
C→S 3817 - RoomFavorite
Nitro:
ROOM_FAVORITESource:
RoomFavoriteEvent,AddFavouriteRoomMessageComposer
Adds a room to the user's favourites list.
Body: (empty)
C→S 309 - RoomUnFavorite
Nitro:
ROOM_FAVORITE_REMOVESource:
RoomUnFavoriteEvent,DeleteFavouriteRoomMessageComposer
Removes a room from the user's favourites list.
Body: (empty)
C→S 532 - RequestDeleteRoom
Nitro:
ROOM_DELETESource:
RequestDeleteRoomEvent,RoomDeleteComposer
Requests permanent deletion of a room owned by the user.
Body: (empty)
C→S 777 - BuyRoomPromotion
Nitro:
PURCHASE_ROOM_ADSource:
BuyRoomPromotionEvent,PurchaseRoomAdMessageComposer
Purchases a room promotion (ad), submitting the title, description, category, and target room.
Body:
pageId: int
itemId: int
roomId: int
title: string
extendedPromotion: boolean
description: string
C→S 1075 - RequestPromotionRooms
Nitro:
GET_ROOM_AD_PURCHASE_INFOSource:
RequestPromotionRoomsEvent,GetRoomAdPurchaseInfoComposer
Requests the list of the user's rooms eligible for a room ad purchase.
Body: (empty)
C→S 3991 - EditRoomPromotionMessage
Nitro:
EDIT_ROOM_EVENTSource:UpdateRoomPromotionEvent,EditEventMessageComposer
Requests editing of an existing room event/promotion message.
Body: (empty)
C→S 1918 - RoomStaffPick
Nitro:
ROOM_STAFF_PICKSource:
RoomStaffPickEvent,ToggleStaffPickMessageComposer
Toggles the staff-pick status for a room, sent by a moderator or admin.
Body: (empty)
C→S 3582 - RoomVote
Nitro:
ROOM_LIKESource:
RoomVoteEvent,RateFlatMessageComposer
Body:
(empty)
Casts a like/vote for the current room.
S→C 1840 - RoomEvent
Nitro:
ROOM_EVENTSource:RoomEventEvent
Room event (promotion) information.
| Field | Type | Notes |
|---|---|---|
| roomId | int | Room ID |
| name | string | Event name |
| description | string | Event description |
| startDate | int | Event start Unix timestamp |
| categoryId | int | Event category ID |
| duration | int | Event duration in minutes |
| hasHotelAd | boolean | Whether there is an associated hotel ad |
Delivers active room event/promotion details (name, description, category, start time, duration).
S→C 2468 - RoomAdPurchase
Nitro:
ROOM_AD_PURCHASESource:PromoteOwnRoomsListComposer,RoomAdPurchaseInfoEvent
| Field | Type | Notes |
|---|---|---|
| isVip | boolean | Whether the user has VIP status |
| count | int | Number of owned rooms |
| [count × roomId] | int | Room ID |
| [count × roomName] | string | Room name |
| [count × hasEvent] | boolean | Whether the room has an active event |
Delivers the list of the user's rooms eligible for room ad purchase, along with their VIP status.
S→C 3479 - RoomEventCancel
Nitro:
ROOM_EVENT_CANCELSource:RemoveRoomEventComposer,RoomEventCancelEvent
Sent when a room event (promotion) is cancelled.
| Field | Type | Notes |
|---|---|---|
| roomId | int | Room ID whose event was cancelled |
Notifies clients that a room event (promotion) has been cancelled, carrying the affected room ID.