The underlying axios instance.
chat.* APIs.
Returns a list of scheduled messages.
Typical success response
{
"ok": true,
"scheduledMessages": [
{
"id": 1298393284,
"channelId": "C1H9RESGL",
"postAt": 1551991428,
"dateCreated": 1551891734,
"text": "Here's a message for you in the future"
}
],
"responseMetadata": {
"nextCursor": ""
}
}
Deletes a message.
Typical success response
{
"ok": true,
"channel": "C024BE91L",
"ts": "1401383885.000061"
}
Deletes a pending scheduled message from the queue.
Typical success response
{
"ok": true
}
Retrieve a permalink URL for a specific extant message.
Standard success response
{
"ok": true,
"channel": "C1H9RESGA",
"permalink": "https://ghostbusters.slack.com/archives/C1H9RESGA/p135854651500008"
}
Share a me message into a channel.
Typical success response
{
"ok": true,
"channel": "C024BE7LR",
"ts": "1417671948.000006"
}
Sends an ephemeral message to a user in a channel.
Typical success response
{
"ok": true,
"messageTs": "1502210682.580145"
}
Sends a message to a channel.
Typical success response
{
"ok": true,
"channel": "C1H9RESGL",
"ts": "1503435956.000247",
"message": {
"text": "Here's a message for you",
"username": "ecto1",
"botId": "B19LU7CSY",
"attachments": [
{
"text": "This is an attachment",
"id": 1,
"fallback": "This is an attachment's fallback"
}
],
"type": "message",
"subtype": "bot_message",
"ts": "1503435956.000247"
}
}
}
Schedules a message to be sent to a channel.
Typical success response
{
"ok": true,
"channel": "C1H9RESGL",
"scheduledMessageId": "Q1298393284",
"postAt": "1562180400",
"message": {
"text": "Here's a message for you in the future",
"username": "ecto1",
"botId": "B19LU7CSY",
"attachments": [
{
"text": "This is an attachment",
"id": 1,
"fallback": "This is an attachment's fallback"
}
],
"type": "delayed_message",
"subtype": "bot_message"
}
}
Provide custom unfurl behavior for user-posted URLs.
Typical, minimal success response
{
"ok": true
}
Updates a message.
Typical success response
{
"ok": true,
"channel": "C024BE91L",
"ts": "1401383885.000061",
"text": "Updated text you carefully authored",
"message": {
"text": "Updated text you carefully authored",
"user": "U34567890"
}
}
views.* APIs.
Open a view for a user.
Typical success response includes the opened view payload.
Publish a static view for a User.
Typical success response includes the published view payload.
Push a view onto the stack of a root view.
Typical success response includes the pushed view payload.
Update an existing view.
Typical success response includes the updated view payload.
Recursively lists all channels in a Slack team using cursor.
Optional arguments.
Recursively retrieve members of a conversation using cursor.
Channel to get info on.
Optional arguments.
Recursively lists all users in a Slack team using cursor.
Gets information about a channel.
Channel to get info on.
Other optional parameters.
Retrieve information about a conversation.
Channel to get info on.
Other optional parameters.
Lists all channels in a Slack team.
Optional arguments.
Retrieve members of a conversation.
Channel to get info on.
Optional arguments.
Gets information about a user.
User to get info on.
Other optional parameters.
Lists all users in a Slack team.
Optional parameters.
Sends an ephemeral message to a user in a channel.
Generated using TypeDoc
The access token used by the client.