Ajout de quelques fonctions

This commit is contained in:
Matthieu Dubuget 2017-08-26 12:57:48 +02:00
parent 746b7890da
commit a4dc480bf2

View File

@ -247,7 +247,11 @@ sig
val get_id : t -> string [@@js.call]
val mark_read : t -> t [@@js.call]
val mark_unread : t -> t [@@js.call]
val refresh : t -> t [@@js.call]
val is_unread : t -> bool [@@js.call]
val is_starred : t -> bool [@@js.call]
val star : t -> t [@@js.call]
val unstar : t -> t [@@js.call]
val get_thread : t -> thread [@@js.call]
val get_messages : thread -> t list [@@js.call]
@ -268,6 +272,3 @@ sig
val send_email : recipient:string -> subject:string -> body:string -> unit [@@js.global "GmailApp.sendEmail"]
val send_email_with_options : recipient:string -> subject:string -> body:string -> Ojs.t -> unit [@@js.global "GmailApp.sendEmail"]
end