Answer the question
In order to leave comments, you need to log in
How to extract a digital ID from a replied message?
How to extract digital id from a reply message?
user_ide = event.obj["reply_message"]["from_id"] It will pull out a letter ID, but I need a numeric ID.
vk_api library
Answer the question
In order to leave comments, you need to log in
user_ide = event.obj["reply_message"]["id"]
The official VK API documentation ( https://vk.com/dev ) says that id(type: integer) is the message identifier.
And it is desirable to specify what kind of ID you need? ID messages or user?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question