package slack

  1. Overview
  2. Docs
Slack API implementation

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
md5=f3be3accbb3b77babbc9b672746c603b
sha512=e715aa318eee97c65d254e1a2b052fb08a8e113d11343272c03a13cccd2f74a480678e064bcb6c901624aadcb83d16eabadbd6caa9181465a920cb69aee8f644

doc/slack.lib/Slack_lib/Utils/ApiHelpers/index.html

Module Utils.ApiHelpersSource

ApiHelpers Api_Impl is a functor that wraps Api for simple functionalities such as sending texts

Parameters

module Api : Api.S

Signature

Sourceval send_text_msg : ctx:Context.t -> channel:string -> text:string -> Slack_t.post_message_res Slack_t.slack_response Lwt.t
Sourceval update_text_msg : ctx:Context.t -> channel:string -> update:string -> ts:string -> Slack_t.update_message_res Slack_t.slack_response Lwt.t
Sourceval send_text_msg_as_user : ctx:Context.t -> channel:string -> text:string -> username:string -> ?icon_url:string -> ?icon_emoji:string -> unit -> Slack_t.post_message_res Slack_t.slack_response Lwt.t
Sourceval get_channel_type : ctx:Context.t -> channel:string -> (conversation_type, Slack_t.slack_api_error) Slack_t.http_response Lwt.t
OCaml

Innovation. Community. Security.