package telegraml

  1. Overview
  2. Docs
type update =
  1. | Message of int * Message.message
  2. | EditedMessage of int * Message.message
  3. | InlineQuery of int * InlineQuery.inline_query
  4. | ChosenInlineResult of int * InlineQuery.chosen_inline_result
  5. | CallbackQuery of int * CallbackQuery.callback_query

Stores the info for updates to a chat/group

val read : Yojson.Safe.json -> update

Read an update out of some JSON

val get_id : update -> int

Get the update_id out of an arbitrary update object

OCaml

Innovation. Community. Security.