sergiobogatsky/telegram-polls-without-group

There is no license information available for the latest version (dev-master) of this package.

Polls API for easy integration into any project on PHP Laravel

dev-master 2020-09-29 11:59 UTC

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;
        }

License

MIT