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})"
}
}