7
message.send
Kristóf Tóth edited this page 2019-12-19 15:46:40 +01:00
- Description: Sends a message to the chat bot.
- Subscribers: FrontendProxyHandler, MessagesComponent
{
"key": "message.send"
}
Parameter | Type | Required | Description |
---|---|---|---|
message | string |
✔️ | Body of the message, should be Markdown compatible. |
originator | string |
Name of the sender. | |
wpm | number |
Tunes typing speed based on words per minute. | |
typing | boolean |
Displays typing indicator when true. | |
command | json |
Send this message to the TFW server when the message is clicked. |
Example:
{
"key": "message.send",
"originator": "Brian Kernighan",
"message": "hello, world"
}