Send message to dingtalk.
Please access https://developers.dingtalk.com/document/app/message-type for more more details.
(def access-token "1fe1840503d9cb76277a48d79e9aa629ee6519e6437cd4aeeef194659ef4703a") (def secret "SEC0068c84057217b3b8a32eeaa31d64b5c492116f431a7b641fa5558380661c81b") (setup-dingtalk access-token secret)
(send-text-msg! "This is a test.")
(send-link-msg! "EXAMPLE" "This is a description for the link message" "https://dbd0040.blob.core.windows.net/images/Example_MyTicket.jpg" "https://myticket.co.uk/artists/example")
(send-markdown-msg! "首屏会话透出的展示内容" "# 这是支持markdown的文本
列表1 ")
(send-action-card! "是透出到会话列表和通知的文案" "支持markdown格式的正文内容" "查看详情" "https://open.dingtalk.com")
Send message to dingtalk. Please access https://developers.dingtalk.com/document/app/message-type for more more details. # Setup (def access-token "1fe1840503d9cb76277a48d79e9aa629ee6519e6437cd4aeeef194659ef4703a") (def secret "SEC0068c84057217b3b8a32eeaa31d64b5c492116f431a7b641fa5558380661c81b") (setup-dingtalk access-token secret) # Send text message (send-text-msg! "This is a test.") # Send link message (send-link-msg! "EXAMPLE" "This is a description for the link message" "https://dbd0040.blob.core.windows.net/images/Example_MyTicket.jpg" "https://myticket.co.uk/artists/example") # Send markdown message (send-markdown-msg! "首屏会话透出的展示内容" "# 这是支持markdown的文本 ## 标题2 * 列表1 ![alt 啊](https://img.alicdn.com/tps/TB1XLjqNVXXXXc4XVXXXXXXXXXX-170-64.png)") # Send action card message (send-action-card! "是透出到会话列表和通知的文案" "支持markdown格式的正文内容" "查看详情" "https://open.dingtalk.com")
No vars found in this namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close