Python API

Slack

class RPA.Slack.Slack

Bases: object

RPA Framework library for Slack operations.

ROBOT_LIBRARY_DOC_FORMAT = 'REST'
ROBOT_LIBRARY_SCOPE = 'GLOBAL'
slack_message_using_webhook(webhook_url: str, channel: str, sender: str, text: str, icon_emoji: str = None)

Send message to Slack channel using webhook.

Parameters
  • webhook_url – needs to be configured for the Slack server

  • channel – channel needs to exist in the Slack server

  • sender – shown in the message post as sender

  • text – text for the message post

  • icon_emoji – icon for the message post, defaults to None