Merge branch 'master' of github.com:naiba/nezha
This commit is contained in:
		
						commit
						a1e38051fc
					
				@ -104,6 +104,14 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
 | 
				
			|||||||
      - 请求类型: JSON
 | 
					      - 请求类型: JSON
 | 
				
			||||||
      - Body: `{"appToken":"你的appToken","topicIds":[],"content":"#NEZHA#","contentType":"1","uids":["你的uid"]}`
 | 
					      - Body: `{"appToken":"你的appToken","topicIds":[],"content":"#NEZHA#","contentType":"1","uids":["你的uid"]}`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - telegram示例 @haitau 贡献
 | 
				
			||||||
 | 
					      - 备注:telegram机器人消息通知
 | 
				
			||||||
 | 
					      - URL:https://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&text=#NEZHA#
 | 
				
			||||||
 | 
					      - 请求方式: GET
 | 
				
			||||||
 | 
					      - 请求类型: 默认
 | 
				
			||||||
 | 
					      - Body: 空
 | 
				
			||||||
 | 
					      - URL参数获取说明:botXXXXXX 中的 XXXXXX 是在 telegram中关注官方 @Botfather ,输入/newbot ,创建新的机器人(bot)时,会提供的 token(在提示Use this token to access the HTTP API:后面一行)这里 'bot' 三个字母不可少。创建 bot 后,需要先在 telegram中与BOT进行对话(随便发个消息),然后才可用 API发送消息。YYYYYY 是 telegram 用户的数字 ID。与机器人@userinfobot 对话可获得。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2. 添加一个离线报警
 | 
					2. 添加一个离线报警
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - 备注:离线通知
 | 
					    - 备注:离线通知
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user