codebots.bots.slackbot.SlackBot.send_message ¶
Method
- SlackBot. send_message ( verbose = False , ** kwargs ) [source] ¶
-
Send a message to a channel.
- Parameters
-
- message str, optional
-
message to send over slack. If not provided a default message is sent.
- channel str, optional.
-
slack channel where the message is sent to. If not provided, the message is sent to general .
- verbose bool, optional
-
print WebClient respons, by default False
Notes
Make sure that the bot has been previously added the bot to the channel.