You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please tell me if it’s possible to send a document without using a file link? I want to specify the file’s content as text.
Like this:
TelegramFile::create()->document('File content as string', 'filename.txt');
I used this method in Laravel 5.8 + laravel-notification-channels 0.1.1, and it worked perfectly. The file "filename.txt" with the content "File content as string" would be sent to Telegram.
Now I’ve updated Laravel to version 10.x and laravel-notification-channels to version 4.x, and this method has stopped working.
I see an error:
Telegram responded with an error 400 - Bad Request: invalid file HTTP URL specified: Wrong port number specified in the URL at /var/www/vendor/laravel-notification-channels/telegram/src/Exceptions/CouldNotSendNotification.php:31)
The text was updated successfully, but these errors were encountered:
Could you please tell me if it’s possible to send a document without using a file link? I want to specify the file’s content as text.
Like this:
I used this method in Laravel 5.8 + laravel-notification-channels 0.1.1, and it worked perfectly. The file "filename.txt" with the content "File content as string" would be sent to Telegram.
Now I’ve updated Laravel to version 10.x and laravel-notification-channels to version 4.x, and this method has stopped working.
I see an error:
The text was updated successfully, but these errors were encountered: