3

I wish to implement this feature that allows users to use a deep link into a Slack's channel on their phones or computers, and pre-fill some texts in the message box.

I have read through the documents and didn't find relevant solutions.

I was hoping to find a link that looks like:

https://slack.com/app_redirect?app=A1BES823B?text=prefilled_message
Yang Liu
  • 31
  • 3
  • This is not how deep links work in Slack. But if you want to send a message via HTTP link why not use incoming webhooks? https://api.slack.com/incoming-webhooks – Erik Kalkoken Apr 27 '19 at 09:13
  • Yes I agree. Webhook is the temporary workaround I found. The reason I wished the deep link to do the job is to reduce server load. – Yang Liu Apr 28 '19 at 09:20

1 Answers1

1

Deep Links in Slack do not support including a text message. You can only open a channel.

But you can use incoming webhooks to send messages to a channel on Slack.

Or if you want to provide that exact functionality you can always build your own app to do it.

Erik Kalkoken
  • 23,798
  • 6
  • 53
  • 81