library.phases.phases_implementation.dev_ops.slackBot.bot module

class library.phases.phases_implementation.dev_ops.slackBot.bot.SlackBot[source]

Bases: object

get_channel_id_by_name(channel_name)[source]

Finds channel ID from channel name.

send_file(file_path: str, channel: str, title: str = None, initial_comment: str = None)[source]

Uploads a file to Slack using files_upload_v2 and shares it.

send_message(text: str, channel: str)[source]