Skip to content

Commit

Permalink
chore(slack): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ekremney authored Jan 31, 2024
1 parent 54a5f49 commit fb7785e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/spacecat-shared-slack-client/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ export class SlackClient {
constructor(token: string, log: object);

/**
* Asynchronous method to create a RUM backlink.
* Asynchronous method to send a message to Slack.
* @param {object} message - Message payload to be sent to Slack API. see https://api.slack.com/methods/chat.postMessage
* @returns A Promise resolving to an object containing the data returned by Slack API
*/
postMessage(message: object): Promise<object>;

/**
* Asynchronous method to create a RUM backlink.
* Asynchronous method to upload a file to Slack.
* @param {object} file - An object containing file payload and metadata to be sent to Slack API. see https://slack.dev/node-slack-sdk/web-api#new-way
* @returns A Promise resolving to an object containing the data returned by Slack API
Expand Down

0 comments on commit fb7785e

Please sign in to comment.