K
K
Kirill2019-09-18 19:57:19
Python
Kirill, 2019-09-18 19:57:19

How to check if a bot has messages in VK?

I want to check for the presence of a message, but not the content of the message. How can I do it?
I use the vk-api library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0ralo, 2019-09-18
@kirilla39

If you use longpool, then when a message comes, add one to the counter, and when you read it, take it away)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question