Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline-menu with question #1

Open
warfollowsme opened this issue May 16, 2020 · 3 comments
Open

Inline-menu with question #1

warfollowsme opened this issue May 16, 2020 · 3 comments
Labels
bot-api-limitation Although we'd like to, we cannot fix this as the Bot API does not support it for some reason

Comments

@warfollowsme
Copy link

warfollowsme commented May 16, 2020

Hi. Any chance to add telegraf-inline-keyboard button to the message of the question?

For example button 'back', if someone misclick and don't want to enter the answer. I think it would be useful.

@EdJoPaTo
Copy link
Member

It would be useful indeed but sadly thats not possible with the current state of the API currently. I would really like to use something like that.

Thanks for bringing that topic up in this repo so others can find the relevant issues and more in depth explanations of that over at my other repo where this repo kind of started: EdJoPaTo/grammy-inline-menu#43, EdJoPaTo/grammy-inline-menu#67 and EdJoPaTo/grammy-inline-menu#12

Not sure if there is a good way to suggest something like that to the Telegram Devs which created the Bot API. It would be nice to have something like that for sure.

@phils-hub
Copy link
Contributor

phils-hub commented Jun 9, 2020

I think this issue can be closed as it is not possible due to the Telegram API itself (not Telegraf) prohibiting more than one "keyboard" reply in the reply markup, as described here.

Consequently something like ctx.reply('Provide phone number', Markup.keyboard(['1', '2']).oneTime().resize().forceReply().extra()) does not work.

@EdJoPaTo
Copy link
Member

EdJoPaTo commented Jun 9, 2020

I'll leave it open so people are finding it more easily.
Its often something people would like but sadly we cant achieve that with the current Telegram API.

@roziscoding roziscoding moved this to Todo in Plugins Jun 27, 2023
@roziscoding roziscoding moved this from Todo to Triage in Plugins Jun 27, 2023
@roziscoding roziscoding moved this from Triage to Todo in Plugins Jun 27, 2023
@roziscoding roziscoding added the bot-api-limitation Although we'd like to, we cannot fix this as the Bot API does not support it for some reason label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot-api-limitation Although we'd like to, we cannot fix this as the Bot API does not support it for some reason
Projects
No open projects
Status: Todo
Development

No branches or pull requests

4 participants