EdJoPaTo / grammy-inline-menu

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

Javascript example file #171

Closed ne0c0de closed 3 years ago

ne0c0de commented 3 years ago

Describe your goal Javascript example file mentioned in README.md is giving 404

Expected Hence I'm not familiar that much with TypeScript and have a project already coded with native nodeJS (javascript) I would like to see the Javascript example file

EdJoPaTo commented 3 years ago

Sorry for the delay!

Actually there is a JavaScript example in the examples folder. Guess the link is just outdated then.

Personally I try to use TypeScript in a "JavaScript with type annotations" way. Remove the types from TypeScript and you have JavaScript. I don't use TypeScript specific features that don't exist in vanilla JavaScript.

I would suggest trying to learn TypeScript. The compiler helps a lot with mistakes in the code. Its definitely worth it from my point of view.

EdJoPaTo commented 3 years ago

fixed in ab62cb8616ff694e0f0d83252ce47bc860ba8544 Thanks for the report!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.