From 53b44cac03e5330043746ad1758db6d58274caa0 Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Thu, 31 Oct 2024 19:38:51 -0700 Subject: [PATCH] fix: remove custom typings and depend on api results instead --- src/client.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/client.js b/src/client.js index 49aa799..3bff0bc 100644 --- a/src/client.js +++ b/src/client.js @@ -11,21 +11,6 @@ import SlackError from "./errors.js"; * @see {@link https://api.slack.com/methods/} */ export default class Client { - /** - * Known response values from messages that are included in outputs. - * @typedef MessageResultDetails - * @prop {string} [thread_ts] - timestamp of the top threaded message. - */ - - /** - * Possible response values related to messages from the API. - * @typedef MessageResult - Possible message values from API methods. - * @prop {MessageResultDetails} [message] - additional message details. - * @prop {string} [ts] - timestamp of the message. - * @prop {string} [channel] - ID of the channel. - * @see {@link https://api.slack.com/methods/chat.postMessage#examples} - */ - /** * Perform the API call configured with the input payload. * @param {Config} config