grammy-inline-menu

Inline Menus for Telegram made simple. Successor of telegraf-inline-menu.

MIT License

Downloads
1.8K
Stars
350
Committers
11

Bot releases are hidden (Show)

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix(align-buttons): use largest possible page 9478ee7
  • fix(align-buttons): dont add more buttons than available ab790e4

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.5...v3.4.6

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix(select): don't select things that are not in the options f4574d9

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.4...v3.4.5

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix: deny multiple same actioncodes 1a9f73b
  • fix(selectSubmenu): allow omitted additionalArgs 211418b

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.3...v3.4.4

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix(reply-menu-middleware): correct button actioncode when not specific fef895f

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.2...v3.4.3

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix(select): textFunc with prefixOptions 957765b

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.1...v3.4.2

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • fix(select): select can handle prefixOptions 78360c5

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.4.0...v3.4.1

grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

  • rewrite to typescript #5 #10
  • add select textFunc option #9
  • split select into select and selectSubmenu #7
  • add pagination to select f40441f
  • several pagination fixes 5938f62 8f5a280 c9409f2
grammy-inline-menu -

Published by EdJoPaTo over 5 years ago

Features

  • add menu.pagination() 777a907 534a556 5144c32 476da4d

NPM related

  • Telegraf is now a peerDependency instead of an direct dependency 85b3940
  • remove package-lock.json for library 96e79dc
  • use package.js files instead of npmignore 5af3813

https://github.com/EdJoPaTo/telegraf-inline-menu/compare/v3.2.2...v3.3.0

grammy-inline-menu -

Published by EdJoPaTo almost 6 years ago

Bug Fixes

  • use answerCallbackQuery on menu update and question button (c030c62)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • submenu: hidden submenus dont prevent other menus from opening (9c155d9)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Features

  • replyMenuMiddleware: add method to create a menu from outside (bee5694)
  • submenu: update the menu when hidden submenu button is hit (ad7c18c)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • select: throw Error that hide && submenu can not work (0c4ae33)
  • throw Error that dynamic menus only can handle buttons (39b335b)

Features

  • setParentMenuAfter allows to set the parent menu after doFunc (f2874ba)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • action-code: fix splitting of action with regex that have : (58eafa1)
  • action-code: get parent of regex (dbb123c)
  • question: question works again with unexpected deleteMessage errors (233ed92)
  • select: setFunc and hide key argument are now the last match group (9d1d736)
  • select: stop using multiple layers of an ActionCode (c1dd5b4)
  • toggle: stop using multiple layers of an ActionCode (48765eb)

Features

  • action-code: implement concat of two regex (19cb546)
  • generate the menu for the actual ActionCode when possible (b0d82e2)
  • update menu when user presses a hidden button (5ba3471)
  • command: throw Error when setCommand was used on a dynamic menu (bc6874e)
  • select: add support for submenu on selection (2e8f7bb)

BREAKING CHANGES

  • select: Select Buttons only in an old, still existing menu
    created before the update will not work. Using another Button or create
    a new menu will fix this.
  • toggle: Toggle Buttons only in an old, still existing menu
    created before the update will not work. Using another Button or create
    a new menu will fix this.
  • action-code: action as RegExp can not have any flag anymore.
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • action-code: dont throw on deprication hint (5b86a5c)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • only run action handler.hide when its an action (a2c0ea5)
  • select: dont call hide without key (c440a97)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Features

  • select: limit maximal rows of buttons (4089727)
  • rework the logic to be loaded not until .init() is used (a3dd6b2)

BREAKING CHANGES

  • multiple method arguments are swapped, changed and
    improved. Check README
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Features

  • add support for switchToChat and switchToCurrentChat (32a242d)
  • action-code: concat ActionCodes together (5b0b4a7)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • catch 'message is not modified' on menu update (425d153)

Features

  • question: allow question to be answered by all kinds of messages (f811904)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Features

  • manual: add root option (7d05cc4)
grammy-inline-menu -

Published by EdJoPaTo about 6 years ago

Bug Fixes

  • use middleware() instead of bot.middleware() (0f9db30)

Features

  • urlButton: add urlButton support (4a8c442)