post inline keyboards and remove old keyboards ( not inline ) in same time
See original GitHub issuehi. thanks for this amazing package. I have a question . how can I send inline keyboards and in same time remove keyboards ( not inline ) I tried the fallowing, but they do not work :
ctx.reply(message, Extra.markup(m => {
return m.removeKeyboard();
}).markup(m => {
return m.inlineKeyboard([
m.callbackButton(messages.buttons.contact, "contact")
]);
})
ctx.reply(message, Extra.markup(m => {
m.removeKeyboard();
return m.inlineKeyboard([
m.callbackButton(messages.buttons.contact, "contact")
])
})
ctx.reply(message, Extra.markup(m => {
return m..removeKeyboard().inlineKeyboard([
m.callbackButton(messages.buttons.contact, "contact")
])
})
and some other … can you help me ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
How can I remove inline keyboard after click? - Stack Overflow
After a user clicks on like or dislike button, I want this inline keyboard to disappear.
Read more >ReplyKeyboardRemove: Remove a keyboard in telegram.bot
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By ...
Read more >Inline and Custom Keyboards (built-in) - grammY
It is not possible to specify both a custom keyboard and an inline keyboard in the same message. The two are mutually exclusive....
Read more >Remove unwanted keyboard or language from Windows 11
If the unwanted keyboard or input method is still there, you can remove the individual keyboard from Settings. Here's how: Select Start >...
Read more >The 3 Best Ergonomic Keyboard for 2022 - The New York Times
If you spend all day at a computer, an ergonomic keyboard's more natural tilt and customizable positioning may be more comfortable than a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can send two message first for remove keyboard:
ctx.reply(message, reply_markup: { remove_keyboard: true})
And send new message with new buttons.
For quaque use async/await function
Same didnt help(