Skip to content
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

Request For Poll Feature In API #22

Open
mycodemm opened this issue Jul 24, 2023 · 3 comments
Open

Request For Poll Feature In API #22

mycodemm opened this issue Jul 24, 2023 · 3 comments

Comments

@mycodemm
Copy link

can you add poll sending in api?

@asternic
Copy link
Owner

What do you mean with poll sending? If you mean some kind of business logic for your application, then the answer is no, you should implement such logic in the application that consumes this API. Anyways, let me know what you mean by it.

@mycodemm
Copy link
Author

mycodemm commented Aug 1, 2023

Just like we send text, and media. there is one feature to send poll messages. https://pkg.go.dev/go.mau.fi/whatsmeow#Client.BuildPollCreation

@mycodemm
Copy link
Author

mycodemm commented Aug 1, 2023

add poll button in API, as poll option is already available in lib, it is a good alternative for buttons. also, it is very useful for companies to get reviews or votes.

can create multiple poll options in one message, can send a text with poll, Text+Media+Poll, Text+Docs+Poll.

One more use of poll, if any receiver click on poll then it creates a report of interested user like
if you want to receive this message poll: yes or no so its a small alternative for a button also.

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

No branches or pull requests

2 participants