Answer the question
In order to leave comments, you need to log in
Rows is not defined?
const {VK, Keyboard } = require('vk-io');
Keyboard.keyboard(rows, options); // => KeyboardBuilder
[
Keyboard.textButton({
label: 'Buy a tea',
payload: {
command: 'buy',
item: 'tea'
},
color: Keyboard.POSITIVE_COLOR
}),
Keyboard.textButton({
label: 'Buy a coffee',
payload: {
command: 'buy',
item: 'coffee'
},
color: Keyboard.POSITIVE_COLOR
})
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question