Freeze / Unfreeze Channel

1. Freeze Channel

Freezing a channel prevents all channel members (with the exception of channel owner) from sending messages.

  • Only the channel owner can freeze the channel.

  • Only the channel owner can send messages in a 'frozen' channel.

await TalkPlusAPI.freezeChannel(
    channelId,
    errorCallback: (errorCode, errorMessage){}
);

2. Unfreeze Channel

Unfreeze a channel so that any channel members can send messages.

Only the channel owner can unfreeze the channel.

await TalkPlusAPI.unfreezeChannel(
    channelId,
    errorCallback: (errorCode, errorMessage){}
);

Last updated