Module Api.Update

module Update: sig .. end

type update = {
   update_id : int;
   message : Api.Message.message option;
}
Stores the info for updates to a chat/group

Create an `update` in a concise manner

val create : update_id:int ->
?message:Api.Message.message option -> unit -> update
Read an `update` out of some JSON
val read : Yojson.Safe.json -> update