Closed hostbox2 closed 3 years ago
Good day.
$this->bot->sendPhoto( $callback->getMessage()->getChat()->getId(), // curl_file_create($innerFilePath) new \CURLFile($innerFilePath) );
Previously, this code worked without problems, the file was sent. The link to the file is exactly correct, I checked with my hands, the file exists.
Worked in the variant: curl_file_create($innerFilePath) Now it doesn't work either way.
Images in PNG format, from 30 to 250 KB (in different ways)
The logs contain the error: Bad Request: IMAGE_PROCESS_FAILED
Library version latest: v2.3.17
All other functions (sendMessage, sendChatAction) work perfectly
Good day.
Previously, this code worked without problems, the file was sent. The link to the file is exactly correct, I checked with my hands, the file exists.
Worked in the variant: curl_file_create($innerFilePath) Now it doesn't work either way.
Images in PNG format, from 30 to 250 KB (in different ways)
The logs contain the error: Bad Request: IMAGE_PROCESS_FAILED
Library version latest: v2.3.17
All other functions (sendMessage, sendChatAction) work perfectly