Update Messages and List Scheduled Messages
Explore how to update existing Slack messages and retrieve a list of scheduled messages using Slack's API endpoints. Learn to use chat.update for message edits and chat.scheduledMessages.list to manage scheduled messages via Python requests.
We'll cover the following...
We'll cover the following...
Overview
There are instances where we may have to update a message already sent on the channel. For instance, we might want to update previous messages regarding the weather forecast with better, updated, and more accurate predictions. To update such messages, we’ll use the chat.update endpoint. We could also run a script with chat.scheduledMessages.list to update some already scheduled messages we might have set.
Let’s look at the following endpoints in this lesson:
chat.update: This endpoint updates a message.chat.scheduledMessages.list