Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type usergroup = Slack_t.usergroup = {
id : string;
team_id : string option;
is_usergroup : bool;
name : string option;
description : string option;
handle : string option;
is_external : bool;
date_create : int option;
date_update : int option;
date_delete : int option;
created_by : string option;
updated_by : string option;
deleted_by : string option;
users : string list option;
user_count : int option;
}
type profile = Slack_t.profile = {
display_name : string;
display_name_normalized : string;
email : string option;
first_name : string;
last_name : string;
phone : string option;
pronouns : string option;
real_name : string;
real_name_normalized : string;
status_emoji : string option;
status_expiration : int option;
status_text : string option;
team : string;
title : string option;
image_24 : string option;
image_32 : string option;
image_48 : string option;
image_72 : string option;
image_192 : string option;
image_512 : string option;
}
type user = Slack_t.user = {
id : string;
deleted : bool;
has_2fa : bool;
is_admin : bool;
is_app_user : bool;
is_bot : bool;
is_invited_user : bool;
is_owner : bool;
is_restricted : bool;
is_stranger : bool;
is_ultra_restricted : bool;
locale : string option;
profile : profile;
two_factor_type : two_fa_type;
tz : string option;
tz_label : string option;
tz_offset : int;
updated : int;
}
val make_user_info_req :
user:string ->
?include_locale:bool ->
unit ->
user_info_req
type update_usergroups_users_res = Slack_t.update_usergroups_users_res = {
ok : bool;
usergroup : usergroup;
}
val make_update_usergroups_users_req :
usergroup:string ->
?users:string list ->
?include_count:bool ->
?team_id:string ->
unit ->
update_usergroups_users_req
val make_text_object : text_type:text_object_type -> text:string -> text_object
val make_message_text_block : text:text_object -> message_text_block
val make_message_field :
?title:string ->
value:string ->
short:bool ->
unit ->
message_field
type message_attachment = Slack_t.message_attachment = {
fallback : string option;
mrkdwn_in : string list option;
color : string option;
pretext : string option;
title : string option;
title_link : string option;
text : string option;
fields : message_field list option;
image_url : string option;
thumb_url : string option;
ts : int option;
}
val make_message_attachment :
?fallback:string ->
?mrkdwn_in:string list ->
?color:string ->
?pretext:string ->
?author_name:string ->
?author_link:string ->
?author_icon:string ->
?title:string ->
?title_link:string ->
?text:string ->
?fields:message_field list ->
?image_url:string ->
?thumb_url:string ->
?ts:int ->
?footer:string ->
unit ->
message_attachment
type update_message_req = Slack_t.update_message_req = {
channel : string;
ts : string;
text : string option;
attachments : message_attachment list option;
blocks : message_block list option;
link_names : bool option;
metadata : string option;
parse : string option;
reply_broadcast : bool option;
}
val make_update_message_req :
channel:string ->
ts:string ->
?text:string ->
?attachments:message_attachment list ->
?blocks:message_block list ->
?link_names:bool ->
?metadata:string ->
?parse:string ->
?reply_broadcast:bool ->
unit ->
update_message_req
type timestamp_int = Slack_t.timestamp_int
type slack_api_error = Slack_t.slack_api_error
type 'ok slack_response = 'ok Slack_t.slack_response
type post_message_req = Slack_t.post_message_req = {
channel : string;
text : string option;
attachments : message_attachment list option;
blocks : message_block list option;
username : string option;
icon_url : string option;
icon_emoji : string option;
metadata : string option;
mrkdwn : bool option;
parse : string option;
reply_broadcast : bool option;
thread_ts : string option;
unfurl_links : bool option;
unfurl_media : bool option;
}
val make_post_message_req :
channel:string ->
?text:string ->
?attachments:message_attachment list ->
?blocks:message_block list ->
?username:string ->
?icon_url:string ->
?icon_emoji:string ->
?metadata:string ->
?mrkdwn:bool ->
?parse:string ->
?reply_broadcast:bool ->
?thread_ts:string ->
?unfurl_links:bool ->
?unfurl_media:bool ->
unit ->
post_message_req
type message_event = Slack_t.message_event = {
subtype : string option;
channel : string;
user : string option;
text : string option;
ts : string;
bot_id : string option;
thread_ts : string option;
}
type list_users_res = Slack_t.list_users_res = {
ok : bool;
members : user list;
response_metadata : (string * string) list;
}
val make_list_users_req :
?cursor:string ->
?include_locale:bool ->
?limit:int ->
?team_id:string ->
unit ->
list_users_req
type list_usergroups_req = Slack_t.list_usergroups_req = {
include_count : bool option;
team_id : string option;
include_users : bool option;
include_disabled : bool option;
}
val make_list_usergroups_req :
?include_count:bool ->
?team_id:string ->
?include_users:bool ->
?include_disabled:bool ->
unit ->
list_usergroups_req
val make_list_usergroup_users_req :
usergroup:string ->
?team_id:string ->
?include_disabled:bool ->
unit ->
list_usergroup_users_req
type json = Yojson.Basic.t
type file = Slack_t.file = {
id : string;
name : string option;
title : string option;
mimetype : string option;
filetype : string option;
pretty_type : string option;
user : string option;
size : int option;
channels : string list;
ims : string list;
groups : string list;
permalink : string option;
permalink_public : string option;
}
type files_upload_req = Slack_t.files_upload_req = {
channels : string option;
content : string option;
filename : string option;
filetype : string option;
initial_comment : string option;
thread_ts : string option;
title : string option;
}
val make_files_upload_req :
?channels:string ->
?content:string ->
?filename:string ->
?filetype:string ->
?initial_comment:string ->
?thread_ts:string ->
?title:string ->
unit ->
files_upload_req
type event_callback_notification = Slack_t.event_callback_notification = {
token : string;
team_id : string;
api_app_id : string;
event : event;
event_id : string;
event_time : timestamp_int;
}
type event_notification = Slack_t.event_notification =
| Event_callback of event_callback_notification
| Url_verification of url_verification_notification
type conversation_reply = Slack_t.conversation_reply = {
type_ : string;
ts : string;
thread_ts : string option;
user : string option;
text : string option;
reply_count : int option;
subscribed : bool option;
last_read : string option;
unread_count : int option;
parent_user_id : string option;
}
type conversations_replies_res = Slack_t.conversations_replies_res = {
messages : conversation_reply list option;
ok : bool;
has_more : bool option;
response_metadata : (string * json) list;
}
type conversations_replies_req = Slack_t.conversations_replies_req = {
channel : string;
ts : string;
cursor : string option;
include_all_metadata : bool option;
inclusive : bool option;
latest : string option;
limit : int option;
oldest : string option;
}
val make_conversations_replies_req :
channel:string ->
ts:string ->
?cursor:string ->
?include_all_metadata:bool ->
?inclusive:bool ->
?latest:string ->
?limit:int ->
?oldest:string ->
unit ->
conversations_replies_req
type conversation = Slack_t.conversation = {
id : string;
name : string option;
is_channel : bool;
is_group : bool;
is_im : bool;
is_member : bool option;
user : string option;
locale : string option;
num_members : int option;
topic : created_value option;
purpose : created_value option;
}
type conversations_join_res = Slack_t.conversations_join_res = {
channel : conversation;
warning : string option;
response_metadata : (string * json) list;
}
val make_conversations_join_req : channel:string -> conversations_join_req
val make_conversations_info_req :
channel:string ->
?include_locale:bool ->
?include_num_members:bool ->
unit ->
conversations_info_req
type chat_unfurl_req = Slack_t.chat_unfurl_req = {
channel : string;
ts : string;
unfurls : (string * unfurl) list;
}
val make_chat_unfurl_req :
channel:string ->
ts:string ->
?unfurls:(string * unfurl) list ->
unit ->
chat_unfurl_req
val string_of_usergroup : ?len:int -> usergroup -> string
Serialize a value of type usergroup
into a JSON string.
val read_usergroup : Yojson.Safe.lexer_state -> Lexing.lexbuf -> usergroup
Input JSON data of type usergroup
.
val write_two_fa_type : Buffer.t -> two_fa_type -> unit
Output a JSON value of type two_fa_type
.
val string_of_two_fa_type : ?len:int -> two_fa_type -> string
Serialize a value of type two_fa_type
into a JSON string.
val read_two_fa_type : Yojson.Safe.lexer_state -> Lexing.lexbuf -> two_fa_type
Input JSON data of type two_fa_type
.
val two_fa_type_of_string : string -> two_fa_type
Deserialize JSON data of type two_fa_type
.
val string_of_profile : ?len:int -> profile -> string
Serialize a value of type profile
into a JSON string.
val read_profile : Yojson.Safe.lexer_state -> Lexing.lexbuf -> profile
Input JSON data of type profile
.
val read_user : Yojson.Safe.lexer_state -> Lexing.lexbuf -> user
Input JSON data of type user
.
val write_user_info_res : Buffer.t -> user_info_res -> unit
Output a JSON value of type user_info_res
.
val string_of_user_info_res : ?len:int -> user_info_res -> string
Serialize a value of type user_info_res
into a JSON string.
val read_user_info_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
user_info_res
Input JSON data of type user_info_res
.
val user_info_res_of_string : string -> user_info_res
Deserialize JSON data of type user_info_res
.
val write_user_info_req : Buffer.t -> user_info_req -> unit
Output a JSON value of type user_info_req
.
val string_of_user_info_req : ?len:int -> user_info_req -> string
Serialize a value of type user_info_req
into a JSON string.
val read_user_info_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
user_info_req
Input JSON data of type user_info_req
.
val user_info_req_of_string : string -> user_info_req
Deserialize JSON data of type user_info_req
.
val write_url_verification_notification :
Buffer.t ->
url_verification_notification ->
unit
Output a JSON value of type url_verification_notification
.
val string_of_url_verification_notification :
?len:int ->
url_verification_notification ->
string
Serialize a value of type url_verification_notification
into a JSON string.
val read_url_verification_notification :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
url_verification_notification
Input JSON data of type url_verification_notification
.
val url_verification_notification_of_string :
string ->
url_verification_notification
Deserialize JSON data of type url_verification_notification
.
val write_update_usergroups_users_res :
Buffer.t ->
update_usergroups_users_res ->
unit
Output a JSON value of type update_usergroups_users_res
.
val string_of_update_usergroups_users_res :
?len:int ->
update_usergroups_users_res ->
string
Serialize a value of type update_usergroups_users_res
into a JSON string.
val read_update_usergroups_users_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
update_usergroups_users_res
Input JSON data of type update_usergroups_users_res
.
val update_usergroups_users_res_of_string :
string ->
update_usergroups_users_res
Deserialize JSON data of type update_usergroups_users_res
.
val write_update_usergroups_users_req :
Buffer.t ->
update_usergroups_users_req ->
unit
Output a JSON value of type update_usergroups_users_req
.
val string_of_update_usergroups_users_req :
?len:int ->
update_usergroups_users_req ->
string
Serialize a value of type update_usergroups_users_req
into a JSON string.
val read_update_usergroups_users_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
update_usergroups_users_req
Input JSON data of type update_usergroups_users_req
.
val update_usergroups_users_req_of_string :
string ->
update_usergroups_users_req
Deserialize JSON data of type update_usergroups_users_req
.
val write_update_message_res : Buffer.t -> update_message_res -> unit
Output a JSON value of type update_message_res
.
val string_of_update_message_res : ?len:int -> update_message_res -> string
Serialize a value of type update_message_res
into a JSON string.
val read_update_message_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
update_message_res
Input JSON data of type update_message_res
.
val update_message_res_of_string : string -> update_message_res
Deserialize JSON data of type update_message_res
.
val write_text_object_type : Buffer.t -> text_object_type -> unit
Output a JSON value of type text_object_type
.
val string_of_text_object_type : ?len:int -> text_object_type -> string
Serialize a value of type text_object_type
into a JSON string.
val read_text_object_type :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
text_object_type
Input JSON data of type text_object_type
.
val text_object_type_of_string : string -> text_object_type
Deserialize JSON data of type text_object_type
.
val write_text_object : Buffer.t -> text_object -> unit
Output a JSON value of type text_object
.
val string_of_text_object : ?len:int -> text_object -> string
Serialize a value of type text_object
into a JSON string.
val read_text_object : Yojson.Safe.lexer_state -> Lexing.lexbuf -> text_object
Input JSON data of type text_object
.
val text_object_of_string : string -> text_object
Deserialize JSON data of type text_object
.
val write_message_text_block : Buffer.t -> message_text_block -> unit
Output a JSON value of type message_text_block
.
val string_of_message_text_block : ?len:int -> message_text_block -> string
Serialize a value of type message_text_block
into a JSON string.
val read_message_text_block :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
message_text_block
Input JSON data of type message_text_block
.
val message_text_block_of_string : string -> message_text_block
Deserialize JSON data of type message_text_block
.
val write_message_field : Buffer.t -> message_field -> unit
Output a JSON value of type message_field
.
val string_of_message_field : ?len:int -> message_field -> string
Serialize a value of type message_field
into a JSON string.
val read_message_field :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
message_field
Input JSON data of type message_field
.
val message_field_of_string : string -> message_field
Deserialize JSON data of type message_field
.
val write_message_block : Buffer.t -> message_block -> unit
Output a JSON value of type message_block
.
val string_of_message_block : ?len:int -> message_block -> string
Serialize a value of type message_block
into a JSON string.
val read_message_block :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
message_block
Input JSON data of type message_block
.
val message_block_of_string : string -> message_block
Deserialize JSON data of type message_block
.
val write_message_attachment : Buffer.t -> message_attachment -> unit
Output a JSON value of type message_attachment
.
val string_of_message_attachment : ?len:int -> message_attachment -> string
Serialize a value of type message_attachment
into a JSON string.
val read_message_attachment :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
message_attachment
Input JSON data of type message_attachment
.
val message_attachment_of_string : string -> message_attachment
Deserialize JSON data of type message_attachment
.
val write_update_message_req : Buffer.t -> update_message_req -> unit
Output a JSON value of type update_message_req
.
val string_of_update_message_req : ?len:int -> update_message_req -> string
Serialize a value of type update_message_req
into a JSON string.
val read_update_message_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
update_message_req
Input JSON data of type update_message_req
.
val update_message_req_of_string : string -> update_message_req
Deserialize JSON data of type update_message_req
.
val write_unfurl_block : Buffer.t -> unfurl_block -> unit
Output a JSON value of type unfurl_block
.
val string_of_unfurl_block : ?len:int -> unfurl_block -> string
Serialize a value of type unfurl_block
into a JSON string.
val read_unfurl_block :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
unfurl_block
Input JSON data of type unfurl_block
.
val unfurl_block_of_string : string -> unfurl_block
Deserialize JSON data of type unfurl_block
.
val string_of_unfurl : ?len:int -> unfurl -> string
Serialize a value of type unfurl
into a JSON string.
val read_unfurl : Yojson.Safe.lexer_state -> Lexing.lexbuf -> unfurl
Input JSON data of type unfurl
.
val write_timestamp_int : Buffer.t -> timestamp_int -> unit
Output a JSON value of type timestamp_int
.
val string_of_timestamp_int : ?len:int -> timestamp_int -> string
Serialize a value of type timestamp_int
into a JSON string.
val read_timestamp_int :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
timestamp_int
Input JSON data of type timestamp_int
.
val timestamp_int_of_string : string -> timestamp_int
Deserialize JSON data of type timestamp_int
.
val write_slack_api_error : Buffer.t -> slack_api_error -> unit
Output a JSON value of type slack_api_error
.
val string_of_slack_api_error : ?len:int -> slack_api_error -> string
Serialize a value of type slack_api_error
into a JSON string.
val read_slack_api_error :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
slack_api_error
Input JSON data of type slack_api_error
.
val slack_api_error_of_string : string -> slack_api_error
Deserialize JSON data of type slack_api_error
.
val write_http_response :
(Buffer.t -> 'ok -> unit) ->
(Buffer.t -> 'err -> unit) ->
Buffer.t ->
('ok, 'err) http_response ->
unit
Output a JSON value of type http_response
.
val string_of_http_response :
(Buffer.t -> 'ok -> unit) ->
(Buffer.t -> 'err -> unit) ->
?len:int ->
('ok, 'err) http_response ->
string
Serialize a value of type http_response
into a JSON string.
val read_http_response :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'err) ->
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
('ok, 'err) http_response
Input JSON data of type http_response
.
val http_response_of_string :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'err) ->
string ->
('ok, 'err) http_response
Deserialize JSON data of type http_response
.
val write_slack_response :
(Buffer.t -> 'ok -> unit) ->
Buffer.t ->
'ok slack_response ->
unit
Output a JSON value of type slack_response
.
val string_of_slack_response :
(Buffer.t -> 'ok -> unit) ->
?len:int ->
'ok slack_response ->
string
Serialize a value of type slack_response
into a JSON string.
val read_slack_response :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
'ok slack_response
Input JSON data of type slack_response
.
val slack_response_of_string :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
string ->
'ok slack_response
Deserialize JSON data of type slack_response
.
val string_of_secrets : ?len:int -> secrets -> string
Serialize a value of type secrets
into a JSON string.
val read_secrets : Yojson.Safe.lexer_state -> Lexing.lexbuf -> secrets
Input JSON data of type secrets
.
val write_post_message_res : Buffer.t -> post_message_res -> unit
Output a JSON value of type post_message_res
.
val string_of_post_message_res : ?len:int -> post_message_res -> string
Serialize a value of type post_message_res
into a JSON string.
val read_post_message_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
post_message_res
Input JSON data of type post_message_res
.
val post_message_res_of_string : string -> post_message_res
Deserialize JSON data of type post_message_res
.
val write_post_message_req : Buffer.t -> post_message_req -> unit
Output a JSON value of type post_message_req
.
val string_of_post_message_req : ?len:int -> post_message_req -> string
Serialize a value of type post_message_req
into a JSON string.
val read_post_message_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
post_message_req
Input JSON data of type post_message_req
.
val post_message_req_of_string : string -> post_message_req
Deserialize JSON data of type post_message_req
.
val string_of_ok_res : ?len:int -> ok_res -> string
Serialize a value of type ok_res
into a JSON string.
val read_ok_res : Yojson.Safe.lexer_state -> Lexing.lexbuf -> ok_res
Input JSON data of type ok_res
.
val write_message_event : Buffer.t -> message_event -> unit
Output a JSON value of type message_event
.
val string_of_message_event : ?len:int -> message_event -> string
Serialize a value of type message_event
into a JSON string.
val read_message_event :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
message_event
Input JSON data of type message_event
.
val message_event_of_string : string -> message_event
Deserialize JSON data of type message_event
.
val write_list_users_res : Buffer.t -> list_users_res -> unit
Output a JSON value of type list_users_res
.
val string_of_list_users_res : ?len:int -> list_users_res -> string
Serialize a value of type list_users_res
into a JSON string.
val read_list_users_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_users_res
Input JSON data of type list_users_res
.
val list_users_res_of_string : string -> list_users_res
Deserialize JSON data of type list_users_res
.
val write_list_users_req : Buffer.t -> list_users_req -> unit
Output a JSON value of type list_users_req
.
val string_of_list_users_req : ?len:int -> list_users_req -> string
Serialize a value of type list_users_req
into a JSON string.
val read_list_users_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_users_req
Input JSON data of type list_users_req
.
val list_users_req_of_string : string -> list_users_req
Deserialize JSON data of type list_users_req
.
val write_list_usergroups_res : Buffer.t -> list_usergroups_res -> unit
Output a JSON value of type list_usergroups_res
.
val string_of_list_usergroups_res : ?len:int -> list_usergroups_res -> string
Serialize a value of type list_usergroups_res
into a JSON string.
val read_list_usergroups_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_usergroups_res
Input JSON data of type list_usergroups_res
.
val list_usergroups_res_of_string : string -> list_usergroups_res
Deserialize JSON data of type list_usergroups_res
.
val write_list_usergroups_req : Buffer.t -> list_usergroups_req -> unit
Output a JSON value of type list_usergroups_req
.
val string_of_list_usergroups_req : ?len:int -> list_usergroups_req -> string
Serialize a value of type list_usergroups_req
into a JSON string.
val read_list_usergroups_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_usergroups_req
Input JSON data of type list_usergroups_req
.
val list_usergroups_req_of_string : string -> list_usergroups_req
Deserialize JSON data of type list_usergroups_req
.
val write_list_usergroup_users_res :
Buffer.t ->
list_usergroup_users_res ->
unit
Output a JSON value of type list_usergroup_users_res
.
val string_of_list_usergroup_users_res :
?len:int ->
list_usergroup_users_res ->
string
Serialize a value of type list_usergroup_users_res
into a JSON string.
val read_list_usergroup_users_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_usergroup_users_res
Input JSON data of type list_usergroup_users_res
.
val list_usergroup_users_res_of_string : string -> list_usergroup_users_res
Deserialize JSON data of type list_usergroup_users_res
.
val write_list_usergroup_users_req :
Buffer.t ->
list_usergroup_users_req ->
unit
Output a JSON value of type list_usergroup_users_req
.
val string_of_list_usergroup_users_req :
?len:int ->
list_usergroup_users_req ->
string
Serialize a value of type list_usergroup_users_req
into a JSON string.
val read_list_usergroup_users_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
list_usergroup_users_req
Input JSON data of type list_usergroup_users_req
.
val list_usergroup_users_req_of_string : string -> list_usergroup_users_req
Deserialize JSON data of type list_usergroup_users_req
.
Output a JSON value of type link_shared_source
.
Serialize a value of type link_shared_source
into a JSON string.
Input JSON data of type link_shared_source
.
Deserialize JSON data of type link_shared_source
.
Output a JSON value of type link_shared_link
.
Serialize a value of type link_shared_link
into a JSON string.
Input JSON data of type link_shared_link
.
Deserialize JSON data of type link_shared_link
.
Output a JSON value of type link_shared_event
.
Serialize a value of type link_shared_event
into a JSON string.
Input JSON data of type link_shared_event
.
Deserialize JSON data of type link_shared_event
.
val read_json : Yojson.Safe.lexer_state -> Lexing.lexbuf -> json
Input JSON data of type json
.
val read_file : Yojson.Safe.lexer_state -> Lexing.lexbuf -> file
Input JSON data of type file
.
val write_files_upload_res : Buffer.t -> files_upload_res -> unit
Output a JSON value of type files_upload_res
.
val string_of_files_upload_res : ?len:int -> files_upload_res -> string
Serialize a value of type files_upload_res
into a JSON string.
val read_files_upload_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
files_upload_res
Input JSON data of type files_upload_res
.
val files_upload_res_of_string : string -> files_upload_res
Deserialize JSON data of type files_upload_res
.
val write_files_upload_req : Buffer.t -> files_upload_req -> unit
Output a JSON value of type files_upload_req
.
val string_of_files_upload_req : ?len:int -> files_upload_req -> string
Serialize a value of type files_upload_req
into a JSON string.
val read_files_upload_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
files_upload_req
Input JSON data of type files_upload_req
.
val files_upload_req_of_string : string -> files_upload_req
Deserialize JSON data of type files_upload_req
.
val string_of_event : ?len:int -> event -> string
Serialize a value of type event
into a JSON string.
val read_event : Yojson.Safe.lexer_state -> Lexing.lexbuf -> event
Input JSON data of type event
.
val write_event_callback_notification :
Buffer.t ->
event_callback_notification ->
unit
Output a JSON value of type event_callback_notification
.
val string_of_event_callback_notification :
?len:int ->
event_callback_notification ->
string
Serialize a value of type event_callback_notification
into a JSON string.
val read_event_callback_notification :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
event_callback_notification
Input JSON data of type event_callback_notification
.
val event_callback_notification_of_string :
string ->
event_callback_notification
Deserialize JSON data of type event_callback_notification
.
val write_event_notification : Buffer.t -> event_notification -> unit
Output a JSON value of type event_notification
.
val string_of_event_notification : ?len:int -> event_notification -> string
Serialize a value of type event_notification
into a JSON string.
val read_event_notification :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
event_notification
Input JSON data of type event_notification
.
val event_notification_of_string : string -> event_notification
Deserialize JSON data of type event_notification
.
val write_created_value : Buffer.t -> created_value -> unit
Output a JSON value of type created_value
.
val string_of_created_value : ?len:int -> created_value -> string
Serialize a value of type created_value
into a JSON string.
val read_created_value :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
created_value
Input JSON data of type created_value
.
val created_value_of_string : string -> created_value
Deserialize JSON data of type created_value
.
val write_conversation_reply : Buffer.t -> conversation_reply -> unit
Output a JSON value of type conversation_reply
.
val string_of_conversation_reply : ?len:int -> conversation_reply -> string
Serialize a value of type conversation_reply
into a JSON string.
val read_conversation_reply :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversation_reply
Input JSON data of type conversation_reply
.
val conversation_reply_of_string : string -> conversation_reply
Deserialize JSON data of type conversation_reply
.
val write_conversations_replies_res :
Buffer.t ->
conversations_replies_res ->
unit
Output a JSON value of type conversations_replies_res
.
val string_of_conversations_replies_res :
?len:int ->
conversations_replies_res ->
string
Serialize a value of type conversations_replies_res
into a JSON string.
val read_conversations_replies_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_replies_res
Input JSON data of type conversations_replies_res
.
val conversations_replies_res_of_string : string -> conversations_replies_res
Deserialize JSON data of type conversations_replies_res
.
val write_conversations_replies_req :
Buffer.t ->
conversations_replies_req ->
unit
Output a JSON value of type conversations_replies_req
.
val string_of_conversations_replies_req :
?len:int ->
conversations_replies_req ->
string
Serialize a value of type conversations_replies_req
into a JSON string.
val read_conversations_replies_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_replies_req
Input JSON data of type conversations_replies_req
.
val conversations_replies_req_of_string : string -> conversations_replies_req
Deserialize JSON data of type conversations_replies_req
.
val write_conversation : Buffer.t -> conversation -> unit
Output a JSON value of type conversation
.
val string_of_conversation : ?len:int -> conversation -> string
Serialize a value of type conversation
into a JSON string.
val read_conversation :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversation
Input JSON data of type conversation
.
val conversation_of_string : string -> conversation
Deserialize JSON data of type conversation
.
val write_conversations_join_res : Buffer.t -> conversations_join_res -> unit
Output a JSON value of type conversations_join_res
.
val string_of_conversations_join_res :
?len:int ->
conversations_join_res ->
string
Serialize a value of type conversations_join_res
into a JSON string.
val read_conversations_join_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_join_res
Input JSON data of type conversations_join_res
.
val conversations_join_res_of_string : string -> conversations_join_res
Deserialize JSON data of type conversations_join_res
.
val write_conversations_join_req : Buffer.t -> conversations_join_req -> unit
Output a JSON value of type conversations_join_req
.
val string_of_conversations_join_req :
?len:int ->
conversations_join_req ->
string
Serialize a value of type conversations_join_req
into a JSON string.
val read_conversations_join_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_join_req
Input JSON data of type conversations_join_req
.
val conversations_join_req_of_string : string -> conversations_join_req
Deserialize JSON data of type conversations_join_req
.
val write_conversations_info_res : Buffer.t -> conversations_info_res -> unit
Output a JSON value of type conversations_info_res
.
val string_of_conversations_info_res :
?len:int ->
conversations_info_res ->
string
Serialize a value of type conversations_info_res
into a JSON string.
val read_conversations_info_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_info_res
Input JSON data of type conversations_info_res
.
val conversations_info_res_of_string : string -> conversations_info_res
Deserialize JSON data of type conversations_info_res
.
val write_conversations_info_req : Buffer.t -> conversations_info_req -> unit
Output a JSON value of type conversations_info_req
.
val string_of_conversations_info_req :
?len:int ->
conversations_info_req ->
string
Serialize a value of type conversations_info_req
into a JSON string.
val read_conversations_info_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
conversations_info_req
Input JSON data of type conversations_info_req
.
val conversations_info_req_of_string : string -> conversations_info_req
Deserialize JSON data of type conversations_info_req
.
val write_chat_unfurl_req : Buffer.t -> chat_unfurl_req -> unit
Output a JSON value of type chat_unfurl_req
.
val string_of_chat_unfurl_req : ?len:int -> chat_unfurl_req -> string
Serialize a value of type chat_unfurl_req
into a JSON string.
val read_chat_unfurl_req :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
chat_unfurl_req
Input JSON data of type chat_unfurl_req
.
val chat_unfurl_req_of_string : string -> chat_unfurl_req
Deserialize JSON data of type chat_unfurl_req
.
val write_auth_test_res : Buffer.t -> auth_test_res -> unit
Output a JSON value of type auth_test_res
.
val string_of_auth_test_res : ?len:int -> auth_test_res -> string
Serialize a value of type auth_test_res
into a JSON string.
val read_auth_test_res :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
auth_test_res
Input JSON data of type auth_test_res
.
val auth_test_res_of_string : string -> auth_test_res
Deserialize JSON data of type auth_test_res
.