From 7b534e320e990544726ce3629bd383fc2af5e8a1 Mon Sep 17 00:00:00 2001 From: J3n5en Date: Mon, 28 Aug 2023 14:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20Update=20telegram=20push?= =?UTF-8?q?=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ README_CN.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index ab43313..fbc3223 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,10 @@ use [https://www.mail-tester.com/](https://www.mail-tester.com/) for checking. Open the `config/config.json` file in the run directory, edit a few configuration items at the beginning of `weChatPush` and restart the service. +## 6、Telegram Message Push +Create bot and get token from [BotFather](https://t.me/BotFather) +Open the `config/config.json` file in the run directory, edit a few configuration items at the beginning of `tg`and restart the service. + # For Developer ## Project Framework diff --git a/README_CN.md b/README_CN.md index b07a62c..52404f1 100644 --- a/README_CN.md +++ b/README_CN.md @@ -67,6 +67,9 @@ PMail是一个追求极简部署流程、极致资源占用的个人域名邮箱 打开运行目录下的 `config/config.json`文件,编辑 `weChatPush` 开头的几个配置项,重启服务即可。 +## 6、Telegram推送 +从 [BotFather](https://t.me/BotFather) 创建并获取令牌机器人。 打开运行目录下的 config/config.json 文件,编辑 `tg` 开头的几个配置项,重启服务即可。 + # 参与开发 ## 项目架构