@codebam/cf-workers-telegram-bot 11.5.2 → 11.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -95,9 +95,9 @@ The `consumer` directory in this repository serves as a template for new project
95
95
  npm run deploy
96
96
  ```
97
97
 
98
- 6. **Set Webhook**:
98
+ 5. **Set Webhook**:
99
99
  Visit the following URL in your browser to register your worker with Telegram:
100
- `https://<your-worker>.<your-subdomain>.workers.dev/<SECRET_TELEGRAM_API_TOKEN>?command=set`
100
+ `https://<your-worker>.<your-subdomain>.workers.dev/<SECRET_TELEGRAM_API_TOKEN>/setWebhook`
101
101
 
102
102
  ## Deployment
103
103
 
@@ -108,7 +108,8 @@ npx wrangler deploy
108
108
  ```
109
109
 
110
110
  ### GitHub Actions
111
- To automate deployments, use the [Wrangler Action](https://github.com/cloudflare/wrangler-action). Add `CLOUDFLARE_API_TOKEN` and `SECRET_TELEGRAM_API_TOKEN` to your repository secrets.
111
+ To automate deployments, use the [Wrangler Action](https://github.com/cloudflare/wrangler-action) or Cloudflare's built-in [GitHub integration](https://developers.cloudflare.com/workers/ci-cd/github-actions/).
112
+
112
113
 
113
114
  ## API Documentation
114
115
  Detailed API documentation is available at [cf-workers-telegram-bot.codebam.ca](https://cf-workers-telegram-bot.codebam.ca).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebam/cf-workers-telegram-bot",
3
- "version": "11.5.2",
3
+ "version": "11.5.3",
4
4
  "description": "serverless telegram bot on cf workers",
5
5
  "main": "./dist/main.js",
6
6
  "module": "./dist/main.js",