When I trying to send inline keyboard i always get error like this
can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard
Here is my code
const opts = {
reply_markup:{
inline_keyboard: [ [{ text: "Hello", callback_data: "hello"}] ]
},
parse_mode: 'HTML'
};
When I trying to send inline keyboard i always get error like this can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard
Here is my code const opts = { reply_markup:{ inline_keyboard: [ [{ text: "Hello", callback_data: "hello"}] ] }, parse_mode: 'HTML' };