rasa/core/channels/channel.py
async def send_custom_message(self,
                                  recipient_id: Text,
                                  elements: Iterable[Dict[Text, Any]]) -> None:
        """Sends elements to the output.

        Default implementation will just post the elements as a string."""

        for element in elements:
            element_msg = "{title} : {subtitle}".format(
                title=element.get('title', ''),
                subtitle=element.get('subtitle', ''))
            await self.send_text_with_buttons(
                recipient_id, element_msg, element.get('buttons', []))
Sends elements to the output.

        Default implementation will just post the elements as a string.
Sends elements to the output.
Default implementation will just post the elements as a string.
Sends elements to the output . Default implementation will just post the elements as a string .
async def send_custom_message(self,
                                  recipient_id: Text,
                                  elements: Iterable[Dict[Text, Any]]) -> None:
        for element in elements:
            element_msg = "{title} : {subtitle}".format(
                title=element.get('title', ''),
                subtitle=element.get('subtitle', ''))
            await self.send_text_with_buttons(
                recipient_id, element_msg, element.get('buttons', []))
async def send_custom_message ( self , recipient_id : Text , elements : Iterable [ Dict [ Text , Any ] ] ) -> None : for element in elements : element_msg = "{title} : {subtitle}" . format ( title = element . get ( 'title' , '' ) , subtitle = element . get ( 'subtitle' , '' ) ) await self . send_text_with_buttons ( recipient_id , element_msg , element . get ( 'buttons' , [ ] ) )
Sends elements to the output.
Sends elements to the output .
"""Sends elements to the output.

        Default implementation will just post the elements as a string."""
self
recipient_id
Text
elements
Iterable[Dict[Text, Any]]