parameters: (self)
return_statement: return {}
docstring: Get the livechat info dict (button text, channel name, ...) for the livechat channel of
              the current website.
docstring_summary: Get the livechat info dict (button text, channel name, ...) for the livechat channel of
              the current website.
docstring_tokens: Get the livechat info dict ( button text channel name ... ) for the livechat channel of the current website .
function: 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 {}
function_tokens: 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 { }