V
Size: a a a
JD
bot.action('del', ctx => ctx.deleteMessage())
bot.start(ctx => ctx.reply('test',{reply_markup:{inline_keyboard:[[{text:'del', callback_data:'del'}]]}}))
M
reply_markup: {
remove_keyboard: true,
}
i
function removeMenu(ctx) {
if (Date.now() - (ctx.callbackQuery.message.date * 1000) < 2 * 24 * 60 * 60 * 1000) {
return ctx.deleteMessage(ctx.callbackQuery.message.message_id)
} else {
return ctx.editMessageReplyMarkup()
}
}
M
inline_keyboard
)?V
bot.action('del', ctx => ctx.deleteMessage())
bot.start(ctx => ctx.reply('test',{reply_markup:{inline_keyboard:[[{text:'del', callback_data:'del'}]]}}))
V
function removeMenu(ctx) {
if (Date.now() - (ctx.callbackQuery.message.date * 1000) < 2 * 24 * 60 * 60 * 1000) {
return ctx.deleteMessage(ctx.callbackQuery.message.message_id)
} else {
return ctx.editMessageReplyMarkup()
}
}
W
i
M
Y💜
Y💜
M
Y💜
Y💜
M
W
JD
W
W