Releases: EdJoPaTo/grammy-inline-menu
v5.0.0-beta.4
v5.0.0-beta.3
leaveOnChildInteraction
is replaced by returnable strings on do functions. When you return a relative path like '..' the menu will be shown after the do function is done. Check out the changes in the example as they represent the Breaking changes by this well. fa77f57 4b0e47a
An addition to understand the things this library is doing is the MenuMiddleware
tree()
method. It returns the submenus and actions handled by the middleware in a formatted string. 4cccae8
v5.0.0-beta.2
This is still in testing and lacks documentation.
API might change until release.
I appreciate feedback!
also see migration notes
v5.0.0-beta.1
rework library d24d6b2
This is still in testing and lacks documentation.
API might change until release.
I appreciate feedback!
also see migration notes
v4.0.1
- fix: adapt types to [email protected] 7a138fe
- and a bunch of refactorings
Compability:
- NodeJS 8 is no longer actively supported (as it ran out of LTS) 12f5e79
- Typescript Users require [email protected] for types to work 7a138fe
v4.0.0
menu.question
does now allow for a questionText
function. This allows for translation. As the questionText
itself isn't unique anymore a new uniqueIdentifier
has to be given. fd8fd2b
menu.select
with option submenu
does no longer work. This was already deprecated since introducing TypeScript types and is now entirely removed. Use menu.selectSubmenu
instead. 8731b2d