mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update flooding_middleware.py
This commit is contained in:
parent
b292b275cb
commit
60a23665cb
@ -1,8 +1,7 @@
|
|||||||
# Just a little example of middleware handlers
|
# Just a little example of middleware handlers
|
||||||
|
|
||||||
from telebot.asyncio_handler_backends import BaseMiddleware
|
from telebot.asyncio_handler_backends import BaseMiddleware, CancelUpdate
|
||||||
from telebot.async_telebot import AsyncTeleBot
|
from telebot.async_telebot import AsyncTeleBot
|
||||||
from telebot.async_telebot import CancelUpdate
|
|
||||||
bot = AsyncTeleBot('TOKEN')
|
bot = AsyncTeleBot('TOKEN')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user