79423990

Date: 2025-02-08 22:14:15
Score: 0.5
Natty:
Report link

You can set your webhook URL using GET request(i.e. even opening in browser will work) below:

https://api.telegram.org/bot<token>/setWebhook?url=<url>

For example, if your webhook URL is htps://website.dev/myHook and API token is 12345:AAsecret_token,

https://api.telegram.org/bot12345:AAsecret_token/setWebhook?url=htps://website.dev/myHook

{"ok":true,"result":true,"description":"Webhook was set"} will be returned from telegram API upon successful change.


This way there's no need to send message to FatherBot.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: An Se