telegram-bot-api-nodejs 1.2.10 → 1.2.12

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -54,6 +54,7 @@ export interface SendVideoOptions extends SendBasicOptions {
54
54
  video: string;
55
55
  caption?: string;
56
56
  parse_mode?: ParseMode;
57
+ show_caption_above_media?: boolean;
57
58
  }
58
59
  export interface SendVoiceOptions extends SendBasicOptions {
59
60
  voice: string;
@@ -574,7 +575,7 @@ export interface InputMediaVideo extends InputMediaBase {
574
575
  duration?: number;
575
576
  supports_streaming?: boolean;
576
577
  }
577
- export type InputMedia = InputMediaPhoto | InputMediaVideo | InputMediaDocument | InputMediaPhoto;
578
+ export type InputMedia = InputMediaPhoto | InputMediaVideo | InputMediaDocument | InputMediaAudio;
578
579
  export interface VideoNote extends FileBase {
579
580
  length: number;
580
581
  duration: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telegram-bot-api-nodejs",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "Telegram Bot API client for nodejs",
5
5
  "type": "module",
6
6
  "main": "index.js",