package slack

  1. Overview
  2. Docs

Module Slack_lib.ContextSource

Sourcetype t = {
  1. ua : string;
  2. secrets : Slack_t.secrets;
}
Sourceval make_secrets : ?slack_access_token:??? -> ?slack_signing_secret:??? -> unit -> Slack_t.secrets
Sourceval make : ua:string -> secrets:Slack_t.secrets -> t
Sourceval get_secrets_from_file : string -> Slack_j.secrets
Sourceval get_ctx : ?secrets_path:??? -> ?ua:??? -> unit -> t
Sourceval empty_ctx : unit -> t
Sourceval get_slack_access_token : t -> string