@telegram.ts/types 1.23.2 → 1.23.3

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.2",
3
+ "version": "1.23.3",
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",
@@ -2081,7 +2081,7 @@ export type ApiMethods = {
2081
2081
  text_parse_mode?: ParseMode;
2082
2082
  /** A list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. */
2083
2083
  text_entities?: MessageEntity[];
2084
- }): Gifts;
2084
+ }): true;
2085
2085
 
2086
2086
  /** Gifts a Telegram Premium subscription to the given user. Returns True on success. */
2087
2087
  giftPremiumSubscription(args: {
@@ -424,7 +424,7 @@ export interface UniqueGiftInfo {
424
424
  /** For gifts bought from other users, the price paid for the gift */
425
425
  last_resale_star_count?: number;
426
426
  /** Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now */
427
- next_transfer_date?: string;
427
+ next_transfer_date?: number;
428
428
  }
429
429
 
430
430
  /** Describes a service message about a change in the price of paid messages within a chat. */