notice
This is documentation for Rasa Open Source Documentation v2.1.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.2.x).
Version: 2.1.x
rasa.core.channels.telegram
TelegramOutput Objects
class TelegramOutput(Bot, OutputChannel)
Output channel for Telegram
send_text_with_buttons
| async 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: https://core.telegram.org/bots#keyboards
: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