module ReplyMarkup: sig
.. end
Markup options for users to reply to sent messages
type
reply_keyboard_markup = {
}
Represents the custom keyboard type
type
inline_keyboard_markup = {
}
Represents a custom inline keyboard
type
reply_keyboard_hide = {
}
Represents the request to hide a keyboard
type
force_reply = {
}
Represents the request to force a reply
type
reply_markup =
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