@telegram.ts/types 1.23.3 → 1.23.5

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegram.ts/types",
3
- "version": "1.23.3",
3
+ "version": "1.23.5",
4
4
  "description": "Comprehensive Type Declarations for Telegram Bot API with telegramsjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -36,7 +36,7 @@ export interface InputChecklistTask {
36
36
  /** Text of the task; 1-100 characters after entities parsing */
37
37
  text: string;
38
38
  /** Mode for parsing entities in the text. See formatting options for more details. */
39
- parse_mode?: string;
39
+ parse_mode?: ParseMode;
40
40
  /** List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed. */
41
41
  text_entities?: MessageEntity[];
42
42
  }
@@ -497,7 +497,7 @@ export interface OwnedGiftUnique {
497
497
  /** Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift */
498
498
  transfer_star_count?: number;
499
499
  /** Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now */
500
- next_transfer_date?: string;
500
+ next_transfer_date?: number;
501
501
  }
502
502
 
503
503
  /** Contains the list of gifts received and owned by a user or a chat. */