L
L
lil.fxrrx2021-05-09 20:26:59
Python
lil.fxrrx, 2021-05-09 20:26:59

VK_API, how to get @id from user mention?

Longpoll 5.80
I want to get @id5... from this mention of [id5555555|@id5], how can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MinTnt, 2021-05-09
@mxrdxfxrrx

https://vk.com/dev/users.get
In the returned data, there will be an ID parameter with the required data. Fields does not need to be specified for this purpose, since additional data is not needed from the problem statement.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question