Bad Request: file must be non-empty
vladislav-ramirez opened this issue · 0 comments
vladislav-ramirez commented
PHP version
PHP 8.2.12
irazasyed/telegram-bot-sdk version
versions : * v3.13.0
Laravel version (if any)
No response
Code To Reproduce the bug
When i try ReplyWithDocument in command
$this->replyWithDocument([
'document' => \Telegram\Bot\FileUpload\InputFile::create('test/file1.docx')
]);
i get Telegram\Bot\Exceptions\TelegramResponseException: Bad Request: file must be non-empty
Error stacktrace (if any)
No response