Overview
Posts a new message to channelChannelMessageResult my$Domain.PostMessage(channelId: string, msg: ChannelMessage)
Arguments
string channelId
of message to process
ChannelMessage msg
object
Types
ChannelMessage
{
// Attachments of message
Attachments : Array<ChannelMessageAttachment>
// Content of message
Content : string
// Id of message
Id : string
// References to previously sent message id
References : Array<string>
// Subject of message
Subject : string
}
ChannelMessageAttachment
{
// Display name of attachment
displayName : string
// Extension of file if set to file type.
ext : string
// Id of attachment.
id : string
// Type of attachment.
type : ( "file" | "url" )
// Url of attachment
url : string
}