Plain messages are simplest of the message types and are supported by all channels.
The body should be in JSON format and include the following properties:
|
Property |
Desc. |
|---|---|
|
type - String - Required |
Value = "PLAIN" |
|
markdownText - String - Optional |
Contains custom plain text message sent by end user. |
Bash
"body": {
"type": "PLAIN",
"markdownText": "Hi"
}