Display keyboard on send message function
Yawolf opened this issue · 0 comments
Yawolf commented
A function that creates de proper JSON for a InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardHide or ForceReply.
Using this function will not be necessary to write the json, it will by generated.
e.g:
Yocingo,send_message id, "yes?", false, nil, gen_reply_keyboard_markup(...)
instead of:
Yocingo,send_message id, "yes?", false, nil, {"keyboard" => [...], "one_time_keyboard" => true}