-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Selectable replies to messages sent by bots [canned responses] #232
Selectable replies to messages sent by bots [canned responses] #232
Comments
It would be nice to have this option. 👍 |
this is vaguely related to matrix-org/matrix-spec-proposals#441 |
To add another link to this discussion: this is the design the folks from Mattermost came up with. |
This feature will be a big step towards an initial competition to telegram bots' fancy interactions, since until now you are limited to emoji reactions and pure messages. Highly looking forward to see these handy buttons in matrix |
Any solution which requires extensions or additions to the API, formats etc will take a long time to see the light of the day. (This issue will soon celebrate its 5th birthday.) How about a more pragmatic approach using existing HTML support?
This could render a button which when clicked will prefill the reply with whatever is set in the value attribute. |
Facebook's Messenger bots have a Quick Replies feature. While this maybe doesn't quite make sense for Matrix (since 1-1 chats aren't really a thing) I think it might be useful to allow bots to provide predefined response buttons, such that clicking/tapping them causes your client to say something in the room.
In the case of Riot/Matrix, it might make sense for these buttons to be attached to the message rather than replacing the keyboard as FB's bots do.
As a more concrete example, I have a chatbot that I use with a few friends that provides a "vote" command. You give it a question and a list of choices, and it opens a vote for users in the room:
It'd be nice if our bot could provide these choices as buttons, at which point clicking one would send the appropriate message to the room.
The text was updated successfully, but these errors were encountered: