CreateChannelInput
Create a channel in an app.
input CreateChannelInput {
appId: BigInt!
name: String!
description: String
membershipPolicy: String
membersCanSend: Boolean
}
Fields
CreateChannelInput.appId ● BigInt! non-null scalar
The app (tenant) the channel belongs to.
CreateChannelInput.name ● String! non-null scalar
Display name for the channel (max 128 chars; unique per app+type).
CreateChannelInput.description ● String scalar
Optional free-text description of the channel.
CreateChannelInput.membershipPolicy ● String scalar
open | request | invite | admin. Defaults to the app policy.
CreateChannelInput.membersCanSend ● Boolean scalar
When true (default), new members are auto-granted send_messages so they can post (open chat channel). When false, only roles you grant may post (announce/read-only channel).
Member Of
createChannel mutation