Instant Messaging operations
This category contains operations related to instant messaging functionality that can be used in a bot.
Send message
Writes a text message to the given chat. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Message text | String | Content of the message to send. This property supports usage of internal bot variables. |
Send question
Writes a text message to the given chat and defines a set of available auto-response buttons. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Message text | String | Content of the message to send. This property supports usage of internal bot variables. |
| Response options | String[] |
Set of available auto-responses specified manually or loaded from a text file. A button is displayed for each auto-response in the runtime chat room UI. Note that responding using such a button is not mandatory, a user can write any other text in the chat. |
Send file
Sends an attachment to the given chat. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| File path | String |
Full URI path to the file for sending. This property supports usage of internal bot variables. The specified path is relative to the following directory. |
| File type | String | Extension of the file for sending. This extension is used to determine which app can open the corresponding file on the mobile device or in the PC. By default, the extension of the selected file is used. This property supports usage of internal bot variables. |
Send email
Sends an email to the configured SMTP server. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Subject | String | Subject of the email to send. This property supports usage of internal bot variables. |
| Body | String |
Content of the email in the Text or HTML format. This property supports usage of internal bot variables. |
| Priority | Enum |
Priority assigned to the email |
| Recipient list | Set |
List of email addresses where the email should be sent. This property supports usage of internal bot variables. |
| Cc | Set |
List of email addresses that will receive a copy of the email. This property supports usage of internal bot variables. |
| Bcc | Set |
List of email addresses that will receive a hidden copy of the email. This property supports usage of internal bot variables. |
| Attachments | Set |
List of absolute or relative Uri paths to attachment files for sending. This property supports usage of internal bot variables. The specified paths are relative to the following directory. |
For email to be sent, an outgoing SMTP server must be configured.