ENUM

SendRoomMessageErrorCode

link GraphQL Schema definition

1enum SendRoomMessageErrorCode {
2
3# User not allowed to chat in room.
4FORBIDDEN
5
6# Message failed automod check.
7AUTO_MOD_ENFORCEMENT_FAILED
8
9# Room is in emotes only mode and message contained non-emote text.
10EMOTE_ONLY_MODE_ENFORCEMENT_FAILED
11
12# Room is in R9K mode and message was not unique.
13R9K_MODE_ENFORCEMENT_FAILED
14
15# User is rate limited.
16RATE_LIMIT_FAILED
17
18# Room is in slow mode and user tried to send a message to quickly.
19SLOW_MODE_ENFORCEMENT_FAILED
20
21# Message failed spam check.
22SPAM_ENFORCEMENT_FAILED
23
24# Message contained zalgo characters.
25ZALGO_ENFORCEMENT_FAILED
26
27# User is banned in the channel.
28USER_CHAT_BANNED
29
30# User is timed out in the channel.
31USER_CHAT_TIMED_OUT
32
33# User is suspended from Twitch.
34USER_SUSPENDED
35}