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

Telegram API-vendor/autoload.php

I want to integrate a telegram API in PHP. I refereed following link https://github.com/funcoding/TelegramPHPBot/blob/master/README.md I installed composer on my machine but i am not able to generate vendor/autoload.php file. I am new to this. can anyone give me solution.

VIEW QUESTION
Back To Top
Search