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

File main.py

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

Source from the content-addressed store, hash-verified

1"""
2In this example you will learn how to adapt your bot to different languages
3Using built-in middleware I18N.
4

Callers

nothing calls this directly

Calls 9

StateMemoryStorageClass · 0.90
TeleBotClass · 0.90
TextMatchFilterClass · 0.90
_Function · 0.85
runMethod · 0.80
I18NMiddlewareClass · 0.70
setup_middlewareMethod · 0.45
add_custom_filterMethod · 0.45
infinity_pollingMethod · 0.45

Tested by

no test coverage detected