module CallbackQuery:sig
..end
type
callback_query = {
|
id : |
|
from : |
|
message : |
|
inline_message_id : |
|
data : |
val create : id:string ->
from:TelegramApi.User.user ->
?message:TelegramApi.Message.message option ->
?inline_message_id:string option ->
data:string -> unit -> callback_query
callback_query
in a concise manner
Read a callback_query
out of some JSON
val read : Yojson.Safe.json -> callback_query