chat schedule Message
POST {{baseUrl}}/chat.scheduleMessage
Schedules a message to be sent to a channel.
Request Body
[{"name"=>"channel", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"text", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"post_at", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"parse", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"as_user", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"link_names", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"attachments", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"blocks", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"unfurl_links", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"unfurl_media", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"thread_ts", "value"=>"<number>", "datatype"=>"string"}, {"name"=>"reply_broadcast", "value"=>"<boolean>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
token | string | Authentication token. Requires scope: chat:write | |
Content-Type | string |
RESPONSES
status: OK
{"ok":"\u003cboolean\u003e","channel":"\u003cstring\u003e","post_at":"\u003cinteger\u003e","scheduled_message_id":"\u003cstring\u003e","message":{"type":"\u003cstring\u003e","text":"\u003cstring\u003e","bot_id":"\u003cstring\u003e","user":"\u003cstring\u003e","team":"\u003cstring\u003e","bot_profile":{"id":"\u003cstring\u003e","deleted":"\u003cboolean\u003e","name":"\u003cstring\u003e","updated":"\u003cinteger\u003e","app_id":"\u003cstring\u003e","icons":{"image_36":"\u003curi\u003e","image_48":"\u003curi\u003e","image_72":"\u003curi\u003e"},"team_id":"\u003cstring\u003e"},"username":"\u003cstring\u003e"}}