Skip to main content
Version: 5.2.3

Dingtalk (Dingding)

钉钉 use Incoming Webhooks whose constructs typically support both text and markdown, and can be configured as follows:

Due to system limitations try to use keyword or IP address whitelist mechanism to receive messages.

Text format​

{
"msgtype": "text",
"text": {
"content": "#{@title}\n\n安装地址#{@install_url}\nUplaod at: #{@uploaded_at}"
}
}

Markdown format​

The title field is only displayed in the dialog list, the text field is displayed for the chat content entering the dialog.

{
"msgtype": "markdown",
"markdown": {
"title": @title,
"text": "## #{@title}\nPlatform: #{@device_type}\nUplaod at: #{@uploaded_at}\nInstall QRcode:\n![qrcode](#{@qrcode_url})"
}
}