D
D
Dmitry2018-07-10 10:10:49
API
Dmitry, 2018-07-10 10:10:49

How to make a request for whether a VK user has allowed him to write messages?

In general, there is a problem, there is a web application. If a person has once allowed a notification, we want to remove the widget button.
5b445b9e0cfc3605313349.png
It is clear that for this you need to make a request about the status: whether this user has allowed it or not.
According to the documentation, I did not understand how to do this using the message_allow event.
It says:

In the Callback API and the Bots Longpoll API, the message_allow and message_deny events will help you track whether messages from the community are allowed or denied. Please note that you cannot get a list of all users who have allowed messages to the community through the API, you must store and synchronize this list on your side.

So it's not clear how to do this "tracking fact"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-07-10
@liggth

messages.isMessagesFromGroupAllowed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question