package telegraml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Telegram Bot API for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v2.2.0.tar.gz
sha256=b07ec61353d3a245f81c4c510a41b58b75c5ea17f0b1bf3df22b1c3601bd45c4
md5=2fdd7c68eec4b7b904d9c4e536395a70
doc/telegraml/TelegramApi/ReplyMarkup/index.html
Module TelegramApi.ReplyMarkupSource
Markup options for users to reply to sent messages
Source
type reply_keyboard_markup = {keyboard : KeyboardButton.keyboard_button list list;resize_keyboard : bool option;one_time_keyboard : bool option;selective : bool option;
}Represents the custom keyboard type
Source
type inline_keyboard_markup = {inline_keyboard : InlineKeyboardButton.inline_keyboard_button list list;
}Represents a custom inline keyboard
Represents the request to hide a keyboard
Represents the request to force a reply
Source
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
Source
val create_reply_keyboard_markup :
keyboard:KeyboardButton.keyboard_button list list ->
?resize_keyboard:bool option ->
?one_time_keyboard:bool option ->
?selective:bool option ->
unit ->
reply_markupCreate a ReplyKeyboardMarkup : reply_markup in a concise way
Source
val create_inline_keyboard_markup :
inline_keyboard:InlineKeyboardButton.inline_keyboard_button list list ->
unit ->
reply_markupCreate an InlineKeyboardMarkup : reply_markup in a concise way
Create a ReplyKeyboardHide : reply_markup in a concise way
Create a ForceReply : reply_markup in a concise way
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>