ENUM

RoomRole

DEPRECATED Describes the role a user must be in order to perform an action, such as sending messages. Roles are hierarchical, so users that meet a role also meet all lower roles as well. For example, a moderator meets the subscriber role, even if they are not subscribed to the channel. Roles are defined in order from highest to lowest in the enum.

link GraphQL Schema definition

1enum RoomRole {
2
3# The channel owner.
4BROADCASTER@deprecated( reason: "The Rooms product has been sunset" )
5
6# A moderator for the channel.
7MODERATOR@deprecated( reason: "The Rooms product has been sunset" )
8
9# A subscriber of the channel.
10SUBSCRIBER@deprecated( reason: "The Rooms product has been sunset" )
11
12# All users.
13EVERYONE@deprecated( reason: "The Rooms product has been sunset" )
14}