Z
Size: a a a
Z
MM
MM
MM
MM
Z
Z
'Text': () => {
$.sendMessage("command", {
'parse_mode': 'Markdown',
'reply_markup':
JSON.stringify({
"keyboard": [[{
'text': 'foo',
'callback': (callbackQuery) => {console.log("foo")}
}]],
"one_time_keyboard": true,
"resize_keyboard": true
})
});Z
Z
tg.router
.when(new Telegram.TextCommand('/hello', 'helloCommand'), new HelloController())
.when(new Telegram.TextCommand('command', 'command'), new commandController())
.otherwise(new OtherController());
Z
PB
PB