Answer the question
In order to leave comments, you need to log in
How to make the "/ban" command to a bot in telegram?
Library "Aiogram"
How to write a ban command for a bot so that, for example, using the command "/ban @ some person" a person is banned in the chat. It can also be done with time. Like "/ban @people 10 h(hours)"
Only please, if you write part of the code, then say where and how you need to insert it so that I don’t think again all day that yes how)
Maybe somehow I explained it wrong , if anything, correct or ask. Ready for any help
Answer the question
In order to leave comments, you need to log in
Everything you need is here.
https://docs.aiogram.dev/en/dev-3.x/api/methods/ba...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question