ChannelMessageCreateRequest
ChannelMessageCreateRequest =
object
Request object for creating a new message in a channel.
Properties
attachmentTokenUris?
optionalattachmentTokenUris:string[]
Optional array of upload token URIs for file attachments. These are the temporary tokens returned by the client file picker (rootClient.asset.fileUpload()). In practice, apps rarely use this field since messages with attachments are typically sent directly from the client.
channelId
channelId:
ChannelGuid
The ID of the channel where the message will be created. Required.
content?
optionalcontent:string
The text content of the message. Optional if attachments are provided.
needsParentMessageNotification?
optionalneedsParentMessageNotification:boolean
Optional boolean indicating whether to notify the authors of the parent messages. Defaults to false if not specified.
parentMessageIds?
optionalparentMessageIds:MessageGuid[]
Optional array of message IDs that this message is replying to.