v1

latestOpenAPI 3.0.32026-07-14116331388.2 KB
Channels

Update channel

Change channel data

post/channels/{type}/{id}

Path parameters

Request body

accept_inviteboolean

Set to true to accept the invite

add_moderatorsstring[] required

List of user IDs to make channel moderators

cooldownnumber

Sets cool down period for the channel in seconds

demote_moderatorsstring[] required

List of user IDs to take away moderators status from

hide_historyboolean

Set to true to hide channel's history when adding new members

reject_inviteboolean

Set to true to reject the invite

remove_membersstring[] required

List of user IDs to remove from the channel

skip_pushboolean

When message is set disables all push notifications for it

user_idstring

Response

Successful response

durationstring required

Duration of the request in human-readable format