Update Channel
Update Channel
PUT
https://api.talkplus.io/v1.4/api/channels/:channelId
You can enter up to 5 key-value pairs in data field. The maximum size of key is 128 characters and the maximum size of value is 1024 characters. Both key and value must be strings.
Path Parameters
Name | Type | Description |
---|---|---|
channelId* | string |
Headers
Name | Type | Description |
---|---|---|
content-type | string | application/json |
app-id* | string | App ID |
api-key* | string | App API key |
Request Body
Name | Type | Description |
---|---|---|
name | string | channel name |
ownerId | string | channel owner |
invitationCode | string | Required if channel type is 'invitationOnly' |
imageUrl | string | channel image URL |
data | object | key-value data |
maxMemberCount | number | maximum number of members allowed. - super channel: default: -1 (unlimited), min: 1, max: 100. - the rest: default: 100, min: 1, max: 100 |
hideMessagesBeforeJoin | boolean | whether to hide from new member messages that were sent before new member joining |
category | string | used as filter during search. max length: 32 characters |
subcategory | string | extra filter used along with category. max length: 32 characters |
Last updated