class_docstr: Send message using a DingTalk Custom Robot API.
  
  .. seealso::
      `How to get webhook token <https://open.dingtalk.com/document/robots/custom-robot-access>`__
  
  :param dingding_conn_id: Dingding connection id that has access token in the password field,
      and optional host name in host field, if host not set than default
      ``https://oapi.dingtalk.com`` will use.
  :param message_type: Message type you want to send to Dingding, support five type so far
      including ``text``, ``link``, ``markdown``, ``actionCard``, ``feedCard``.
  :param message: The message send to chat group
  :param at_mobiles: Remind specific users with this message
  :param at_all: Remind all people in group or not. If True, will overwrite ``at_mobiles``
class_docstr_tok: ["Send","message","using","a","DingTalk","Custom","Robot","API",".","..","seealso",":",":","`","How","to","get","webhook","token","<","https",":","\/\/open.dingtalk.com\/document\/robots\/custom-robot-access",">","`","__",":","param","dingding_conn_id",":","Dingding","connection","id","that","has","access","token","in","the","password","field",",","and","optional","host","name","in","host","field",",","if","host","not","set","than","default","``","https",":","\/\/oapi.dingtalk.com","``","will","use",".",":","param","message_type",":","Message","type","you","want","to","send","to","Dingding",",","support","five","type","so","far","including","``","text","``",",","``","link","``",",","``","markdown","``",",","``","actionCard","``",",","``","feedCard","``",".",":","param","message",":","The","message","send","to","chat","group",":","param","at_mobiles",":","Remind","specific","users","with","this","message",":","param","at_all",":","Remind","all","people","in","group","or","not",".","If","True",",","will","overwrite","``","at_mobiles","``"]
docstr: Overwrite HttpHook get_conn.
  
  We just need base_url and headers, and not don't need generic params.
  
  :param headers: additional headers to be passed through as a dictionary
docstr_tok: ["Overwrite","HttpHook","get_conn",".","We","just","need","base_url","and","headers",",","and","not","do","n't","need","generic","params",".",":","param","headers",":","additional","headers","to","be","passed","through","as","a","dictionary"]
code: def get_conn(self, headers: dict | None = None) -> Session:
      """Overwrite HttpHook get_conn.
  
      We just need base_url and headers, and not don't need generic params.
  
      :param headers: additional headers to be passed through as a dictionary
      """
      conn = self.get_connection(self.http_conn_id)
      self.base_url = (
          conn.host if conn.host else "https://oapi.dingtalk.com"
      )
      session = requests.Session()
      if headers:
          session.headers.update(headers)
      return session
  
file_path: airflow/airflow/providers/dingding/hooks/dingding.py
imports: from __future__ import annotations
  import json
  import requests
  from requests import Session
  from airflow.exceptions import AirflowException
  from airflow.providers.http.hooks.http import HttpHook
label_desc: Use image node_id 4 for calling the DingdingHook obj's underlying member method code with example usage: obj.get_conn(headers) and returns: session