Skip to content

Instantly share code, notes, and snippets.

@byteshiva
Forked from haxpor/setWebhook-telegram.txt
Created April 16, 2021 05:52
Show Gist options
  • Save byteshiva/71857c3e0317beda2daf95f7f6085db5 to your computer and use it in GitHub Desktop.
Save byteshiva/71857c3e0317beda2daf95f7f6085db5 to your computer and use it in GitHub Desktop.
How to set webhook url for bot on Telegram
https://api.telegram.org/bot<bot-token>/setWebhook?url=<webhook-url>
<bot-token> - bot token get from BotFather on Telegram
<webhook-url> - webhook url in base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment