How to get Slack App's Message tab Channel ID

dzdyfj123 注册会员
2023-01-25 02:53

When each user clicks the button in Slack, you should be given some context about the event. In that, you should see the user's Slack ID.

You are able to use the users Slack ID to post a message to the Messages tab.

await client.chat.postMessage({
  channel: 'U0123456789,
  blocks: [...],
  text: 'Will post a message in the app Messages tab!',

About the Author

Question Info

Publish Time
2023-01-25 02:53
Update Time
2023-01-25 02:53