Answer the question
In order to leave comments, you need to log in
What is the correct way to use getUpdates?
How can I use the getUpdates method so that it only returns unread messages?
Like now:
{"ok": true, "result": [{...},{...}, {...}, {...}, {...}, {...} , {...}, {...}]}
(All messages read and unread here)
As I want:
{"ok": true, "result": [{...}, {...} ]}
(These two messages have not yet been read)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question