Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Slack_lib.Api_local
SourceModule for mocking test requests to slack--will output on Stdio
return the file with a function f applied unless the file is empty; empty file:this is needed to simulate 404 returns from github
val send_message :
ctx:'a ->
msg:Slack_j.post_message_req ->
(Slack_t.post_message_res, 'b) result Lwt.t
val send_message_webhook :
ctx:'a ->
url:string ->
msg:Slack_j.post_message_req ->
(unit, 'b) result Lwt.t
val update_message :
ctx:'a ->
msg:Slack_j.update_message_req ->
(Slack_t.update_message_res, 'b) result Lwt.t
val upload_file :
ctx:'a ->
file:Slack_j.files_upload_req ->
(Slack_t.files_upload_res, [> `Other of string ]) result Lwt.t
val join_conversation :
ctx:'a ->
channel:Slack_t.conversations_join_req ->
(Slack_j.conversations_join_res, [> `Other of string ]) result Lwt.t
val update_usergroup_users :
ctx:'a ->
usergroup:Slack_t.update_usergroups_users_req ->
(Slack_j.update_usergroups_users_res, [> `Other of string ]) result Lwt.t
val get_replies :
ctx:'a ->
conversation:Slack_t.conversations_replies_req ->
(Slack_j.conversations_replies_res, [> `Other of string ]) result Lwt.t
val get_conversations_info :
ctx:'a ->
conversation:Slack_t.conversations_info_req ->
(Slack_j.conversations_info_res, [> `Other of string ]) result Lwt.t
val get_user :
ctx:'a ->
user:Slack_t.user_info_req ->
(Slack_j.user_info_res, [> `Other of string ]) result Lwt.t
val list_usergroups :
ctx:'a ->
req:Slack_t.list_usergroups_req ->
(Slack_j.list_usergroups_res, [> `Other of string ]) result Lwt.t
val list_usergroup_users :
ctx:'a ->
usergroup:Slack_t.list_usergroup_users_req ->
(Slack_j.list_usergroup_users_res, [> `Other of string ]) result Lwt.t
val list_users :
ctx:'a ->
req:Slack_t.list_users_req ->
(Slack_j.list_users_res, [> `Other of string ]) result Lwt.t