Skip to content

SocialChannelRemovingNotification

Published before a channel is removed. Cancel it to keep the channel.

The following properties are available within the notification

Property Name Type Use
Channel SocialChannel The channel about to be removed.
Messages EventMessages Add the message to show when you cancel.
Cancel bool Set to true to cancel without a message.

Call CancelOperation(new EventMessage(category, message, EventMessageType.Error)). The channel is kept, and the result is channel.cancelled:<message>.

The notification isn’t published for a channel that doesn’t exist or is already removed (channel.unknown).