If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide, specifically for machine setup and for developer workflow.
Notes: Jira ticket
It would be useful for bots and integrations to be able to send ephemeral messages to users by using the REST API.
For this ticket, you'll need to do a few things:
POST /api/v4/posts
endpoint to accept system_ephemeral
as a post type, check the new permission and send the ephemeral post (instead of going through the regular post creation flow)If you have any questions, please ask Joram (@joram on pre-release and @jwilander on GitHub).
As discussed with @jwilander in the Contributors chat I'll take a shot at the issue and keep you posted on the progress here.
Update: Majority of the implementation is working, it was implemented in a own API handler since there was no nice way to merge it in the current POST /posts
handler. I am fixing last issues and then open a PR for review, additional PRs to the webapp and api docs repositories will be required.
I think this issue can be closed after the merge, unless there are any questions left.
Thanks again for the guidance!
Fixed by #8611
Most helpful comment
As discussed with @jwilander in the Contributors chat I'll take a shot at the issue and keep you posted on the progress here.