deeppavlov/core/agent/rich_content.py
def telegram(self) -> list:
        """Returns list of Telegram compatible states of the RichMessage
        instance nested controls.

        Returns:
            telegram_controls: Telegram representation of RichMessage instance nested
                controls.
        """
        telegram_controls = [control.telegram() for control in self.controls]
        return telegram_controls
def telegram(self) -> list:
        """Returns list of Telegram compatible states of the RichMessage
        instance nested controls.

        Returns:
            telegram_controls: Telegram representation of RichMessage instance nested
                controls.
        """
        telegram_controls = [control.telegram() for control in self.controls]
        return telegram_controls
Returns list of Telegram compatible states of the RichMessage
        instance nested controls.

        Returns:
            telegram_controls: Telegram representation of RichMessage instance nested
                controls.