buildThreadTsWarningMessage (src/WebClient.ts)

node-slack-sdk · packages/web-api/src/WebClient.ts · typescript · MIT
integration, Integration / API

TypeScript client for Slack Web API, providing typed methods and request handling with retries and rate limiting.

// Source: https://github.com/slackapi/node-slack-sdk | License: MIT | Copyright 2014- Slack Technologies, LLC
// Provided via justclaw.it.com; keep this notice with the code.
import { basename } from 'node:path';
import { stringify as qsStringify } from 'node:querystring';
import { TextDecoder } from 'node:util';
import zlib from 'node:zlib';

import pQueue from 'p-queue';
import pRetry, { AbortError } from 'p-retry';
import { ChatStreamer, type ChatStreamerOptions } from './chat-stream';
import { SlackError, WebAPIHTTPError, WebAPIPlatformError, WebAPIRateLimitedError, WebAPIRequestError } from './errors';
import { getAllFileUploadsToComplete, getFileUploadJob, getMultipleFileUploadJobs } from './file-upload';
import delay from './helpers';
import { getUserAgent } from './instrument';
im

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key