ENUM

ChatRestrictedReason

Reasons that a user might not be allowed to chat in a specific channel.

link GraphQL Schema definition

1enum ChatRestrictedReason {
2
3# The user is prevented from chatting without a verified phone number.
4# They will be prompted to verify one upon chatting.
5REQUIRE_VERIFIED_PHONE_NUMBER
6
7# The user is prevented from chatting by subscribers-only mode. They should
8# subscribe to the channel to chat.
9SUBSCRIBERS_ONLY
10
11# The user is prevented from chatting by followers-only mode. They should
12# either follow the channel, or wait longer to satisfy the required time.
13# See user.self.follower.followedAt for when the user followed, and
14# user.self.chatSettings.followersOnlyDurationMinutes for the minimum
15# required follow time.
16FOLLOWERS_ONLY
17
18# The user is prevented from chatting by verified-only mode. They should
19# verify their account to chat.
20VERIFIED_ONLY
21
22# The user can't chat because they've chatted too recently. See
23# user.self.lastRecentChatMessageAt to calculate how much time is remaining
24# before they can chat again.
25SLOW_MODE
26}