Turn a channel name into an id before touching a message

conversations.history and chat.delete only take ids, so a stored name like
logbuch answered channel_not_found. The name is resolved through
conversations.list first, and the hint asks for the id.
This commit is contained in:
Matthias G
2026-08-03 13:13:31 +02:00
parent 05e131a0c0
commit 7e2a00842e
4 changed files with 61 additions and 6 deletions
+1 -1
View File
@@ -757,7 +757,7 @@
"includeInternal": "Slack is internal, so this is on by default. Off means customer and public entries only.",
"sendNow": "Sends the last seven days into the channel right away.",
"botToken": "From the Slack app under OAuth & Permissions, starts with xoxb. A bot token lets messages be deleted later.",
"channel": "Channel name or id, for example logbuch or C01234567."
"channel": "Prefer the channel id, for example C01234567. In Slack open the channel, click its name, the id sits at the bottom. A name like logbuch works too, but then the bot also needs channels:read."
},
"errors": {
"webhookInvalid": "That does not look like a Slack webhook address.",