Answer the question
In order to leave comments, you need to log in
How to make the bot reply to messages (reply)?
The messages.send method has a reply_to parameter, but this parameter does not work for me, it gives the following error:
vk_api.exceptions.ApiError: [100] One of the parameters specified was missing or invalid: reply_to not integer
def chatsenderreply(id, text):
vk.method("messages.send", {"chat_id": id, "message": text,"reply_to": event.object.message.(from_id), "random_id": 0})
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