EdJoPaTo / grammy-inline-menu

Inline Menus for Telegram made simple. Successor of telegraf-inline-menu.
MIT License
354 stars 44 forks source link

Functionality to recieve photos from the user #216

Closed AlexKushnir1 closed 8 months ago

AlexKushnir1 commented 8 months ago

In the process of moving through the menu I need to ask user to take a picture or send a photo from the gallery. It can be described on a button or on the text message. In the end I want to recieve photo_id and move to the next section in the menu.

Expected

I fount an old functionality menu.question() in the old Telegraf codease, but it seams it does not exist anymore. Related issue: https://github.com/EdJoPaTo/grammy-inline-menu/issues/68#issue-589079097?

EdJoPaTo commented 8 months ago

Yeah. That question functionality moved out of this library into grammy-stateless-question. It’s documented over there and works well together with this inline-menu library but can also be used on its own now.

The readme also mentions this 😇 https://github.com/EdJoPaTo/grammy-inline-menu#didnt-this-menu-had-a-question-function

AlexKushnir1 commented 8 months ago

Thanks for the quick reply, appriciate it. https://github.com/grammyjs/stateless-question didn`t solve my problem, I decided to use bot.on only. Thank you very much!!!