Skip to content

createChannel

createChannel(data, context?): Channel

Defined in: packages/structures/src/channels.ts:120

Builds the most specific channel class for a payload’s type, falling back to Channel for types without a dedicated class.

APIChannel

ResourceContext

Channel