0

我的电报机器人不工作!我确实得到了WebhookInfo,

回复 :

{
  "ok": true,
  "result": {
    "url": "**secret**",
    "has_custom_certificate": false,
    "pending_update_count": 10,
    "last_error_date": 1535344752,
    "last_error_message": "Wrong response from the webhook: 302 Found",
    "max_connections": 40
  }
}
4

1 回答 1

0

您的网络服务器发送 http 状态(以前是“临时​​移动”)可能是因为脚本的 url 已更改...检查 url,也许它已更改。bot api 不会遵循任何类型的重定向(主要是出于安全原因)

于 2018-08-27T05:58:28.350 回答