Send message to MS Teams channel
This activity allows you to send a message to an MS Teams Channel and supports sending action cards, HTML, etc. If you provide a channel name that doesn't exist, it will create a new channel; otherwise, it will send the message to the existing channel. For Azure permissions, refer to the Microsoft Azure Integration section.
Parameters | Description |
---|---|
ChannelName |
Name of the MS Teams Channel to which the message has to be sent. |
ChannelMessage |
A message to be displayed inside the channel. MS Teams can handle multiple message types, including action cards. |
ChannelDescription |
A description of the channel. This is used when a new channel is created. |
TeamsId |
The team's ID of the directory where the channel exists or will be created. Refer to the Retrieve the Teams ID section for instructions on how to obtain the Teams ID. |
UserConnection |
Graph connection for the user sending the message into the channel. |
AppConnection |
An application-based Graph connection that is used to search for whether the channel name provided exists. |
Parameters | Description |
---|---|
StatusCode |
Return the HTTP code based on the result. For example, 200 indicates success. |
Success |
Indicates whether the activity was completed successfully (value = True) or not (value = False). |
Body |
JSON payload of the response returned by the API. |