$data = file_get_contents('php://input');
error_log($data);
$data = json_decode($data, 1);
$data = $data['callback_query'] ?? $data;
$chat_id = $data['message']['chat']['id'];
...
$url = "https://api.telegram.org/bot$bot_token/sendMessage?".http_build_query($resp);
error_log($url);
file_get_contents($url);
select * from fights where athlete_id=22
select * from athletes where name like '%petr%' or name like '%yan%'