I use “GET direct_messages/events/list” API call to get user’s DMs. What is the best way to make sure I refresh my DMs with this call?

Right now I keep maximum of “created_timestamp” of DMs I have seen so far, and only process DMs with timestamp after that. Is this the best way? Can I assume there will be no two DMs with the same “created_timestamp” values?

This is a good way, but

I would not assume this. You may have to double check using the IDs.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.