sergiobogatsky / telegram-polls-without-group
Polls API for easy integration into any project on PHP Laravel
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
This package is auto-updated.
Last update: 2024-04-29 04:27:39 UTC
README
little help to send different types of polls to my telegram clients.
Installation
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; }