Answer the question
In order to leave comments, you need to log in
Error in VK API. How to fix?
There is such a code, judging by the logs (presented below), some parameter is missing, sort of like user_id, how to pull it out? And yet, what is the member_id, it is also indicated in the documentation, how to get it?
if event.object.text == "Кик":
vk.method("messages.removeChatUser", {"chat_id": event.object.peer_id-2000000000,
"user_id": event.obj.reply_message, "member_id": "user_id",
"random_id": random.randint(1, 2147483647)})
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