Chat
Chat Delete Scheduled Message
Deletes a pending scheduled message from the queue.
Authorization
slackAuth chat:write:user, chat:write:botAuthorizationBearer <token>
In: header
Scope: chat:write:user, chat:write:bot
Header Parameters
token*string
Authentication token. Requires scope: chat:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
as_user?boolean
Pass true to delete the message as the authed user with chat:write:user scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with chat:write:bot scope.
channel*string
The channel the scheduled_message is posting to
scheduled_message_id*string
scheduled_message_id returned from call to chat.scheduleMessage
Response Body
application/json
application/json
curl -X POST "https://example.com/chat.deleteScheduledMessage" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'channel=string&scheduled_message_id=string'{ "ok": "True"}
