slack.lib
Slack_lib.Context
type t = {
ua : string;
secrets : Slack_t.secrets;
}
val make_secrets : ?slack_access_token:??? -> ?slack_signing_secret:??? -> unit -> Slack_t.secrets
val make : ua:string -> secrets:Slack_t.secrets -> t
val get_secrets_from_file : string -> Slack_j.secrets
val get_ctx : ?secrets_path:??? -> ?ua:??? -> unit -> t
val empty_ctx : unit -> t
val get_slack_access_token : t -> string