Closed snurfer0 closed 1 year ago
Interesting… I don’t know what might be the cause here but I also don’t fully understand your example…
/
is the only character which is prohibited because it’s the splitter between the menu structure. Your action:add:…
seems quite long so I think your total length might get too long too? But this would error 🤔
Is the intention to use .navigate here as you want to display a button redirecting to an existing submenu in another place? But then /
instead of :
would have been correct?
Have you read https://github.com/EdJoPaTo/grammy-inline-menu#how-does-it-work ?
Maybe take a look at the .tree()
?
I've changed the :
to -
, and also made them shorter. Works now, thanks.
Describe the bug I have an issue regarding menu buttons unique id. Is there a rule for this parameter as it seems not all kinds of strings are allowed to be passed there. Therefore, for some kinds of strings the menu which includes this button with the bugged id wont be rendered at all.
Versions
Version of grammy: "^1.19.0"
Version of grammy-inline-menu: "^8.0.1"
Version of NodeJS: v19.8.1
Version of TypeScript: "^5.0.4"
To Reproduce Steps to reproduce the behavior: