small-packages/luci-app-wechatpush/root/usr/share/wechatpush/api/telegram.json
2026-05-10 09:48:30 +08:00

22 lines
565 B
JSON

{
"_api": "这是 telegram api 文件",
"_api": "【telegram】",
"url": "${tg_api_server}/bot${tg_token}/sendMessage",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "<b>",
"str_title_end": "</b>",
"str_linefeed": "\\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": "\\t",
"type":
{
"text":"\"${str_title_start}${1}${str_title_end}${str_splitline}${nowtime}${2}\"",
"chat_id":"\"${tg_chat_id}\"",
"message_thread_id":"\"${tg_thread_id}\"",
"parse_mode":"\"HTML\""
}
}