pi_portal.modules.integrations.slack.client

Pi Portal Slack messaging client.

class pi_portal.modules.integrations.slack.client.SlackClient[source]

Slack messaging client.

configure_logger()

Configure a standardized logger for this class.

Return type:

None

send_file(file_name)[source]

Send a file with the Slack Web client.

Parameters:

file_name (str) – The path to upload to Slack.

Return type:

None

send_message(message)[source]

Send a message with the Slack Web client.

Parameters:

message (str) – The message to send to Slack.

Return type:

None

send_snapshot(file_name)[source]

Send a snapshot to Slack, and erase it locally.

Parameters:

file_name (str) – The path of the file to process.

Return type:

None