We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad23842 commit b3bd01bCopy full SHA for b3bd01b
slack_discovery_sdk/examples/DLP_call_pattern.py
@@ -43,9 +43,7 @@
43
# Step 3 - check each message and see if it contains a credit card number. If it does, tombstone the message.
44
# A valid credit card for our logic is something like the following: '5122-2368-7954-3214'
45
# Please note this is just example logic, to help you understand how to use the Discovery APIs.
46
-
47
if is_credit_card_number(message["text"]):
48
client.discovery_chat_tombstone(
49
- ts=message["ts"],
50
- channel=conversation["id"],
+ ts=message["ts"], channel=conversation["id"], team=message["team"]
51
)
0 commit comments