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.
The method UploadFile(data []byte, channelId string, filename string) (*FileUploadResponse, *Response)
is available in model/client4.go
, the Go REST API driver for Mattermost, but does not have an equivalent in the plugin API.
Not having this method in the plugin API limits what plugins can do. Hence, we would like to add an equivalent plugin API for it.
Read about adding to the plugin API here https://developers.mattermost.com/contribute/server/plugins/. Most of these methods should have fairly simple equivalents in the app
package, making them trivial to implement.
You'll want to look at these files:
If you have any questions or would like feedback, feel free to ask in the Developer Toolkit channel on our Mattermost community instance.
This ticket is part of a larger campaign for adding plugin API methods. See here: https://github.com/mattermost/mattermost-server/issues/9458
I would like to work on this. This is harder as expected. I will leave this ticket for someone else.
I will give it a try
Most helpful comment
I will give it a try