product:chat
Create channel type
Creates new channel type
post/channeltypes
Request body
automod'disabled' | 'simple' | 'AI' required
Automod. One of: disabled, simple, AI
automod_behavior'flag' | 'block' required
Automod behavior. One of: flag, block
blockliststring
Blocklist
blocklist_behavior'flag' | 'block' | 'shadow_block'
Blocklist behavior. One of: flag, block, shadow_block
commandsstring[]
List of commands that channel supports
connect_eventsboolean
Connect events
count_messagesboolean
Count messages in channel.
custom_eventsboolean
Custom events
delivery_eventsboolean
grantsobject
List of grants for the channel type
mark_messages_pendingboolean
Mark messages pending
max_message_lengthinteger required
Max message length
message_retentionstring
Message retention. One of: infinite, numeric
mutesboolean
Mutes
namestring required
Channel type name
partition_sizeinteger
Partition size
partition_ttlstring duration nullable
Partition TTL
pollsboolean
Polls
push_level'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'
Default push notification level for the channel type. One of: all, all_mentions, mentions, direct_mentions, none
push_notificationsboolean
Push notifications
reactionsboolean
Reactions
read_eventsboolean
Read events
repliesboolean
Replies
searchboolean
Search
shared_locationsboolean
Enables shared location messages
skip_last_msg_update_for_system_msgsboolean
typing_eventsboolean
Typing events
uploadsboolean
Uploads
url_enrichmentboolean
URL enrichment
user_message_remindersboolean
Example request
{
"partition_ttl": "24h"
}Response
Successful response
allowed_flag_reasonsstring[]
automod'disabled' | 'simple' | 'AI' required
automod_behavior'flag' | 'block' | 'shadow_block' required
blockliststring
blocklist_behavior'flag' | 'block' | 'shadow_block'
commandsstring[] required
connect_eventsboolean required
count_messagesboolean required
created_atstring date-time required
custom_eventsboolean required
delivery_eventsboolean required
durationstring required
grantsobject required
mark_messages_pendingboolean required
max_message_lengthinteger required
mutesboolean required
namestring required
partition_sizeinteger
partition_ttlstring duration nullable
pollsboolean required
push_level'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'
push_notificationsboolean required
quotesboolean required
reactionsboolean required
read_eventsboolean required
remindersboolean required
repliesboolean required
searchboolean required
shared_locationsboolean required
skip_last_msg_update_for_system_msgsboolean required
typing_eventsboolean required
updated_atstring date-time required
uploadsboolean required
url_enrichmentboolean required
user_message_remindersboolean required
Example response
{
"partition_ttl": "24h"
}