H
H
heartpart2022-03-28 12:14:51
SQLite
heartpart, 2022-03-28 12:14:51

How to block a user until a certain time in a telegram bot?

I'm trying to write a telegram bot using the TeleBot library. How to block a user until a certain time? Let's say the administrator enters the user's nickname, the reason, and then the blocking time (In hours), also so that after the time expires, the user is unblocked.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question