Confused with reply_markup
iMasoud opened this issue · 3 comments
iMasoud commented
Hi. I'm trying to change Keyboard after sending a photo, this is my code:
...
api.sendPhoto(
{
chat_id: message.chat.id,
caption: '',
photo: 'img/help.png',
reply_markup: {"keyboard" : [['help more!'],['cancel']]}
}, function(err, data)
{
...
and this is the console output:
{}
can you give me an example about syntax of "reply_markup", please?
thank you and excuse me for my bad English
iMasoud commented
sorry for leaving an spam but it's really urgent!
can any one help me in this please?
iMasoud commented
wow, great!
thankyou very much for your answer and for your great module! 👍