Skip to content

Releases: EdJoPaTo/grammy-inline-menu

v9.3.0

15 Feb 20:56
240f2e2

Choose a tag to compare

  • feat: support icon_custom_emoji_id and style of Bot API 9.4 8456f02
  • refactor: filter(o => o!==undefined) works in newer Typescript versions 26c1e49

v9.2.0

31 Oct 17:44
3c494b6

Choose a tag to compare

  • feat: add support for copy_text inline button 4262997
  • perf: editMessageMedia on text a06e1a1

v9.1.0

16 Oct 15:51
d9bab01

Choose a tag to compare

  • feat(body): add entities formatting support (#250) 7a7e88b

v9.0.2

05 Jun 17:29
24aa21d

Choose a tag to compare

  • docs(jsdoc): correct submenu function args order (#224) 45dfd2b

v9.0.1

01 Jun 10:00
27b0bbc

Choose a tag to compare

  • fix(invoice): Bot API 7.4 removed provider_token bcbb79b

BREAKING CHANGE: required argument provider_token is gone. This is not done as a breaking change in grammY either so this is breaking there too.

v9.0.0

12 Mar 19:24
21822a9

Choose a tag to compare

The main change of this release is the move of longer MenuTemplate arguments into the options object.
This results in shorter lines and easier code readability.
It also allows to inline methods easier.

-menuTemplate.interact((ctx) => ctx.i18n.t('button'), 'unique', {
+menuTemplate.interact('unique', {
+  text: (ctx) => ctx.i18n.t('button'),
   do: async (ctx) => {
     …
   }
}
-menuTemplate.url('Text', 'https://edjopato.de', { joinLastRow: true });
+menuTemplate.url({ text: 'Text', url: 'https://edjopato.de', joinLastRow: true });
-menuTemplate.choose('unique', ['walk', 'swim'], {
+menuTemplate.choose('unique', {
+  choices: ['walk', 'swim'],
   do: async (ctx, key) => {
     …
	 }
 }

Also Node.js 18 and ES modules are now required when using this library.

v8.0.1

19 Jun 14:10

Choose a tag to compare

  • refactor(grammy): use grammy/types export over types package 93d5725
  • fix: type-fest is a type and needed as dependency 8875511

v8.0.0

13 Jul 14:31

Choose a tag to compare

  • Fix calculating button absolute path length (#184) b95e62c
  • housekeeping, dependency updates, …

BREAKING CHANGE: requires Node.js 14 23cb98a

v7.0.2...v8.0.0

v7.0.2

20 Oct 12:34

Choose a tag to compare

  • fix: use @grammyjs/types and assume more types 62ae5b6

v7.0.1...v7.0.2

v7.0.1

23 Sep 13:52

Choose a tag to compare

  • chore(npm): highlight being successor of telegraf-inline-menu 6baba82

v7.0.0...v7.0.1