INPUT_OBJECT

NewChannelUserInput

Params for creating a new channel user.

link GraphQL Schema definition

  • input NewChannelUserInput {
  • # The admin status in the channel. Will default to false if not set.
  • admin: Boolean
  • # Id of the user to add to the channel.
  • id: ID!
  • # Only an app admin has the ability to set this. For all other users,
  • # this will be set to `INVITED`.
  • membership: ChannelMembership
  • # The users read permission in the channel. Will default to the
  • # channel setting depending on the type of the channel.
  • read: Boolean
  • # The users write permission in the channel. Will default to the
  • # channel setting depending on the type of the channel.
  • write: Boolean
  • }