Go, Vantage point
가까운 곳을 걷지 않고 서는 먼 곳을 갈 수 없다.
Github | https://github.com/overnew/
Blog | https://everenew.tistory.com/

일단 봇은 생성되어 있는 상태로 가정하고 기술하겠다. 1. 1:1 Channel 생성 슬랙에서는 1대 1 대화인 DM도 하나의 채널로 간주된다. 따라서 봇이 유저와 채널을 생성해서 메시지를 post 해야 한다. 이를 위해 conversations_open() 함수를 사용해 주자. app.client.conversations_open("Either channel or users must be provided") https://api.slack.com/methods/conversations.open#markdown conversations.open API method Opens or resumes a direct message or multi-person direct message. api.slack.com..
개발/기타
2023. 10. 21. 14:35