IntegrationsMicrosoft teamsActions
Post Microsoft Teams chat message
Post a message to a chat as the connected user.
chat_messages.post · Microsoft Teams · v1
Details
Scopes
ChatMessage.Send
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
chat_id | string | Yes | minLength 1; maxLength 128 |
body_content | string | Yes | minLength 1; maxLength 28000 |
body_content_type | string | Yes | enum text | html |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | — |
body_content | string | Yes | — |
body_content_type | string | Yes | enum text | html |
from_user_id | string | No | — |
created_at | string | No | — |
web_url | string | No | — |
reply_to_id | string | No | — |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"chat_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"body_content": {
"type": "string",
"minLength": 1,
"maxLength": 28000
},
"body_content_type": {
"type": "string",
"enum": [
"text",
"html"
]
}
},
"required": [
"chat_id",
"body_content",
"body_content_type"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"body_content": {
"type": "string"
},
"body_content_type": {
"type": "string",
"enum": [
"text",
"html"
]
},
"from_user_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"web_url": {
"type": "string"
},
"reply_to_id": {
"type": "string"
}
},
"required": [
"id",
"body_content",
"body_content_type"
]
}