Closed alexivanovvv closed 8 years ago
Resolved:
Telegram needs stringified keyboard as an input for reply_markup
, not an object. Resolved by adding:
keyboard= EJSON.stringify(kb);
EJSON package is needed (https://atmospherejs.com/meteor/ejson)
Can't you just use JSON.stringify
?
I tried it but didn't work for some reason, so just installed EJSON
.
On Mon, Feb 15, 2016 at 8:24 PM, Max Malm < notifications@github.com > wrote: Can't you just use JSON.stringify ?
— Reply to this email directly or view it on GitHub .
Hi @benjick, great package, thanks for the effort. Meanwhile, I couldn't make custom keyboard work. Here is a sample which should, according to Telegram API, work, but somehow no keyboard is shown.