package slack
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.ApiHelpers
Source
ApiHelpers Api_Impl
is a functor that wraps Api for simple functionalities such as sending texts
Parameters
Signature
Source
val send_text_msg :
ctx:Context.t ->
channel:string ->
text:string ->
Slack_t.post_message_res Slack_t.slack_response Lwt.t
Source
val update_text_msg :
ctx:Context.t ->
channel:string ->
update:string ->
ts:string ->
Slack_t.update_message_res Slack_t.slack_response Lwt.t
Source
val 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
Source
val get_channel_type :
ctx:Context.t ->
channel:string ->
(conversation_type, Slack_t.slack_api_error) Slack_t.http_response Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page