pastydev / cmdict_bot

A Telegram bot returning definitions of an English word, based on cmdict.
https://t.me/cmdict_bot
GNU General Public License v3.0
0 stars 0 forks source link

Set WebHook for Bot to AWS Lambda #10

Closed edxu96 closed 9 months ago

edxu96 commented 9 months ago

Set a WebHook for your Bot is to issue a GET request to the Bot API:

https://api.telegram.org/bot{my_bot_token}/setWebhook?url={url_to_send_updates_to}

For example:

https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/setWebhook?url=https://www.example.com/my-telegram-bot

How to test:

https://api.telegram.org/bot{my_bot_token}/getWebhookInfo
edxu96 commented 9 months ago

Closed by 9e6ffbeed01ffd8803b0e3c3dda9976e2cb73f39.