Bot

Ding Message Utils

the_utils.bot.notify(token: str = 'bb68fb0c27bef0f856b72b6301d024d5fa1aaacba2d6963d27d267c673dbdf8e', text: str = 'This is a test message', title: str = 'Come from the_utils', btn_orientation: str = '0', btns: List | None = None)[source]

Send messages to DingTalk.

Parameters:
  • text (str, optional) – Message text, supports markdown syntax. Defaults to “This is a test message”.

  • title (str, optional) – Message title. Defaults to “Come from the_utils”.

  • btn_orientation (str, optional) – Interactive button location. Defaults to ‘0’.

  • btns (List, optional) – Interactive button settings. Defaults to None.