Closed alexisml-12 closed 3 years ago
Hello, I have a question about the function SendAudio.
How can I re-send an audio that I send to the bot?
$file = $update["message"]["voice"]["file_id"]; $content = array('chat_id' => $chatId, 'audio' => $file); $GLOBALS[telegram]->sendAudio($content);
I have this code and I used the file id of the voice message that I receive but the message don't send.
Any help I will aprecciate
Hello, I have a question about the function SendAudio.
How can I re-send an audio that I send to the bot?
$file = $update["message"]["voice"]["file_id"]; $content = array('chat_id' => $chatId, 'audio' => $file); $GLOBALS[telegram]->sendAudio($content);
I have this code and I used the file id of the voice message that I receive but the message don't send.
Any help I will aprecciate