rasa/core/dispatcher.py
async def utter_button_message(self,
                                   text: Text,
                                   buttons: List[Dict[Text, Any]],
                                   **kwargs: Any) -> None:
        """Sends a message with buttons to the output channel."""
        # Adding the text and data (buttons) to the latest bot messages
        bot_message = BotMessage(text=text,
                                 data={"buttons": buttons})

        self.latest_bot_messages.append(bot_message)
        await self.output_channel.send_text_with_buttons(self.sender_id, text,
                                                         buttons,
                                                         **kwargs)
Sends a message with buttons to the output channel.
Sends a message with buttons to the output channel.
Sends a message with buttons to the output channel .
async def utter_button_message(self,
                                   text: Text,
                                   buttons: List[Dict[Text, Any]],
                                   **kwargs: Any) -> None:
        bot_message = BotMessage(text=text,
                                 data={"buttons": buttons})
        self.latest_bot_messages.append(bot_message)
        await self.output_channel.send_text_with_buttons(self.sender_id, text,
                                                         buttons,
                                                         **kwargs)
async def utter_button_message ( self , text : Text , buttons : List [ Dict [ Text , Any ] ] , ** kwargs : Any ) -> None : bot_message = BotMessage ( text = text , data = { "buttons" : buttons } ) self . latest_bot_messages . append ( bot_message ) await self . output_channel . send_text_with_buttons ( self . sender_id , text , buttons , ** kwargs )
Sends a message with buttons to the output channel.
Sends a message with buttons to the output channel .
"""Sends a message with buttons to the output channel.""" # Adding the text and data (buttons) to the latest bot messages
self
text
Text
buttons
List[Dict[Text, Any]]
kwargs
Any