Skip to content

About

Slack JavaScript SDK managed by SDK Fabric

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

slack-javascript

This SDK is managed by the SDK Fabric project, a global infrastructure to automatically generate SDKs for every API.

You can find more information about this SDK at TypeHub: https://app.typehub.cloud/d/sdkfabric/slack

Usage

const client = Client::build('[access_token]');

// Deletes a message from a channel.
const response = await client.chat().delete(new Delete_Message_Request());

// Retrieves a permalink URL for a specific existing message.
const response = await client.chat().getPermalink("channel", "message_ts");

// Sends an ephemeral message to a user in a channel.
const response = await client.chat().postEphemeral(new Post_Ephemeral_Request());

// Sends a message to a channel.
const response = await client.chat().postMessage(new Post_Message_Request());

// Schedules a message to be sent to a channel at a future time.
const response = await client.chat().scheduleMessage(new Schedule_Message_Request());

// Updates a message in a channel.
const response = await client.chat().update(new Update_Message_Request());

About

Slack JavaScript SDK managed by SDK Fabric

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages