Created
August 5, 2021 11:38
-
-
Save sht/eada24b563efcb43cca82796fada6d67 to your computer and use it in GitHub Desktop.
Slack API by Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from slack_sdk import WebClient | |
| from slack_sdk.errors import SlackApiError | |
| client = WebClient(token="xoxb-xxxxxx") | |
| client.chat_delete(channel='DTC82MYK7', ts='1628163247.164400') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment