2026-06-15 23:53:30 +08:00

68 lines
1.9 KiB
Go

package roomadmin
type listQuery struct {
Page int
PageSize int
Keyword string
Status string
RegionID int64
SortBy string
SortDirection string
}
type roomPinListQuery struct {
Keyword string
Page int
PageSize int
PinType string
RegionID int64
Status string
}
type robotRoomListQuery struct {
Page int
PageSize int
Status string
}
type createRobotRoomRequest struct {
OwnerRobotUserID int64 `json:"ownerRobotUserId"`
CandidateRobotUserIDs []int64 `json:"candidateRobotUserIds"`
MinRobotCount int32 `json:"minRobotCount"`
MaxRobotCount int32 `json:"maxRobotCount"`
RoomName string `json:"roomName"`
RoomAvatar string `json:"roomAvatar"`
VisibleRegionID int64 `json:"visibleRegionId"`
GiftIDs []string `json:"giftIds"`
LuckyGiftIDs []string `json:"luckyGiftIds"`
NormalGiftIntervalMS int64 `json:"normalGiftIntervalMs"`
LuckyComboMin int64 `json:"luckyComboMin"`
LuckyComboMax int64 `json:"luckyComboMax"`
LuckyPauseMinMS int64 `json:"luckyPauseMinMs"`
LuckyPauseMaxMS int64 `json:"luckyPauseMaxMs"`
}
type createRoomPinRequest struct {
DurationDays int64 `json:"durationDays"`
ExpiresAtMS int64 `json:"expiresAtMs"`
PinType string `json:"pinType"`
PinnedAtMS int64 `json:"pinnedAtMs"`
RoomID string `json:"roomId"`
Weight int64 `json:"weight"`
}
type updateRoomRequest struct {
CoverURL *string `json:"coverUrl"`
CloseReason *string `json:"closeReason"`
Description *string `json:"description"`
Mode *string `json:"mode"`
Status *string `json:"status"`
Title *string `json:"title"`
VisibleRegionID *int64 `json:"visibleRegionId"`
}
type updateRoomConfigRequest struct {
AllowedSeatCounts []int32 `json:"allowedSeatCounts"`
DefaultSeatCount int32 `json:"defaultSeatCount"`
}