mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 04:45:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"_//": "-------------------------------------------------------------------------------",
|
||||
"_readme": "这是 自定义 api 文件,这里以 telegram 为例",
|
||||
"_readme": "特殊符号请使用斜杠转义,变量使用 ${var} 表示",
|
||||
"_//": "-------------------------------------------------------------------------------",
|
||||
"_api": "【DIY 推送】",
|
||||
"_url": "api 地址",
|
||||
"_data": "生成的 json 文件路径,一般不需要改,如 api 不支持 json,请参考 serverchan 推送接口",
|
||||
"_content_type": "post 内容类型,这里为 json",
|
||||
"_//": "-------------------------------------------------------------------------------",
|
||||
"_str_title_start": "标题粗体字开始符号",
|
||||
"_str_title_end": "标题粗体字结束符号",
|
||||
"_str_linefeed": "换行符号",
|
||||
"_str_splitline": "换行+分隔符",
|
||||
"_str_space": "空格",
|
||||
"_str_tab": "TAB(用在行首,生成文字区块)",
|
||||
"_//": "-------------------------------------------------------------------------------",
|
||||
"_type":
|
||||
{
|
||||
"_readme": "type 对象因为需要转义变量,前后必须使用 斜杠+双引号 转义",
|
||||
"_readme": "参照上文说明,填写下文相关参数"
|
||||
},
|
||||
"_//": "-------------------------------------------------------------------------------",
|
||||
|
||||
"url": "https://api.telegram.org/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": " ",
|
||||
"table_tab": "<font color=#76CCFF>┋</font>",
|
||||
"font_green": "<font color=#92D050>",
|
||||
"font_green2": "<font color=#92D050>",
|
||||
"font_red": "<font color=#FF6666>",
|
||||
"font_blue": "<font color=#76CCFF>",
|
||||
"font_purple": "<font color=#6A65FF>",
|
||||
"font_end": "</font>",
|
||||
"font_end2": "</font>",
|
||||
"percentsym": "25",
|
||||
"boldstar": "**",
|
||||
"type":
|
||||
{
|
||||
"text":"\"${str_title_start}${1}${str_title_end}${str_splitline}${nowtime}${2}\"",
|
||||
"chat_id":"\"${chat_id}\"",
|
||||
"parse_mode":"\"HTML\""
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user