티스토리 뷰
728x90
Content-Type: application/json
Authorization: 'Bearer ' + token
{
"text": "hello",
"as_user": true,
"channel": "U##########"
}
- https://api.slack.com/methods/chat.postMessage
- https://stackoverflow.com/questions/47753834/how-to-send-direct-messages-to-a-user-as-app-in-app-channel
- https://stackoverflow.com/questions/50659252/json-post-request-to-slack-returns-invalid-auth/72239819#72239819
chat.postMessage API method
Sends a message to a channel.
api.slack.com
How to send direct messages to a user as app in app channel
How is it possible to send message in slack directly to the user, by user.id as application. this application has scope: bot,channels:write,emoji:read,users:read,users:read.email I find how to send
stackoverflow.com
JSON post request to slack returns invalid_auth
I'm trying to open a dialog in slack through a google app script after the user presses a button but i'm getting the following error message: {"ok":false,"error":"invalid_auth","warning":"
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[Docker] naming rule: `docker/asdf.Dockerfile` (0) | 2022.05.14 |
---|---|
[Python] Kafka Serializer (0) | 2022.05.14 |
[Slack] https://slack.com/api/users.lookupByEmail (0) | 2022.05.08 |
[gradle] from maven `implementation(project(":data-core"))` (0) | 2022.05.08 |
[Docker] ARG vs ENV (0) | 2022.05.08 |
댓글