我创建了 Telegram Bot 并获得了我的令牌。
我使用 Telegraf.js 库在 Firebase Functions 上准备了我的 Bot 逻辑。
我使用 setWebhook 设置我的 webhook
当我测试我的 Telegram Bot 时,它工作正常,但在几个请求之后,Webhook 被清除。
这是我的机器人getWebhookInfo
:
{
"ok": true,
"result": {
"url": "",
"has_custom_certificate": false,
"pending_update_count": 0
}
}