chat

Get the global chat room

Returns the global chat room, auto-joining the caller on first fetch. otherMembers is always empty for the global room (its membership is the entire userbase); memberCount carries the total instead. Subscribe to the returned channelName for real-time messages.

get/v1/chat/rooms/global

Response

Successful response

idstring required
type'dm' | 'group' | 'swap' | 'duel' | 'clan' | 'post' required
typeIdstring nullable required
typeNamestring nullable required
visibility'public' | 'private' required
namestring nullable required
imageUrlstring nullable required
channelNamestring required
createdAtstring required
unreadCountinteger required
lastReadAtstring required
lastReadMessageIdstring nullable
mutedboolean required
isPinnedboolean
pinnedAtstring nullable
isArchivedboolean
archivedAtstring nullable
status'accepted' | 'pending' | 'declined'
myRole'owner' | 'admin' | 'member'
isBannedboolean
memberCountinteger

Changes

Changed in 2 of the 23 revisions of this API.8

    • added the required property lastMessage/anyOf[subschema #1]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property lastMessage/anyOf[subschema #1]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property otherMembers/items/user/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property otherMembers/items/user/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property recentMessages/items/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property recentMessages/items/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the optional property lastMessage/anyOf[subschema #1]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property recentMessages/items/mentioned_clans to the response with the 200 status

      response-optional-property-added