Releases: dohly/funogram.keyboard
Releases · dohly/funogram.keyboard
1.3.1
1.3.0
Now you don't need to describe keyboard handlers.
Just attach them to your command handlers using InlineKeyboard.getRegisteredHandlers()
let cmds=[
cmd "/calendar" (fun _ -> showKeyboard (calendar()))
cmd "/flight" (fun _ -> Random().Next(0,3)|>seats|>showKeyboard)
cmd "/confirm" (fun _ -> showKeyboard (confirmKeyboard()))
]
let notHandled = processCommands ctx (cmds @ InlineKeyboard.getRegisteredHandlers())