go
go copied to clipboard
get only unread messages
Hi!
I've just started with Go and want to rewrite my bot (php-code). So far I get messages and mark them as read without a problem. But I don't see any way to get only unread messages.
On php I'm using the next_batch with the count of unread messages per room (rooms/
I've seen next_batch in the source, but still don't get how I can use it >.<
How do I achieve this? :)