Module TelegramApi.ReplyMarkup

module ReplyMarkup: sig .. end
Markup options for users to reply to sent messages

type reply_keyboard_markup = {
   keyboard : TelegramApi.KeyboardButton.keyboard_button list list;
   resize_keyboard : bool option;
   one_time_keyboard : bool option;
   selective : bool option;
}
Represents the custom keyboard type
type inline_keyboard_markup = {
   inline_keyboard : TelegramApi.InlineKeyboardButton.inline_keyboard_button list list;
}
Represents a custom inline keyboard
type reply_keyboard_hide = {
   selective : bool option;
}
Represents the request to hide a keyboard
type force_reply = {
   selective : bool option;
}
Represents the request to force a reply
type reply_markup = 
| ReplyKeyboardMarkup of reply_keyboard_markup
| InlineKeyboardMarkup of inline_keyboard_markup
| ReplyKeyboardHide of reply_keyboard_hide
| ForceReply of force_reply
Represents all possible reply markup options
val prepare : reply_markup -> Yojson.Safe.json
val create_reply_keyboard_markup : keyboard:TelegramApi.KeyboardButton.keyboard_button list list ->
?resize_keyboard:bool option ->
?one_time_keyboard:bool option ->
?selective:bool option -> unit -> reply_markup
Create a ReplyKeyboardMarkup : reply_markup in a concise way
val create_inline_keyboard_markup : inline_keyboard:TelegramApi.InlineKeyboardButton.inline_keyboard_button list
list ->
unit -> reply_markup
Create an InlineKeyboardMarkup : reply_markup in a concise way
val create_reply_keyboard_hide : ?selective:bool option -> unit -> reply_markup
Create a ReplyKeyboardHide : reply_markup in a concise way
val create_force_reply : ?selective:bool option -> unit -> reply_markup
Create a ForceReply : reply_markup in a concise way