Answer the question
In order to leave comments, you need to log in
Why do events fire twice in webhook telegram bot?
webhook installed. The script executes the following code:
$content = file_get_contents("php://input");
file_put_contents('log.txt', date('H:m:i d-m-Y') . ' — ' . $content . PHP_EOL, FILE_APPEND | LOCK_EX);
die();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question