I have this:
await ctx.editMessageReplyMarkup(ctx.chat_id, ctx.message_id, await keyboard.getPostInline(await db.getLikesCount(ctx.wizard.state.post.id), 1))
getPostInline:
async function getPostInline(likes_count, comments_count) {
return Markup.inlineKeyboard([
Markup.button.callback(`❤ ${likes_count}`, 'like'), Markup.button.callback(`💬 ${comments_count}`, 'comment')
]).oneTime().resize()
}
When editMessageReplyMarkup runs, all markup just disappears from message. I tried JSON.stringify, nothing works.