Skip to content

Microsoft Teams — add List Channel Messages action #20472

@s0s0physm

Description

@s0s0physm

Is there a specific app this action is for?
Microsoft Teams

Please provide a link to the relevant API docs for the specific service / operation.
https://learn.microsoft.com/en-us/graph/api/channel-list-messages

Problem

The app file has a listChannelMessages method that calls GET /teams/{teamId}/channels/{channelId}/messages, but it is not wired to any action. An agent can list channels and chats but cannot read the message history of a channel. The existing List Messages in Chat action only covers 1:1 and group chats, not team channels.

What's needed

Add a List Channel Messages action that accepts teamId and channelId as inputs and calls the existing listChannelMessages method. Return message id, body.content, from.user.displayName, and createdDateTime. Support pagination via $top and $skip parameters.

Notes

  • The listChannelMessages method already exists in the app file — this just needs an action wrapper
  • teamId and channelId props already have options defined
  • Channel messages require the ChannelMessage.Read.All delegated permission in Microsoft Graph

[PIPE-38]

Metadata

Metadata

Assignees

Labels

HIGH PRIORITYPIPE-SNactionNew Action RequestenhancementNew feature or requesttriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions