Module TelegramApi.InlineKeyboardButton

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

type inline_keyboard_button = {
   text : string;
   url : string option;
   callback_data : string option;
   switch_inline_query : string option;
}
Represents the button's data
val create : text:string ->
?url:string option ->
?callback_data:string option ->
?switch_inline_query:string option ->
unit -> inline_keyboard_button
Create an inline_keyboard_button in a concise manner

Prepare an outgoing inline_keyboard_button by serializing it to JSON

val prepare : inline_keyboard_button -> Yojson.Safe.json