-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add support for action buttons #649
Comments
Depends on #405 |
@diegolmello I'm not sure it depends on that, since there is no UI involved. |
@sampaiodiego you're right about not being UI. |
How can I send formatted pictures and text lists to the chat window? |
@alleniver didn't get what you're trying to do and why it's related to action buttons 🤔 |
haha! i'm just asking by the way. |
There are even more action buttons than what @sampaiodiego described, we need documentation about them.. |
Slash commands are now implemented, are you going to work on this soon? |
@lorek123 It's not planned yet. |
not anytime soon, but documentation would help. |
@diegolmello I will help with it. |
@oguhpereira Thank you, we really appreciate it! ❤️😁 |
It was deprecated and no longer necessary since UIKit was implemented. |
@djorkaeffalexandre @diegolmello "attachment.actions" buttons are still not rendering, how do I use UIKit to render "Actions" and send message based on action click. |
Hey @nishantt12, for now, I think we don't have a fully documentation about our available UIKit components, but you can check how to create apps here and can use one of our apps as a base to do your own app. |
As the current state of Rocket.Chat Apps, they're using action buttons to interact with users, when clicking such buttons, a slash command is called.
Currently the app is not rendering action buttons:
df-8498bc4e40f5.png)
This is the web version for comparison:
The buttons are on the second attachment.
Below is a compact version of a message object containing the relevant fields for action buttons:
The key points here are the following:
button_alignment
of the attachment should be respectedmsg_in_chat_window
istrue
, thetext
property should be used as the button value, and themsg
property will be the slash command executed when tapped.If you need more information, please just let me know.
The text was updated successfully, but these errors were encountered: