@grom.js/bot-api-spec 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grom.js/bot-api-spec",
3
3
  "type": "module",
4
- "version": "0.7.0",
4
+ "version": "0.7.1",
5
5
  "description": "Telegram Bot API specification as a collection of JavaScript objects in a custom format.",
6
6
  "license": "MIT",
7
7
  "repository": {
package/src/types.gen.ts CHANGED
@@ -16473,7 +16473,21 @@ const InlineQueryResultCachedVideo = t({
16473
16473
  {
16474
16474
  name: 'parse_mode',
16475
16475
  type: {
16476
- type: 'str',
16476
+ type: 'union',
16477
+ types: [
16478
+ {
16479
+ type: 'str',
16480
+ literal: 'HTML',
16481
+ },
16482
+ {
16483
+ type: 'str',
16484
+ literal: 'MarkdownV2',
16485
+ },
16486
+ {
16487
+ type: 'str',
16488
+ literal: 'Markdown',
16489
+ },
16490
+ ],
16477
16491
  },
16478
16492
  description: {
16479
16493
  markdown: 'Mode for parsing entities in the video caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.',
@@ -16589,7 +16603,21 @@ const InlineQueryResultCachedVoice = t({
16589
16603
  {
16590
16604
  name: 'parse_mode',
16591
16605
  type: {
16592
- type: 'str',
16606
+ type: 'union',
16607
+ types: [
16608
+ {
16609
+ type: 'str',
16610
+ literal: 'HTML',
16611
+ },
16612
+ {
16613
+ type: 'str',
16614
+ literal: 'MarkdownV2',
16615
+ },
16616
+ {
16617
+ type: 'str',
16618
+ literal: 'Markdown',
16619
+ },
16620
+ ],
16593
16621
  },
16594
16622
  description: {
16595
16623
  markdown: 'Mode for parsing entities in the voice message caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.',
@@ -16685,7 +16713,21 @@ const InlineQueryResultCachedAudio = t({
16685
16713
  {
16686
16714
  name: 'parse_mode',
16687
16715
  type: {
16688
- type: 'str',
16716
+ type: 'union',
16717
+ types: [
16718
+ {
16719
+ type: 'str',
16720
+ literal: 'HTML',
16721
+ },
16722
+ {
16723
+ type: 'str',
16724
+ literal: 'MarkdownV2',
16725
+ },
16726
+ {
16727
+ type: 'str',
16728
+ literal: 'Markdown',
16729
+ },
16730
+ ],
16689
16731
  },
16690
16732
  description: {
16691
16733
  markdown: 'Mode for parsing entities in the audio caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.',
@@ -16779,7 +16821,21 @@ const InputTextMessageContent = t({
16779
16821
  {
16780
16822
  name: 'parse_mode',
16781
16823
  type: {
16782
- type: 'str',
16824
+ type: 'union',
16825
+ types: [
16826
+ {
16827
+ type: 'str',
16828
+ literal: 'HTML',
16829
+ },
16830
+ {
16831
+ type: 'str',
16832
+ literal: 'MarkdownV2',
16833
+ },
16834
+ {
16835
+ type: 'str',
16836
+ literal: 'Markdown',
16837
+ },
16838
+ ],
16783
16839
  },
16784
16840
  description: {
16785
16841
  markdown: 'Mode for parsing entities in the message text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.',