slack incoming webhook - send message to another channel

后端 未结 2 1696
失恋的感觉
失恋的感觉 2021-01-20 02:03

I am trying to post message to any channel in a slack team.

My webhook has been properly created and installed into my test team. As part of the install process, I s

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-20 02:03

    The app needs the chat:write:bot permission to post messages to other channels.

    The permission can be added in Manage Apps → your app → OAuth & Permissions:

    Reading Slack's own documentation, this was not obvious to me. (although it is mentioned under "Using the Web API" in the Intro to Messaging.)

提交回复
热议问题