INPUT_OBJECT

ModUserInput

ModUserInput contains the parameters to add a user as a moderator to a channel.

link GraphQL Schema definition

1input ModUserInput {
4
2# The channel that the user will be added as a moderator to.
3channelID: ID!
8
5# The ID of the user that will be added as a moderator.
6# Either targetID or targetLogin must be provided.
7targetID: ID
12
9# The login of the user that will be added as a moderator.
10# Either targetID or targetLogin must be provided.
11targetLogin: String
13}