A
A
Arsen Dulaev2022-01-27 19:34:09
Python
Arsen Dulaev, 2022-01-27 19:34:09

How to create a randomizer bot?

Good day. I recently started learning Python, I only know the basics.
It is necessary to implement a bot in Telegram that should send one of the many photos of a certain type.
Essence:

  1. The user clicks on the button with the name of the type (Profession, character, biology)
  2. In response, a random picture is sent from a folder of the selected type on the computer


I am using telebot library.
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2022-01-27
@raijin57

It is necessary to implement a bot in Telegram that should send one of the many photos of a certain type.

After conferring with the elders of the toaster, we have made an important decision! We allow you to implement a bot in Telegram that should send one of the many photos of a certain type.
Wow, no thanks needed...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question