slack api - chat.postMessage

김와티·2022년 12월 9일
0

chat.postMessage

Sends a message to a channel.

  • Require arguments

    • header
      • Authorization : Bearer xxxx-xxxxxxxxx-xxxx
      • Content-Type : application/json
    • channel
      • encoded ID or ChannelName
      • example
        • C1234567890
    • attachments / blocks / text - At least one of
      • attachmentes
        • [{"pretext": "pre-hello", "text": "text-world"}]
      • blocks
        • [{"type": "section", "text": {"type": "plain_text", "text": "Hello world"}}]
      • text
        • Hello world
profile
WatiOnTime

0개의 댓글

관련 채용 정보