슬랙 문자열 전송 코드 attachments + code block

  • PLM
    (PLM)
  • PLM's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
08 Nov 2021 10:38 - 07 Jan 2022 11:38 #5391 작성자: PLM
PLM 님의 글: 슬랙 문자열 전송 코드 attachments + code block
send_data = {
        "username": "<사용자이름>",
        "icon_emoji": ":vampire:",
        "type": "section",
        "attachments": [
            {
                "text": "```" + message + "```"
            }
        ]
    }
Time to create page: 0.047 seconds
Powered by Kunena Forum