SendChatMessage
Sends a new message to a specified chat thread in Microsoft Teams, supporting text and rich content.
Input
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat where the message is sent. Required to route the message to the correct conversation. |
| ContentType | String | False | Format of the message content to be sent. Common values include text, html, and markdown. |
| Content | String | True | Main body of the message to be sent in the chat, formatted according to the specified ContentType. |
| Importance | String | False | Priority level of the message. Supported values include low, normal, and high. Default is normal.
The allowed values are normal, high, urgent. |
| Mention | String | False | Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate pairs. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2. |
| Attachment | String | False | Comma-separated AttachmentContentType and AttachmentContentUrl pairs. For multiple attachments, use semicolons to separate pairs. Example: AttachmentContentType1, AttachmentContentUrl1; AttachmentContentType2, AttachmentContentUrl2. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the message was successfully sent to the chat. Returns true if successful, false otherwise. |