Answer the question
In order to leave comments, you need to log in
How to make logic for a bot?
Hello everyone, how to make a bot in VK. To edit photos. Is it possible to do so, I don’t know, it may sound strange. Is it possible to make a bot that can upload a photo to it and choose what effect you need for the photo, and the bot, for example, uploads the photo to the site and processes it on the site, and then the bot sends the processed photo back to the user in VK.
It sounds strange), if you can do this, where to start?
Answer the question
In order to leave comments, you need to log in
For example, through longpoll/callback (just right in your case) api to receive bot events, check the command text and whether there is a photo in the message, download, edit with pillow and upload back. About editing you can
Walk articles on how to build bots for VK.
Read the VK documentation: check what is possible and impossible, how to do it right, etc.
Then think about how you will process the images. Implement the necessary logic in the bot...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question