L
L
LotusColen2021-06-21 16:52:47
Python
LotusColen, 2021-06-21 16:52:47

How to output data from the database to the telegram bot?

It is necessary that the bot send information from the database when the user enters a command.
Library - aiogram. The database is sqlite3.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stefan, 2021-06-21
@MEDIOFF

In the command handler, go to the database, pull out the info, and send it to the user.
You most likely want to learn the basics, since such tasks raise questions for you, in particular, questions related to working with the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question