Forum Discussion

ewan000's avatar
ewan000
Copper Contributor
Sep 16, 2021

msTeams chatMessage: delta doesn't pick up replies as changes

I'm attempting to use the graphapi for msTeams to archive some of our channels.

 

My problem is there doesnt seem to be a way of filtering requests to only get new messages and replies.

 

I can use the Get Channel Messages Delta to get new or modified messages on a channel, but adding a reply to a message doesnt seem to update its last modifed date, or include that message in future delta message requests.

 

I can use the Get Replies to Message, but I'm unable to filter by date.

 

This combination means I have to get all the messages every time I check the channel, and then query every one of them for _all_ their replies!

 

Is there a work around? Can adding a reply also be made to count as a message modification?

No RepliesBe the first to reply

Resources