Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 621 Bytes

dingtalk.rst

File metadata and controls

29 lines (22 loc) · 621 Bytes

DingTalk

Send DingTalk Robot notifications

Minimal example:

>>> from notifiers import get_notifier
>>> dingtalk = get_notifier('dingtalk')
>>> dingtalk.notify(access_token='token', msg_data={'msgtype': 'text', 'text':{'content': 'Hi there!'}})

Full schema:

additionalProperties: false
properties:
  access_token:
    title: your access token
    type: string
  msg_data:
    title: your message definition
    type: object
required:
- access_token
- msg_data
type: object