Skip to Content
MosaicMosaicDocs
Tool Reference

SendChannelMessage

Send or reply to a channel on behalf of the user.

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

SendChannelMessage

Send or reply to a channel on behalf of the user. Only use this when explicitly asked to send a message. To send an image or video, first upload it with CreateChannelMediaUpload (where available) and pass the returned attachment here; to attach a Mosaic document, pass its document ID.

Parameters

ParameterTypeRequiredDescription
contentstringYesMessage content in mosaic markdown format. This uses the same syntax as markdown documents. May be empty when attachments are sent.
channel_idstringYesThe channel id to send the message to
thread_idstringNoAn optional thread id to reply too
attachmentsChannelMessageAttachmentInput[]NoOptional images, videos, or documents to attach, at most 10. Upload media before sending; a media attachment whose upload has not finished shows as broken.

On this page