Closed newtoniumx3 closed 3 years ago
Describe your goal Open URL from a button press.
Expected I'm trying to add a button in my submenu that when clicked opens a URL in the browser. How can I do this?
module.exports = () => { const subMenuTemplate = new MenuTemplate((ctx) => { return { text: 'Menu', parse_mode: 'Markdown' } }); subMenuTemplate.manualRow(backButtonRow()); return subMenuTemplatePurge; };
Take a look on the FAQ in the readme: How can I show an url button?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Describe your goal Open URL from a button press.
Expected I'm trying to add a button in my submenu that when clicked opens a URL in the browser. How can I do this?