Current section
Files
Jump to
Current section
Files
priv/docs/methods/chat.meMessage.json
{
"args": {
"channel": {
"desc": "Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.",
"required": true,
"type": "string"
},
"text": {
"desc": "Text of the message to send.",
"example": "Hello world",
"required": true,
"type": "string"
}
},
"desc": "Share a me message into a channel.",
"errors": {
"channel_not_found": "Value passed for `channel` was invalid.",
"is_archived": "Channel has been archived.",
"msg_too_long": "Message text is too long",
"no_text": "No message text provided",
"not_in_channel": "Cannot post user messages to a channel they are not in.",
"rate_limited": "Application has posted too many messages, read the Rate Limit documentation for more information"
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "chat:write",
"url": "https://docs.slack.dev/reference/scopes/chat.write"
}
],
"user": [
{
"name": "chat:write",
"url": "https://docs.slack.dev/reference/scopes/chat.write"
}
]
}
}