INPUT_OBJECT

BanUserFromChatRoomInput

link GraphQL Schema definition

1input BanUserFromChatRoomInput {
3
2bannedUserLogin: String!
5
4channelID: ID!
13
6# This argument accepts a string specifying a duration.
7# It takes a succession of a number (positive integer) and a time unit, one of:
8# s[econd[s]], m[inute[s]], h[our[s]], d[ay[s]], w[eek[s]], mo[nth[s]].
9# Number/unit pairs can be contiguous or separated by spaces.
10# Valid examples: "3d4h" "11 minutes" "2month", "1s", "12 second"
11# If not provided, target is banned permanently.
12expiresIn: String
16
14# The reason that the user has been banned or timed out.
15reason: String
17}