You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Tele 酱](https://github.com/easychen/telechan):可以通过 Vercel 免费部署,且部署后 API 在国内网络可访问的 Telegram 多账户消息推送机器人
11
12
12
13
## 直接试用我搭建的机器人
13
14
@@ -19,20 +20,20 @@
19
20
20
21
1. add @TeleChan8Bot in telegram
21
22
2.`/sendkey` to get key & url
22
-
3. send request via url
23
+
3. send request via url
23
24
24
25
## How to use
25
26
26
27
1. star and fork this repo
27
28
2. goto https://vercel.com/ create a new project, select the repo just created
28
-
3. add [BotFather](https://t.me/botfather) in telegram, create new bot and get `telegram api token`
29
-
4. set output dir to `dist` , set `BOT_TOKEN` to `telegram api token`, set `TCKEY` a random string 
29
+
3. add [BotFather](https://t.me/botfather) in telegram, create new bot and get `telegram api token`
30
+
4. set `BOT_TOKEN` to `telegram api token`, set `TCKEY` a random string 
30
31
5. deploy
31
32
6. send /sendkey command to the bot, you will get sendkey and api url
32
33
33
34
## API
34
35
35
-
Both HTTP `GET` or `POST` are OK
36
+
Both HTTP `GET` or `POST` are OK
36
37
37
38
- sendkey,required
38
39
- text,required
@@ -41,7 +42,7 @@ Both HTTP `GET` or `POST` are OK
41
42
42
43
`text` and `desp` support [telegram markdown](https://core.telegram.org/bots/api#markdownv2-style) which is a very small subset of markdown without image support
Heavily modified base [Telegram Bot Boilerplate with Vercel's Serverless Functions](https://github.com/waptik/telegram-bot-boilerplate-now-serverless-api)
0 commit comments