Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { WebClient } from '@slack/client'
postMessage(teamData: TeamData, channel: string, text: string): Promise<any> {
const web = new WebClient(;
channel: channel.substring(2, channel.length-1),
text: text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment