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:
+1
-1
@@ -757,7 +757,7 @@
|
||||
"includeInternal": "Slack ist intern, deshalb standardmäßig an. Aus heißt nur Kunden- und öffentliche Beiträge.",
|
||||
"sendNow": "Schickt den Stand der letzten sieben Tage sofort in den Kanal.",
|
||||
"botToken": "Aus der Slack-App unter OAuth & Permissions, beginnt mit xoxb. Mit Bot-Token lassen sich Nachrichten später wieder löschen.",
|
||||
"channel": "Name oder Kennung des Kanals, etwa logbuch oder C01234567."
|
||||
"channel": "Am besten die Kanal-ID, etwa C01234567. In Slack: Kanal öffnen, auf den Namen klicken, unten steht die Kanal-ID. Ein Name wie logbuch geht auch, dafür braucht der Bot zusätzlich channels:read."
|
||||
},
|
||||
"errors": {
|
||||
"webhookInvalid": "Das sieht nicht nach einer Slack-Webhook-Adresse aus.",
|
||||
|
||||
+1
-1
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user