createChannel

Function

create channel

Parameters

Parameter Type Default Notes
options Required ICreateChannelParams

Returns

{Promise}

Promise<IChannel>
Property Type Notes
access SharingAccess
acl IChannelAcl
allowAnonymous boolean
allowReaction boolean
allowReply boolean
allowedReactions PostReaction[] | null
blockWords string[] | null
defaultPostStatus PostStatus
groups string[]
id string
name string | null
orgs string[]
softDelete boolean
createdAt Inherited Date
creator Inherited string
editor Inherited string
updatedAt Inherited Date
posts Optional IPost[]

Function defined in discussions/src/channels/channels.ts:41