0
私は最近電報から更新を得るためにwebhookを使用しようとしました。私のプログラムは正しくwhit getUpdates()を動作させます。 私はウェブフックを設定するとき、私はwebhookからの間違った応答:400 Bad Request
「ウェブフックからの間違った応答:400不正な要求」だ試みがgetWebhookInfo法によりウェブフックの状態を確認するとき
エラーを。
ここに私のコードです: $telegram->commandsHandler(true)
私はすべてのものがうまくいきました。 $telegram->commandsHandler(false)
私はhttpsを使用し、私のSSLはOKです。
これは私にはgetWebhookInfoの回答です。
{
"ok": true,
"result": {
"url": "https://telbit.ir/api/bot/<token>",
"has_custom_certificate": false,
"pending_update_count": 13,
"last_error_date": 1476344420,
"last_error_message": "Wrong response from the webhook: 400 Bad Request"
}
}
正常に動作していますか?サーバーからの応答は常に200 OKですか? –