我的电报机器人不起作用!我做了getWebhookInfo,回复:
{
"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
}
}
您的网络服务器可能会发送http状态(通常称为“暂时移动”),因为脚本的网址已更改...检查网址,可能已更改。 bot api不会遵循任何类型的重定向(主要是出于安全原因)