简体   繁体   中英

telegram stop and block bot telethon

Sorry for my English, I hope you can understand me. The crux of the problem is this. I am using telethon library and it suits me. In Telegram, in the application, there is such a function as "block the bot" and "delete the bot" . Deleting a bot is easy, there is a client.delete_dialog method and this method works. But I could not block. After deletion, the bot throws spam further on me. Maybe someone knows how to do this?

As it turned out, there is a raw method BlockRequest, so the issue was resolved. Thanks. The strange thing is that I reviewed all the methods but did not find it. enter link description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM