@telegram.ts/types 1.23.2 → 1.23.4
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
package/src/apiMethodsTypes.d.ts
CHANGED
|
@@ -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
|
-
}):
|
|
2084
|
+
}): true;
|
|
2085
2085
|
|
|
2086
2086
|
/** Gifts a Telegram Premium subscription to the given user. Returns True on success. */
|
|
2087
2087
|
giftPremiumSubscription(args: {
|
package/src/invoiceTypes.d.ts
CHANGED
|
@@ -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?:
|
|
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. */
|
|
@@ -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?:
|
|
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. */
|