Answer the question
In order to leave comments, you need to log in
How to get vk conversation participants via vk api?
yes-yes-yes, I know: go read the documentation.
was reading.
I write like this:
for event in longpoll.listen():
if event.type == VkBotEventType.MESSAGE_NEW:
if event.object.peer_id != event.object.from_id:
if event.object.text.lower() == "text ":
mems = vk.method(messages.getConversationMembers, {"peer_id": event.object.peer_id})
The console outputs:
[917] You don't have access to this chat
Bot responds to messages, has access to all correspondence.
What to do?
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