Hey there
i should transfer some data with inline keyboard callbackbutton action
ctx.reply(' scene ${S.result[key].Name} ', Extra.HTML().markup((m) =>
m.inlineKeyboard([
m.callbackButton( | run scene | ,SceneON馃幓${S.result[key].idx}馃幓馃幏${S.result[key].Name}馃幏)
])
))
some times the variables are long and this error happens
(node:545692) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: 400: Bad Request: BUTTON_DATA_INVALID
what should i do ? is there any ways to expand this limit?
Well, I guess there is no way to expand this limit. Though, you could try to use sessions with an object to transfer your data.
Most helpful comment
Well, I guess there is no way to expand this limit. Though, you could try to use sessions with an object to transfer your data.