Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Message Id's are known to change on move/copy/etc... But are they ever repeated?

Lets say I run the request GET https://graph.microsoft.com/v1.0/me/messages

I get back a list of Message objects. According to the documentation here

id (string) - Unique identifier for the message (note that this value may change if a message is moved or altered)

However, is this id ever repeated? Currently I am making a scheduling plugin that saves some message draft id to a database before attempting to send it at some specified later date

I know that if the message is moved or altered that the id will no longer be valid. But would it ever accidently point to a new (but different) message?

In other words, are the ids every reused?

like image 375
AlanSTACK Avatar asked Dec 06 '25 15:12

AlanSTACK


2 Answers

The ID property is a compound value which, among other things, includes the message's path and it's unique identifier. This is why the ID will change when a message is moved to another folder but still maintain a unique value.

like image 76
Marc LaFleur Avatar answered Dec 09 '25 04:12

Marc LaFleur


No. Ids are never repeated as far as I can say.

like image 33
Yogesh Avatar answered Dec 09 '25 05:12

Yogesh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!