Skip to main content
Version: 5.0.0

Wecom (Wechat Work)

企业微信 use Incoming Webhooks whose constructs typically support both text and markdown, and can be configured as follows:

Text format

{
"msgtype": "text",
"text": {
"content": "#{@title}\n\nInstall url:#{@install_url}\nUplaod at: #{@uploaded_at}"
}
}

Markdown format

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