benjick / meteor-telegram-bot

Telegram bot plugin for Meteor
24 stars 15 forks source link

Better inline keyboard support #30

Open sebastianPsm opened 8 years ago

sebastianPsm commented 8 years ago
replyCallback = function(data, original) {
  const chat_id = original.message.chat.id;
  const message_id = original.message.message_id;

  return true; // this callback will remain in TelegramBot-callbacks-object
};
TelegramBot.send(message, chatId, markdown, reply_markup, replyCallback);
benjick commented 8 years ago

Ignore the bot for now

ryanbraving commented 7 years ago

replyCallback doesn't get original! I can get the "data" but I cannot get "original".