S
S
samperirrrrr2020-12-12 18:12:02
Python
samperirrrrr, 2020-12-12 18:12:02

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

1 answer(s)
L
LouisPython, 2020-12-12
@samperirrrrr

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 question

Ask a Question

731 491 924 answers to any question