Answer the question
In order to leave comments, you need to log in
Vk API gives an error. How to fix?
Greetings. Now I wrote a function to remove a user from a conversation on a forwarded message.
Here is the function itself:
def kikuser():
vk.method("messages.removeChatUser", {"peer_id": event.object.peer_id, "user_id": event.obj.reply_message, "random_id": 0})
Answer the question
In order to leave comments, you need to log in
in the messages.removeChatUser method, the parameter is called chat_id, and you just need to specify the conversation id without two billion
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question