An open API service indexing awesome lists of open source software.

https://github.com/ad/telegram-busy-buttons-cloudflare


https://github.com/ad/telegram-busy-buttons-cloudflare

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

          

# telegram-busy-buttons-cloudflare

send `/create name1 name2 nameN` to bot

bot answers with message+buttons, now you can interact with it

### Demo

[@busybuttonsbot](https://t.me/busybuttonsbot)

## Local run via wrangler

```
docker run --name Wrangler --rm \
-p 8080:8080 \
--env 'START_WRANGLER=true' \
--env 'WRANGLER_START_CMD=wrangler pages dev ./ --port 8080 --ip 0.0.0.0' \
--env 'UID=99' \
--env 'GID=100' \
--env 'UMASK=0000' \
--env 'DATA_PERMS=770' \
--volume ./:/wrangler \
ich777/wrangler-dev
```

### Stop container

```
docker kill Wrangler
```

### Add secret

BOT_ADMIN = your_telegram_id

BOT_TOKEN = ...

BOT_DEBUG = true/false

image

### Set webhook

https://api.telegram.org/botTOKEN/setWebhook?url=https://yourdomain/webhook/botTOKEN