telegraf inline keyboard choose method code example
Example: telegraf inline keyboard choose
menuTemplate.choose('unique', ['a', 'b'], {
do: …,
buttonText: (context, text) => {
return text.toUpperCase()
}
})
menuTemplate.choose('unique', ['a', 'b'], {
do: …,
buttonText: (context, text) => {
return text.toUpperCase()
}
})