{ "opencollection": "1.0.0", "info": { "name": "Telegram Bot Bot Info Getting Updates API", "version": "9.5" }, "request": { "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "query" } }, "items": [ { "info": { "name": "Getting Updates", "type": "folder" }, "items": [ { "info": { "name": "Get Updates", "type": "http" }, "http": { "method": "POST", "url": "https://api.telegram.org/bot{token}/getUpdates", "body": { "type": "json", "data": "{}" } }, "docs": "Receive incoming updates using long polling. Returns an array of Update objects. Notes: this method will not work if an outgoing webhook is set up." }, { "info": { "name": "Set Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.telegram.org/bot{token}/setWebhook", "body": { "type": "json", "data": "{}" } }, "docs": "Specify a URL and receive incoming updates via an outgoing webhook." }, { "info": { "name": "Delete Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.telegram.org/bot{token}/deleteWebhook", "body": { "type": "json", "data": "{}" } }, "docs": "Remove webhook integration." }, { "info": { "name": "Get Webhook Info", "type": "http" }, "http": { "method": "POST", "url": "https://api.telegram.org/bot{token}/getWebhookInfo" }, "docs": "Get current webhook status." } ] } ], "bundled": true }