This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.x).

Version: Master/Unreleased


TelegramOutput Objects

class TelegramOutput(TeleBot, OutputChannel)

Output channel for Telegram.


async def send_text_with_buttons(recipient_id: Text, text: Text, buttons: List[Dict[Text, Any]], button_type: Optional[Text] = "inline", **kwargs: Any, ,) -> None

Sends a message with keyboard.

For more information:

:button_type inline: horizontal inline keyboard

:button_type vertical: vertical inline keyboard

:button_type reply: reply keyboard

TelegramInput Objects

class TelegramInput(InputChannel)

Telegram input channel


def get_output_channel() -> TelegramOutput

Loads the telegram channel.