i
Size: a a a
i
JD
i
ym
JD
i
JD
const text = 'shit'
const keys = [
{ title: i18n.t('btn.fire'), act: Acts.BURN },
{ title: i18n.t('btn.happy'), act: Acts.SMILE },
]
const kb = m => m.inlineKeyboard(keys.map(k => m.callbackButton(k.title, k.act)))
const extra = Extra
.load({ no: 'sugar' })
.inReplyTo(messageId)
.markup(kb)
.HTML()
editMessageText(text, extra)
ym
ym
// ./actions/foo.ts
export const foo = async (ctx: Context, data: DataType) => { }
// ./app.ts
bot.action(
/./,
actionsHashing({
foo,
}),
)
ym
ym
await hashIt('foo', {someData: 'awfwf'})
ym
ym
JD
ym
ym
JD
i
ym