H
H
HDefalt2019-06-19 17:51:34
Python
HDefalt, 2019-06-19 17:51:34

How to accept forwarded vk_api python3 message?

It is required in the bot to implement the processing of the forwarded message. To work with longpole I use either https://vk-api.readthedocs.io/en/latest/index.html. The object in the event array is accessed like event.object.text , but to access the forwarded message, you need to access event.object.fwd_messages.0.text , which python does not allow. What can be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yakushenko, 2019-06-19
@HDefalt

event.object.fwd_messages[0].text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question