Skip to content

Poll support #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 23, 2021
Merged

Conversation

faissaloux
Copy link
Contributor

@faissaloux faissaloux commented Nov 23, 2021

In this PR I've added poll support.

Usage

use NotificationChannels\Telegram\TelegramPoll;

TelegramPoll::create()
            ->to($notifiable)
            ->question($question)
            ->choices($choices); // array $choices

@irazasyed
Copy link
Member

Thanks for the PR. It looks good and is a nice addition.

Please look into the comment I made above and also, please add the docs to the Readme.

@faissaloux faissaloux requested a review from irazasyed November 23, 2021 21:12
@faissaloux
Copy link
Contributor Author

Screenshot from 2021-11-23 22-53-50

@irazasyed irazasyed merged commit f669c3d into laravel-notification-channels:master Nov 23, 2021
@irazasyed
Copy link
Member

Thanks 👍

@faissaloux faissaloux deleted the send-poll branch November 23, 2021 22:41
@faissaloux
Copy link
Contributor Author

Happy to help 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants