Inline_keyboard and keyboard in one time #1078
Unanswered
ilyalazarenkoit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is it possible to make answear with inline_keyboard and keyboard in one time?
This code just send "keyboard" ignoring the "inline_keyboard"
const options = {
reply_markup: {
inline_keyboard: [
[
{ text: "Inline Button 1", callback_data: "1" },
{ text: "Inline Button 2", callback_data: "2" },
],
[
{ text: "Inline Button 3", callback_data: "3" },
{ text: "Inline Button 4", callback_data: "4" },
],
],
keyboard: [
[{ text: "Button 1" }, { text: "Button 2" }],
[{ text: "Button 3" }, { text: "Button 4" }],
],
},
};
Beta Was this translation helpful? Give feedback.
All reactions