rasa/core/dispatcher.py
async def utter_custom_message(self, *elements: Dict[Text, Any]) -> None:
        """Sends a message with custom elements to the output channel."""

        bot_message = BotMessage(text=None,
                                 data={"elements": elements})

        self.latest_bot_messages.append(bot_message)
        await self.output_channel.send_custom_message(self.sender_id, elements)
Sends a message with custom elements to the output channel.
Sends a message with custom elements to the output channel.
Sends a message with custom elements to the output channel .
async def utter_custom_message(self, *elements: Dict[Text, Any]) -> None:
        bot_message = BotMessage(text=None,
                                 data={"elements": elements})
        self.latest_bot_messages.append(bot_message)
        await self.output_channel.send_custom_message(self.sender_id, elements)
async def utter_custom_message ( self , * elements : Dict [ Text , Any ] ) -> None : bot_message = BotMessage ( text = None , data = { "elements" : elements } ) self . latest_bot_messages . append ( bot_message ) await self . output_channel . send_custom_message ( self . sender_id , elements )
Sends a message with custom elements to the output channel.
Sends a message with custom elements to the output channel .
"""Sends a message with custom elements to the output channel."""
self
elements
Dict[Text, Any]