laravel-notification-channels / telegram

✈️ Telegram Notifications Channel for Laravel

Home Page:https://laravel-notification-channels.com/telegram/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot attach multiple files

hlorofos opened this issue · comments

    public function toTelegram($notifiable)
    {

return TelegramFile::create()
            ->content('Test')
            ->disableNotification(true)
            ->file('file1.png', 'photo');
            ->file('file2.png, 'photo');
    }

Doesn't send two files, but only the last one.

You can send only one file per notification.