Create channel type
This command creates a new channel type. The ‘properties’ are raw JSON string. The available properties can be found in the Go SDK’s ‘ChannelType’ struct.
stream-cli chat create-channel-type --properties [raw-json-properties] [flags]
# Create a new channel type called my-ch-type
$ stream-cli chat create-channel-type -p "{\"name\": \"my-ch-type\"}"
# Create a new channel type called reactionless with reactions disabled
$ stream-cli chat create-channel-type -p "{\"name\": \"reactionless\", \"reactions\": false}"
-h, --help help for create-channel-type
-p, --properties string [required] Raw JSON properties
--app string [optional] Application name to use as it's defined in the configuration file
--config string [optional] Explicit config file path