We're updating the issue view to help you get more done. 

Allow plugins trigger interactive dialogs even without clicking an interactive button/menu or using a slash command

Description

Currently, the OpenDialogRequest to trigger an interactive dialog requires a TriggerId, which is generated when the dialog is opened via an interactive button, menu or a slash command.

When a plugin triggers an interactive dialog outside of these three user actions, the TriggerId does not get generated and as a result, the dialog doesn't open.

This prevents certain use cases for plugins, such as when a user triggers a dialog via Main Menu item described here.

Proposed change: Allow plugins to trigger interactive dialogs even when the TriggerId is empty.

QA Test Steps

See description.

Status

Mana

None

Assignee

Unassigned

Reporter

Jason Blais

Epic Link

Fix versions

Mattermost Team

Extensibility

Sprint

None

Labels

None

QA Testing Areas

Other (write in QA test steps)