EdJoPaTo / grammy-inline-menu

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

Add support `disable_web_page_preview` option #96

Closed esindger closed 4 years ago

esindger commented 4 years ago

Is your feature request related to a problem? Please describe.

I need to disable links preview in some menus. Is it possible to add support disable_web_page_preview option along parse_mode option?

Describe the solution you'd like Add disable_web_page_preview option to TextBody object: https://github.com/EdJoPaTo/telegraf-inline-menu/blob/2eae3e9611f0eecc651a76b8e6bc006664b69b3f/source/body.ts#L10-L13

EdJoPaTo commented 4 years ago

Sounds like a good idea! Its possible to add additional extras on the send menu methods but it makes more sense to have these within the body.