setWebhook
Use this method to specify a url and receive incoming updates via an outgoing webhook.
post/bot{token}/setWebhook
Path parameters
tokenstring required
Your Bot Token
Request body
Response
200
Example response
{
"ok": true,
"result": true,
"description": "Webhook was set"
}