Naltox / telegram-node-bot

Node module for creating Telegram bots.
MIT License
723 stars 143 forks source link

New issues with framework #116

Closed VitaliyR closed 8 years ago

VitaliyR commented 8 years ago

New Message:

$.runInlineMenu({ 
  method: 'sendMessage',
  params: [ 'Text', { parse_mode: 'Markdown' } ]
});

Previous Message:

const msg = new Telegram.Models.Message(...);
$.runInlineMenu({
   method: 'sendMessage',
   message: 'Text',
   params: [msg]  // can't pass options for message -> can't apply Markdown to it
}, msg);
Naltox commented 8 years ago

@VitaliyR Hey!

I will fix these bugs soon!