@telegram.ts/types 1.23.0 → 1.23.2

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.0",
3
+ "version": "1.23.2",
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",
@@ -379,6 +379,8 @@ export interface UniqueGift {
379
379
  base_name: string;
380
380
  /** Unique name of the gift. This name can be used in https://t.me/nft/... links and story areas */
381
381
  name: string;
382
+ /** Information about the chat that published the gift */
383
+ publisher_chat?: Chat;
382
384
  /** Unique number of the upgraded gift among gifts upgraded from the same regular gift */
383
385
  number: number;
384
386
  /** Model of the gift */
@@ -494,6 +496,8 @@ export interface OwnedGiftUnique {
494
496
  can_be_transferred?: true;
495
497
  /** Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift */
496
498
  transfer_star_count?: number;
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;
497
501
  }
498
502
 
499
503
  /** Contains the list of gifts received and owned by a user or a chat. */