little help to send different types of polls to my telegram clients.
Use composer to install telegram-polls-without-groups.
composer require sergiobogatsky/telegram-polls-without-group
Do the migration:
php artisan migrate
Publish provider and select it inside of the list:
php artisan vendor:publish --force
Put the code before on first position of webhook controller of telegram:
//polls added from SergioBogatsky\TelegramPollsWithoutGroup
if (Poll::checkAndSavePollAnswer($request)) {
return;
}