I have a slack bot that is sending direct messages to users. I want to add a functionality that will delete the message automatically 10 minutes after it has been sent. Please help.
How to delete messages posted to slack after sometime?
1.1k Views Asked by VIKAS DALAL At
1
There are 1 best solutions below
Related Questions in API
- Google Sheets API - Append Request not working
- Is there really no product for docs that has these?
- How to show suggested content in response using Azure Cognitive Search?
- error message when closing current position in binance futures, using ccxt library
- How to filter API data in React Native
- I have fetched an API with JS, but the output looks really bad and I don't know how to fix it
- Session is not storing in react and Asp Dot Core Web API
- Apex charts not rendering series value, showing cannot map values of NULL
- Configure IIS to accept API calls only from API Manager, Deny from direct calls
- Problems with API return using the Axios library in NextJS
- How to query by Iteration in pyral?
- Is there a way to have a user enter a url query and have a single function filter a database?
- Cant get value in Vue from data
- Read stories/posts using instagram API
- Need To Make Minor Change To REST API Response
Related Questions in CHATBOT
- Text_input is not being cleared out/reset using streamlit
- Node.js Chatbot Error: GoogleGenerativeAIError - Content should have 'parts' property with an array of Parts
- chatbot respond to onequery type
- The chatbot code works well on the console but not when deployed on the website
- Customize prompt llamaindex
- Gradio chatbot: how to export individual conversation histories?
- Integrating Custom Trained ChatGPT Models for Individual Customer Accounts in a SaaS Offering
- How to Implement Chatbot at Scale
- Problems with using the most recent version if Tensorflow
- Chat with custom data
- How to make a chatbot using python which can understand my question and then answer it
- How to unload AutoGPTQForCausalLM.from_quantized model to free up GPU memory
- What are the best practices and tools to do NLU testing?
- Google Chat app not found. To create a Chat app, you must turn on the Chat API and configure the app in the Google Cloud console. Error in python
- Want to show what is show when verbose=True in streamlit app
Related Questions in SLACK
- Troubleshooting Airflow Task Failures: Slack Notification Timeout
- Sending Slack Message to channel from salesforce flow
- Slack webhook returns invalid_payload when message is a url
- How to check Slack App added in private slack channel
- Adding members to private groups using api requests in slack
- How to trigger Slack bolt app from external service
- Not getting Social Token when using SignIn with Slack
- Airflow SlackWebhookOperator to send message to slack
- Adding Slack Blocks into a workflow using the UI
- Displaying the metric value in the slack alert
- Slack Cli - How has it been broken after upgrade?
- How to send base64 encoded images to slack using webhook urls?
- how can i subscribe to message events in my slack app
- slack webhook doesnt display blocks
- How do I cross post from Automation in a Slack Workflow
Related Questions in SLACK-API
- Detect image added by user in channel
- Troubleshooting Airflow Task Failures: Slack Notification Timeout
- Adding members to private groups using api requests in slack
- How to trigger Slack bolt app from external service
- Slack Block Kit - trigger http request on modal submit
- How to send base64 encoded images to slack using webhook urls?
- how can i subscribe to message events in my slack app
- slack webhook doesnt display blocks
- Slack API - sharedPublicURL fails with UserToken of user that is not in the channel
- Unable to display buttons using slack-go Actions
- Use link as part of attachment in slack payload
- Slack CLI app vs app created in UI (https://api.slack.com/apps)?
- Verification Token or Signing Secret for AWS Lex to Slack connector?
- Mention in slack payload does not become an actual mention in the posted message
- Multiple POST Requests Triggered by Slack Messages Events Subscriptions (Slack API App)
Related Questions in SLACK-DIALOG
- Can we add custom tabs in slack apps ? Currently it has only home, messages and about
- Slack MultiExternalSelectElement block suggestion handler taking 30 sec to respond (Slack SDK for Java)
- Slack bolt Modal complex input field
- How to create message shortcut in slack app?
- Update slack view generated on a view_submission event
- Getting 'exchanged_trigger_id' error with Slack BoltJS when trying to reopen a modal
- Is opening a popup iframe or webpage using slack API supported?
- Closing Slack Modal from AWS Lambda after data submission
- Can't open modal using `trigger_id` from Slash Command in Slack Bot
- How can I open slack modal during slack workflow execution step?
- Using slack API to get conversation lists
- How to get input from a modal or dialog in a slack workflow step?
- I want to add Share to Slack feature in my web app. Facing issue in showing the popup to select the receipients
- Stuck creating a Slack App for auto deleting profanity
- Slack does not render properly a suer by userID through workflow
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is an api that is used to delete chat messages :
https://api.slack.com/methods/chat.delete
For your use case, you need to capture the channel & timestamp details from the response of message that was sent. Once the message is sent, wait for required time and then call 'chat.delete' api to delete the message.