Answers for "how to send message with slack usin python"

1

slack send message python

import os
import slack

slack_token = os.environ["SLACK_API_TOKEN"]
client = slack.WebClient(token=slack_token)

client.chat_postMessage(
  channel="C0XXXXXX",
  text="Hello from your app! :tada:"
)
Posted by: Guest on January-11-2020

Code answers related to "how to send message with slack usin python"

Python Answers by Framework

Browse Popular Code Answers by Language