(self)
return {}
Get the livechat info dict (button text, channel name, ...) for the livechat channel of
            the current website.
Get the livechat info dict (button text, channel name, ...) for the livechat channel of
            the current website.
Get the livechat info dict ( button text channel name ... ) for the livechat channel of the current website .
def get_livechat_channel_info(self):
        """ Get the livechat info dict (button text, channel name, ...) for the livechat channel of
            the current website.
        """
        self.ensure_one()
        if self.channel_id:
            livechat_info = self.channel_id.sudo().get_livechat_info()
            if livechat_info['available']:
                livechat_request_session = self._get_livechat_request_session()
                if livechat_request_session:
                    livechat_info['options']['chat_request_session'] = livechat_request_session
            return livechat_info
        return {}
def get_livechat_channel_info ( self ) : self . ensure_one ( ) if self . channel_id : livechat_info = self . channel_id . sudo ( ) . get_livechat_info ( ) if livechat_info [ 'available' ] : livechat_request_session = self . _get_livechat_request_session ( ) if livechat_request_session : livechat_info [ 'options' ] [ 'chat_request_session' ] = livechat_request_session return livechat_info return { }