Open alfathdirk opened 7 years ago
let opt = { message: 'Select Notes :', layout: 2, oneTimeKeyboard:false, resizeKeyboard:true, "data 1" : () => {}, "data 2" : () => {}, "anyMatch" : () = {} } $.runMenu(opt);
let opt = {
message: 'Select Notes :',
layout: 2,
oneTimeKeyboard:false,
resizeKeyboard:true,
"data 1" : () => {},
"data 2" : () => {},
"anyMatch" : () = {}
}
$.runMenu(opt);
when keyboard showing , my bot be able replying selected option "data 1",and when i select twice , bot not reply data content.. and how can i to solve this problem and i want every "data" content be able to called without call $.runMenu first ?
let opt = {
message: 'Select Notes :',
layout: 2,
oneTimeKeyboard:false,
resizeKeyboard:true,
"data 1" : () => {},
"data 2" : () => {},
"anyMatch" : () = {}
}
$.runMenu(opt);
when keyboard showing , my bot be able replying selected option "data 1",and when i select twice , bot not reply data content.. and how can i to solve this problem and i want every "data" content be able to called without call $.runMenu first ?