Add autocomplete for webhooks
Sorry, I posted my idea here : https://github.com/mattermost/platform/issues/1256
Descirption :
Let me explain this through an example
I've set a outgoing webhooks triggered by "$", then sended text is parsed by my bot, and runs according command.
ie: "$start 1234" runs "start" command with "1234" args.
Autocomplete hook could work like this:
I enter "$st" and press tab, the hook is triggered, sends current text to the bot and the response populates the autocomplete list with something like [{command: […], description: […]}, […]] and whatever needed by the list.
![](https://secure.gravatar.com/avatar/4e009ded324ee710f5932cf6accb2d90?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
kernicpanel commented
-
Discussion continues here: https://forum.mattermost.org/t/add-autocomplete-webhook/460