Closed butteredtoast closed 7 years ago
let query = $.query;
$.runMenu({
message: 'blah blah blah',
options: {
parse_mode: 'Markdown'
},
'A or whatever button': () => {
$.sendMessage( `you pressed ${query}`)
},
'anyMatch': () => {
$.sendMessage( `action cancelled`)
}
})
I've been looking through the closed issues and can't seem to find the answer. How does one get the result from an inline menu?
I tried:
To no avail. What is the proper way to do this?