Naltox / telegram-node-bot

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

Run inline menu as menu button result #150

Closed muety closed 7 years ago

muety commented 7 years ago

Is it possible to send a message together with an InlineMenu as result to a menu button click?

$.runMenu({
            message: 'Welcome!',
            options: {
                parse_mode: 'Markdown'
            },
            'Do something': {
                'message': // this should spawn an inline menu!,
                ...
            },
            'anyMatch': () => { 
            }

In my understanding, currently only plain text can be sent...

Naltox commented 7 years ago

Yes, just look at example in docs - https://github.com/Naltox/telegram-node-bot#menu