ENUM

GrantVIPErrorCode

GrantVIPErrorCode defines a client error that occurred while granting the VIP status.

link GraphQL Schema definition

1enum GrantVIPErrorCode {
2
3# The channel does not exist.
4CHANNEL_NOT_FOUND
5
6# The granter does not have permission to grant VIP status in this channel.
7FORBIDDEN
8
9# The user who is to be granted the VIP status actually already has the VIP
10# status.
11GRANTEE_ALREADY_VIP
12
13# The user who is to be granted the VIP status is banned or timed out in this
14# channel.
15GRANTEE_CHAT_BANNED
16
17# The user who is to be granted the VIP status does not exist.
18GRANTEE_NOT_FOUND
19
20# The channel has reached the maximum number of users with the VIP status and
21# cannot grant the status to any more users.
22MAX_VIPS_REACHED
23
24# The channel has not completed the VIP Achievement to unlock the VIP feature.
25VIP_ACHIEVEMENT_INCOMPLETE
26}