-
Notifications
You must be signed in to change notification settings - Fork 412
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
[Feature] Quick replies #342
Conversation
New `QuickReply` model and `quick_replies` attribute of `Message` model.
Looks amazing (!!!), you talked about adding special quick replies, that asks for the users phone number, email, or location, and I think you should add that first (even though it doesn't work on mobile (yet 😉 )) I think it'd be nice to have a helper method, to reply to a quick reply Also, the text you wrote above would be nice to have in the examples |
2c29b62
to
492465a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no need for the type
attribute on the models, but otherwise, it looks close to ready 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few isinstance
checks instead, and then it's good!
I went ahead and fixed the small issues, thanks a lot for your hard work! 🎉 |
Description
Added
QuickReplyText
,QuickReplyLocation
,QuickReplyEmail
,QuickReplyPhoneNumber
modelsquick_replies
attribute ofMessage
modelsend
methodExamples
You can send quick replies with text only:
or with images:
You can use
payload
anddata
attributes to send some data.If you want to response for quick reply just do this: