I'm trying to use chat.delete
on a "user" channel, the same as you do with chat.postMessage
, however I keep getting a channel_not_found
error.
slack.api_call(
"chat.delete",
channel=userID, # Exact same value as used with chat.postMessage
ts=ts
)
Is this a limitation in their API? Is there a way to achieve this?