sig
type update =
Message of int * TelegramApi.Message.message
| EditedMessage of int * TelegramApi.Message.message
| InlineQuery of int * TelegramApi.InlineQuery.inline_query
| ChosenInlineResult of int *
TelegramApi.InlineQuery.chosen_inline_result
| CallbackQuery of int * TelegramApi.CallbackQuery.callback_query
val read : Yojson.Safe.json -> TelegramApi.Update.update
val get_id : TelegramApi.Update.update -> int
end