OBJECT

Room

DEPRECATED. A chatroom associated with a channel where members of the room can exchange messages.

link GraphQL Schema definition

1type Room {
2
3# UUID of the room.
4id: ID! @deprecated( reason: "The Rooms product has been sunset" )
5
6# Whether the room can be read by non-members and logged out users.
7isPreviewable: Boolean! @deprecated( reason: "The Rooms product has been sunset" )
8
9# Paginated list of members of the chatroom.
10members(
11first: Int,
12after: Cursor
13): RoomMemberConnection @deprecated( reason: "The Rooms product has been sunset" )
14
15# List of messages to the room, in reverse chronological order. If fromTime is
16# used, that time is used
17# as the cursor instead of after/before.
18messages(
19first: Int,
20after: Cursor,
21last: Int,
22before: Cursor,
23fromTime: Time
24): RoomMessageConnection @deprecated( reason: "The Rooms product has been sunset" )
25
26# Minimum role required to join the room. For example, in a sub room, subs can
27# join,
28# but also the broadcaster, mods, and staff.
29minimumAllowedRole: RoomRole! @deprecated( reason: "The Rooms product has been sunset" )
30
31# Room modes (e.g. slow mode).
32modes: RoomModes @deprecated( reason: "The Rooms product has been sunset" )
33
34# The name of the room (e.g. subs-only).
35name: String! @deprecated( reason: "The Rooms product has been sunset" )
36
37# The user the room belongs to.
38owner: User! @deprecated( reason: "The Rooms product has been sunset" )
39
40# rolePermissions describes the role necessary to perform actions in the room.
41rolePermissions: RoomRolePermissions @deprecated( reason: "The Rooms product has been sunset" )
42
43# Returns the current user's settings for the room.
44self: RoomView @deprecated( reason: "The Rooms product has been sunset" )
45
46# The room topic (e.g. "serious discussion only").
47topic: String @deprecated( reason: "The Rooms product has been sunset" )
48
49}