code: def send_snippet(self, comment, title, content):
      try:
          request_body = dict(
              channels=self._channel_id,
              initial_comment=f"<{self._to_user}> {comment}"
              if self._to_user
              else comment,
              content=content,
              title=title,
          )
          response = self._client.api_call(
              "files.upload", data=request_body
          )
          if not response["ok"]:
              raise FileNotUploadedError(
                  f'Error while uploading file. The error reason is "{response["error"]}".'
              )
      except Exception as e:
          logger.warning(f"Failed to send slack notification: {e}")
  
file_path: gokart/gokart/slack/slack_api.py
imports: from logging import getLogger
  import slack_sdk
label_desc: Use image node_id 3 for calling the SlackAPI obj's underlying member method code with example usage: obj.send_snippet(comment, title, content) without return types