Closed mamalheydar closed 4 years ago
i used this function and set this argument but get this error :
$content_document = array('chat_id' => $chat_id,'document'=>"https://www.tarakala.ir/bot_folder/files_chanel/111429973.txt"); $telegram->sendDocument($content_document);
my file exist on host but dont send to bot my error : error 400 Bad Request: wrong file identifier/HTTP URL specified
From the Telegram doc:
In sendDocument, sending by URL will currently only work for gif, pdf and zip files.
i used this function and set this argument but get this error :
my file exist on host but dont send to bot my error : error 400 Bad Request: wrong file identifier/HTTP URL specified