Microsoft Teams (Lite) icon

Microsoft Teams (Lite)

Consume Microsoft Teams API in a admin friendly way (Lite)

Actions11

Channel Message → Get

AI-generated

Summary

Retrieve a single message from a Microsoft Teams channel.

Inputs

  • teamId (required) — Select the team from the list, by URL, or by ID (the ID is the groupId parameter in the URL you get from Get a link to the team)
  • channelId (required) — Select the channel from the list, by URL, or by ID (the ID is the threadId in the URL)
  • messageId (required) — The ID of the message to retrieve (e.g. 1673355049064)

Output shape

object

The message object returned by the Microsoft Graph API at GET /v1.0/teams/{teamId}/channels/{channelId}/messages/{messageId}. If the message does not exist, the node throws an error.

Examples

Example 1: Get a specific message by ID from a known team and channel

Set Team via list/URL/ID, set Channel via list (depends on Team), set Message ID as a string value.

Links

Discussion