MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / antiflood_middleware.py

File antiflood_middleware.py

examples/middleware/class_based/antiflood_middleware.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Just a little example of middleware handlers
2
3from telebot.handler_backends import BaseMiddleware
4from telebot import TeleBot

Callers

nothing calls this directly

Calls 4

TeleBotClass · 0.90
SimpleMiddlewareClass · 0.70
setup_middlewareMethod · 0.45
infinity_pollingMethod · 0.45

Tested by

no test coverage detected