Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
telegram.updates.hear('/keyboardbuilder', (context) => {
return context.send('There\'s your keyboard!', {
reply_markup: new KeyboardBuilder()
.textButton('Button')
.row()
.textButton('Another button')
.textButton('But there\'s more!')
.row()
.textButton('So')
.textButton('many')
.textButton('buttons!')
.resize(),
});
});