skip to Main Content

php telegram sendAudio – Telegram API

I have a problem with sendAudio() function in php telegram bot. if (strtoupper($text) == "MUSIC") { $voice = curl_file_create('audio.ogg'); $content = array('chat_id' => $chat_id, 'audio' => $voice); $telegram->sendAudio($content); } This don't work with an audio lenghtof 9 or more seconds.…

VIEW QUESTION
Back To Top
Search