Send Message to Channel

Send a message to channel in Microsoft Teams.

Input

Field Definition Type Required

Team

ID Unique identifier of the team.

Text

TRUE

Channel

ID Unique identifier of the channel.

Text

TRUE

Message

Content Content of the message.

Text

TRUE

Output

Field Definition Type

Response

ID Unique identifier of the message.

Text

ETag Version number of the chat message.

Text

Message Type Type of chat message. The default setting is message.

Text

Created Date and Time Timestamp of when the chat message was created.

Date & Time

Subject Subject of the chat message.

Text

Summary Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat.

Text

Importance Importance of the chat message. The possible values are: normal, high, urgent.

Text

Locale Locale of the chat message set by the client. Always set to en-us.

Text

Web URL Link to the message in Microsoft Teams.

Text

From Details of the sender of the chat message. Can only be set during migration.

Object

Body Plain text/HTML representation of the content of the chat message.

Object

Channel Identity If the message was sent in a channel, represents identity of the channel.

Object

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Microsoft Teams connector

Workflow elements

Guidance for Microsoft Teams connector

Microsoft Teams API overview