Module TelegramApi.KeyboardButton

module KeyboardButton: sig .. end
Used to represent an individual button on a custom keyboard

type keyboard_button = {
   text : string;
   request_contact : bool option;
   request_location : bool option;
}
Represents the button's data
val create : text:string ->
?request_contact:bool option ->
?request_location:bool option ->
unit -> keyboard_button
Create a keyboard_button in a concise manner

Prepare an outgoing keyboard_button by serializing it to JSON

val prepare : keyboard_button -> Yojson.Safe.json