We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem:
Channel messages are not being deleted when the script is performed. Results in invalid_arguments error.
example:
Failed to delete (invalid_arguments)-> { 'client_msg_id': 'XXX', 'team': 'XXX', 'text': 'XXX', 'ts': '1541698411.011700', 'type': 'message', 'user': 'XXX' }
Solution:
Slack chat.delete usually requires argument as_user=True
as_user=True
so add the command line argument: --as_user
--as_user
--as_user Pass true to delete the message as the authed user. Bot users in this context are considered authed users.
The text was updated successfully, but these errors were encountered:
sgratzl
No branches or pull requests
Problem:
Channel messages are not being deleted when the script is performed. Results in invalid_arguments error.
example:
Solution:
Slack chat.delete usually requires argument
as_user=True
so add the command line argument:
--as_user
The text was updated successfully, but these errors were encountered: