telegram_framework.python_telegram_bot package
Submodules
telegram_framework.python_telegram_bot.actions module
telegram_framework.python_telegram_bot.adapters module
- telegram_framework.python_telegram_bot.adapters.adapt_data(update, handler_function, bot, *args, **kwargs)[source]
telegram_framework.python_telegram_bot.bots module
- telegram_framework.python_telegram_bot.bots.register_call_handler(bot: Updater, handler: Callable, call_data: str, filter_function: Callable = None)[source]
- Parameters:
bot – Updater
handler – функция-обработчик
call_data – callback_data кнопки
filter_function – -> bool для фильтрации
- telegram_framework.python_telegram_bot.bots.register_command_handler(bot: Updater, handler: Callable, name: str, filter_function=None)[source]
- telegram_framework.python_telegram_bot.bots.register_message_handler(bot: Updater, handler: Callable, filter_function: Callable = <function <lambda>>)[source]
- telegram_framework.python_telegram_bot.bots.register_next_step_handler(bot: Updater, chat, handler: Callable)[source]