Skip to main content

createChannel

Create a channel. Whether the caller may create one is governed by the per-app channel policy (app_group_policies: admin | member | anyone). The caller becomes the owner with a system 'leader' role. When membersCanSend is true (default) a default 'member' role granting send_messages is created and auto-assigned to joiners (open chat channel); when false only roles you grant may post (announce/read-only channel).

createChannel(
input: CreateChannelInput!
): Group!

Arguments

createChannel.input ● CreateChannelInput! non-null input

The app, the channel name, optional description / membership policy, and the membersCanSend flag.

Type

Group object

A generic group. groupType discriminates teams ('team'), channels ('channel'), and grid-access groups ('grid').