I'm looking to open a dialog in Slack based on the user executing a basic slash command. I can currently capture the payload from a slash command in my API, and action this accordingly, but my understanding is that in order to open a dialog I need a corresponding trigger_id
, which doesn't seem to be present in the payload.
The only values I have are: token
, channel_name
, user_name
, command
and text
.
I might be misunderstanding this, but everything I have read seems to suggest that I should have said trigger_id
as part of my incoming payload. Is this correct?
I do have Interactivity turned on within my app, but can't see anything in there to link this to a slash command. Is that a correct assumption that they are separate? Or are they linked in some way?
Can anybody help with this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…