Hi all, I’m looking at the interactive dialog documentation and it mentions that HTTP requests from slash commands will include a trigger ID that can be used to open an interactive dialog (https://docs.mattermost.com/developer/interactive-dialogs.html#opening-a-dialog). When I look at the custom slash documentation, however, it doesn’t mention trigger ID anywhere (https://docs.mattermost.com/developer/slash-commands.html#custom-slash-command). Does anyone have an example of a slash command opening an interactive dialog I can look at?
Response from our team:
This is just an oversight in the documentation.
trigger_id should be sent when a slash command is executed. You can see everything is send here: https://github.com/mattermost/mattermost-server/blob/master/model/command_args.go (only the fields without
Doc PR was opened here to make edits: https://github.com/mattermost/mattermost-developer-documentation/pull/243