Answer the question
In order to leave comments, you need to log in
How to get user id from reply_message?
Hello, I used to work with a page bot and there were no problems with reply_message. Now I switched to a bot for the group and I had a problem with it.
On the page bot, the script was like this:
x = vk.messages.getById(message_ids=event.message_id)
reply = x["items"][0]["reply_message"]
get_id = vk.method("messages.getById", {"message_ids": event.message_id})
reply = get_id["items"][0]["reply_message"]
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