ENUM

RedeemRitualTokenErrorCode

link GraphQL Schema definition

1enum RedeemRitualTokenErrorCode {
2
3# Token is not in a status that can be redeemed.
4TOKEN_NOT_AVAILABLE
5
6# Token does not exist.
7TOKEN_NOT_FOUND
8
9# User is not a follower and tried redeeming the token in a follower-only chat.
10FOLLOWER_ONLY_MODE_ENFORCEMENT_FAILED
11
12# User is not a subscriber and tried redeeming the token in a subs-only chat.
13SUB_ONLY_MODE_ENFORCEMENT_FAILED
14
15# User is banned in the channel.
16USER_CHAT_BANNED
17
18# User is timed out in the channel.
19USER_CHAT_TIMED_OUT
20}