Skip to Content
MosaicMosaicDocs
Tool Reference

DeleteChannelMessage

Delete a channel message or thread reply.

Starter documentation. Features and account details may differ from this deployment.

DeleteChannelMessage

Delete a channel message or thread reply. The channel keeps a 'message deleted' placeholder; this cannot be undone. Users can delete their own messages and messages sent by bots; channel admins and owners can delete any message. Find message ids with ReadChannelMessages or ReadChannelThread. Use only when the user explicitly asks to delete a message.

Parameters

ParameterTypeRequiredDescription
channelIdstringYesChannel id containing the message.
messageIdstringYesId of the message to delete.

On this page