Answer the question
In order to leave comments, you need to log in
How to find out the user_id of a forwarded message?
Help, how to find out the user_id of the forwarded message?
Programming language - Python
Module - vk_api.longpoll VkLongPoll, VkEventType
Please help
Answer the question
In order to leave comments, you need to log in
I won’t give out the code in python, but if the only question is how to find out it in general, then:
Judging by the fact that we are talking about user_id, you are using the API version before 5.80. In this case, you need to catch events like `message_new`. In the event object there will be -> `message` object -> `fwd_messages` array -> `user_id` at the array element will be the desired value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question