RPA.Slack

Send message to Slack channel using webhook.

Arguments

ArgumentTypeDefault valueDescription
webhook_urlstrnullneeds to be configured for the Slack server
channelstrnullchannel needs to exist in the Slack server
senderstrnullshown in the message post as sender
textstrnulltext for the message post
icon_emojistr, NoneNoneicon for the message post, defaults to None
param webhook_url:
 needs to be configured for the Slack server
param channel:channel needs to exist in the Slack server
param sender:shown in the message post as sender
param text:text for the message post
param icon_emoji:
 icon for the message post, defaults to None

Send Slack message by custom JSON content.

Arguments

ArgumentTypeDefault valueDescription
webhookstrnull
messagestr, dictnulldictionary or string defining message content and structure
channelstr, NoneNonecan be used to set channel into message structure
param webhook_url:
 needs to be configured for the Slack server
param message:dictionary or string defining message content and structure
param channel:can be used to set channel into message structure