slackapi / bolt-js

A framework to build Slack apps using JavaScript
https://tools.slack.dev/bolt-js/
MIT License
2.74k stars 393 forks source link

Navigate to home tab through interactive button #1698

Closed Tievoo closed 1 year ago

Tievoo commented 1 year ago

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Question

I would like to use a button to navigate the user from the app message tab to the home tab, but I'm not entirely sure if this is possible and if so, how to do it. I've searched a lot and couldn't find anything similar. I'm using a button in an actions block.

seratch commented 1 year ago

Hi @Tievoo, you can use a deep link URL along with a button with url property. Refer to the following resources for details:

Tievoo commented 1 year ago

Oh I didn't think about it that way, I forgot about url property in buttons. Thank you so much!