当前位置:网站首页>Push markdown format information to the nailing robot
Push markdown format information to the nailing robot
2022-06-24 22:59:00 【Woodcutter song leaves the forest】
1. Customize robot settings
Customize the configuration of the robot according to the official open document of nailing , The document address is : Custom robot access - Nail open platform (dingtalk.com)

2.Markdown Push form
- Markdown type

- Parameter description
3.Markdown Image format
Markdown Can be used in url Push connected pictures , The format is :, Attention should be paid to : this url The connection address can be obtained from a third party ( Such as oss) obtain , It can also be used locally apache2 establish http The server generates itself , Please refer to another blog post for the generation method and process “ Use apache2 establish http The server generates images url".
If you need to be in Markdown Introduce variables into , You can add... Before the text string “f", And add curly brackets to the variables to be introduced in the string to indicate , namely f"{ Variable name }/n/n". Note here , If you are introducing "f" You need to bold the subsequent strings (** String to be bold **), You need to use the bold string ** after , add to “/n", Otherwise, the message pushed by nail is on the mobile phone APP End display exception ( The computer side is normal )
text = {
"msgtype": "markdown",
"markdown": {
"title": " Warning ",
"text": "#### ** Message alert ** @all \n"
f"> ** Time :**\n{t0}\n\n"
f"> ** type :**\n{type}\n\n"
f"> ** Alarm information :**\n{reason}\n\n"
f"> \n\n"
f"> ###### {t0} Release \n"
},
"at": {
"atMobiles": [
],
"atUserIds": [
],
"isAtAll": True
}
}
边栏推荐
- LeetCode Algorithm 剑指 Offer II 027. 回文链表
- LeetCode Algorithm 剑指 Offer 52. 两个链表的第一个公共节点
- 关于某手滑块的一些更新(6-18,js逆向)
- 【軟件工程】期末重點
- How to submit the shopee opening and settlement flow?
- 2022-06-16 工作记录--JS-判断字符串型数字有几位 + 判断数值型数字有几位 + 限制文本长度(最多展示n个字,超出...)
- Envoy obtain the real IP address of the client
- 剑指 Offer 13. 机器人的运动范围
- [untitled]
- Servlet
猜你喜欢

Environment configuration | vs2017 configuring openmesh source code and environment

Leetcode: calculate the number of elements less than the current element on the right (sortedlist+bisect\u left)

Development specification - parameter verification exception, exception return prompt section
![[Wuhan University] information sharing of the first and second postgraduate entrance examinations](/img/ec/884e656a921e20a5679a2960c9ac4d.jpg)
[Wuhan University] information sharing of the first and second postgraduate entrance examinations

【文本数据挖掘】中文命名实体识别:HMM模型+BiLSTM_CRF模型(Pytorch)【调研与实验分析】

canvas 实现图片新增水印

Nuscenes -- remedies for missing image files or 0-size images encountered during dataset configuration

Vulnhub Vegeta: 1

Learn more about the practical application of sentinel
![[postgraduate entrance examination English] prepare for 2023, learn list9 words](/img/2d/9ff691c9ff50fba2df73f726db26f2.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list9 words
随机推荐
EPICS记录参考3 -- 所有记录都有的字段
ThreadLocal local thread
Solve the problem of port occupation
加分利器 不负所托 | 知道创宇获攻防演练防守方感谢信!
开发规范~参数校验异常、异常返回提示切面
vulnhub Vegeta: 1
go Cobra命令行工具入门
The difference between interceptor and filter
Servlet
Stop using it indiscriminately. This is the real difference between @validated and @valid!!!
Basic principles of layer 2 switching
LeetCode Algorithm 剑指 Offer II 027. 回文链表
Source code reading | the process of reading text format STL by openmesh
Sword finger offer 13 Range of motion of robot
Recommended course: workplace writing training
Design and implementation of spark offline development framework
It's hard to hear C language? Why don't you take a look at my article (7) input and output
Beijiafu (p+f) R2000 modified radar IP
The extra points and sharp tools are worthy of the trust | know that Chuangyu won the letter of thanks from the defense side of the attack and defense drill!
Epics record reference 3 -- fields common to all records