Chat SDKs JavaScript v4
Chat SDKs JavaScript
Chat SDKs
JavaScript
Version 4
Freeze and unfreeze a channel
Copy link
Open channels and group channels can be frozen and unfrozen. When a channel is frozen, only the operators can send messages to the channel and users aren't allowed to chat.
Open channels can be frozen only by using Chat API or on Sendbird Dashboard. To freeze an open channel, go to Chat > Open channels on the dashboard, select an open channel, and click the Freeze icon at the upper right corner. To unfreeze, select the frozen channel and click the Freeze icon again.
Group channels can be frozen by operators using the Chat SDK as shown below.
JavaScriptTypeScript