sci_watch.senders.slack_sender module

sci_watch.senders.slack_sender.send_slack(channel_id: str, documents: list[sci_watch.source_wrappers.document.Document], summaries: Optional[list[str]] = None) None[source]

Send message through slack

SLACK_OAUTH_TOKEN env must be set

Parameters:
  • channel_id (str) – Channel name

  • documents (list[Document]) – List of document to send

  • summaries (list[str], default: None) – List of summaries