Messenger Interfaces#

dff.messengers.telegram.message

This module implements inherited classes dff.script.core.message modified for usage with Telegram.

dff.messengers.telegram.interface

This module implements various interfaces for TelegramMessenger that can be used to interact with the Telegram API.

dff.messengers.telegram.utils

This module contains utilities for connecting to Telegram.

dff.messengers.common.interface

The Message Interfaces module contains several basic classes that define the message interfaces. These classes provide a way to define the structure of the messengers that are used to communicate with the DFF.

dff.messengers.common.types

The Types module contains special types that are used throughout the DFF Messengers.

dff.messengers.telegram.messenger

The Messenger module provides the TelegramMessenger class. The former inherits from the TeleBot class from the pytelegrambotapi library. Using it, you can put Telegram update handlers inside your script and condition your transitions accordingly.