我正在尝试找出一种机制(某种监听机制),每当群组成员发送消息时,该机制就可以从 Teams Chat 群组中获取消息。
尝试通过 API 调用来获取消息 ID,但这没有帮助,因为它是请求响应 API 调用。
https://teams.microsoft.com/l/message//
您可以使用: 使用 Microsoft Graph 获取 Teams 频道和聊天中消息的更改通知。
参考文档:https://learn.microsoft.com/en-us/graph/teams-changenotifications-chatmessage#example-2-subscribe-to-messages-and-replies-in-a-channel-that-contain -某些文本