简体   繁体   中英

Microsoft-Teams Get all messages channel with their replies through Graph API

Is there a way to retrieve all messages with their replies in one request?
From what I read to retrieve replies of messages we need to make this request:

GET /teams/{id}/channels/{id}/messages/{id}/replies/{id}

But it does not seem efficient to read through every message and check if it has replies.

We will get to this (hopefully by mid 2019) but it won't be via a per-message flag that tells you whether you need to make another call. Rather, we will support a $expand parameter that will fetch a set of messages and their replies (likely within a specified time range or since a certain timestamp).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM