N
N
nickname11112020-01-30 13:34:06
Python
nickname1111, 2020-01-30 13:34:06

How to implement user input in the Callback API for the VKontakte bot?

Hello!
I need an analogue of event.text (from longpool)
To do something like this:
wikipedia.summary(event.text) - for searching
The command should look like this:
User - Wiki Moscow
Bot - *gives brief information about Moscow*

Thanks in advance for your help .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2020-01-30
@nickname1111

And what's the problem, callback returns a regular json, print it or write it down once, and then parse it by indexes.
https://github.com/python273/vk_api/blob/master/ex...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question