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]
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
listChannelMessagesmethod that callsGET /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
teamIdandchannelIdas inputs and calls the existinglistChannelMessagesmethod. Return messageid,body.content,from.user.displayName, andcreatedDateTime. Support pagination via$topand$skipparameters.Notes
listChannelMessagesmethod already exists in the app file — this just needs an action wrapperteamIdandchannelIdprops already have options definedChannelMessage.Read.Alldelegated permission in Microsoft Graph[PIPE-38]