You can teach your bot to detect what is in the photo. This function can be used for example in channels or chats. To define objects in pictures, you can use the Clarifai service. Below is the code for the Clarifai client in Python.

The telegram bot code with the image detection function is below.

An example of a dialogue with a bot that recognizes what is in the image
An example of a dialogue with a bot that recognizes what is in the image

You can check it yourself by sending a photo to the @Porphyry_bot in Telegram

23