@grom.js/effect-tg 0.7.0 → 0.8.0
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/dist/internal/botApiMethods.gen.d.ts +112 -28
- package/dist/internal/botApiMethods.gen.d.ts.map +1 -1
- package/dist/internal/botApiShape.gen.d.ts +11 -3
- package/dist/internal/botApiShape.gen.d.ts.map +1 -1
- package/dist/internal/botApiTypes.gen.d.ts +94 -11
- package/dist/internal/botApiTypes.gen.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/internal/botApiMethods.gen.ts +112 -28
- package/src/internal/botApiShape.gen.ts +11 -3
- package/src/internal/botApiTypes.gen.ts +97 -11
|
@@ -80,6 +80,8 @@ export interface BotApiShape {
|
|
|
80
80
|
sendChecklist: BotApi.Method<'sendChecklist'>;
|
|
81
81
|
/** Use this method to send an animated emoji that will display a random value. On success, the sent [Message](https://core.telegram.org/bots/api#message) is returned. */
|
|
82
82
|
sendDice: BotApi.Method<'sendDice'>;
|
|
83
|
+
/** Use this method to stream a partial message to a user while the message is being generated; supported only for bots with forum topic mode enabled. Returns _True_ on success. */
|
|
84
|
+
sendMessageDraft: BotApi.Method<'sendMessageDraft'>;
|
|
83
85
|
/**
|
|
84
86
|
* Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns _True_ on success.
|
|
85
87
|
*
|
|
@@ -168,15 +170,15 @@ export interface BotApiShape {
|
|
|
168
170
|
getForumTopicIconStickers: BotApi.Method<'getForumTopicIconStickers'>;
|
|
169
171
|
/** Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the _can\_manage\_topics_ administrator rights. Returns information about the created topic as a [ForumTopic](https://core.telegram.org/bots/api#forumtopic) object. */
|
|
170
172
|
createForumTopic: BotApi.Method<'createForumTopic'>;
|
|
171
|
-
/** Use this method to edit name and icon of a topic in a forum supergroup chat.
|
|
173
|
+
/** Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the _can\_manage\_topics_ administrator rights, unless it is the creator of the topic. Returns _True_ on success. */
|
|
172
174
|
editForumTopic: BotApi.Method<'editForumTopic'>;
|
|
173
175
|
/** Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the _can\_manage\_topics_ administrator rights, unless it is the creator of the topic. Returns _True_ on success. */
|
|
174
176
|
closeForumTopic: BotApi.Method<'closeForumTopic'>;
|
|
175
177
|
/** Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the _can\_manage\_topics_ administrator rights, unless it is the creator of the topic. Returns _True_ on success. */
|
|
176
178
|
reopenForumTopic: BotApi.Method<'reopenForumTopic'>;
|
|
177
|
-
/** Use this method to delete a forum topic along with all its messages in a forum supergroup chat.
|
|
179
|
+
/** Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the _can\_delete\_messages_ administrator rights. Returns _True_ on success. */
|
|
178
180
|
deleteForumTopic: BotApi.Method<'deleteForumTopic'>;
|
|
179
|
-
/** Use this method to clear the list of pinned messages in a forum topic.
|
|
181
|
+
/** Use this method to clear the list of pinned messages in a forum topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the _can\_pin\_messages_ administrator right in the supergroup. Returns _True_ on success. */
|
|
180
182
|
unpinAllForumTopicMessages: BotApi.Method<'unpinAllForumTopicMessages'>;
|
|
181
183
|
/** Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the _can\_manage\_topics_ administrator rights. Returns _True_ on success. */
|
|
182
184
|
editGeneralForumTopic: BotApi.Method<'editGeneralForumTopic'>;
|
|
@@ -262,6 +264,10 @@ export interface BotApiShape {
|
|
|
262
264
|
transferBusinessAccountStars: BotApi.Method<'transferBusinessAccountStars'>;
|
|
263
265
|
/** Returns the gifts received and owned by a managed business account. Requires the _can\_view\_gifts\_and\_stars_ business bot right. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success. */
|
|
264
266
|
getBusinessAccountGifts: BotApi.Method<'getBusinessAccountGifts'>;
|
|
267
|
+
/** Returns the gifts owned and hosted by a user. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success. */
|
|
268
|
+
getUserGifts: BotApi.Method<'getUserGifts'>;
|
|
269
|
+
/** Returns the gifts owned by a chat. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success. */
|
|
270
|
+
getChatGifts: BotApi.Method<'getChatGifts'>;
|
|
265
271
|
/** Converts a given regular gift to Telegram Stars. Requires the _can\_convert\_gifts\_to\_stars_ business bot right. Returns _True_ on success. */
|
|
266
272
|
convertGiftToStars: BotApi.Method<'convertGiftToStars'>;
|
|
267
273
|
/** Upgrades a given regular gift to a unique gift. Requires the _can\_transfer\_and\_upgrade\_gifts_ business bot right. Additionally requires the _can\_transfer\_stars_ business bot right if the upgrade is paid. Returns _True_ on success. */
|
|
@@ -270,6 +276,8 @@ export interface BotApiShape {
|
|
|
270
276
|
transferGift: BotApi.Method<'transferGift'>;
|
|
271
277
|
/** Posts a story on behalf of a managed business account. Requires the _can\_manage\_stories_ business bot right. Returns [Story](https://core.telegram.org/bots/api#story) on success. */
|
|
272
278
|
postStory: BotApi.Method<'postStory'>;
|
|
279
|
+
/** Reposts a story on behalf of a business account from another business account. Both business accounts must be managed by the same bot, and the story on the source account must have been posted (or reposted) by the bot. Requires the _can\_manage\_stories_ business bot right for both business accounts. Returns [Story](https://core.telegram.org/bots/api#story) on success. */
|
|
280
|
+
repostStory: BotApi.Method<'repostStory'>;
|
|
273
281
|
/** Edits a story previously posted by the bot on behalf of a managed business account. Requires the _can\_manage\_stories_ business bot right. Returns [Story](https://core.telegram.org/bots/api#story) on success. */
|
|
274
282
|
editStory: BotApi.Method<'editStory'>;
|
|
275
283
|
/** Deletes a story previously posted by the bot on behalf of a managed business account. Requires the _can\_manage\_stories_ business bot right. Returns _True_ on success. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"botApiShape.gen.d.ts","sourceRoot":"","sources":["../../src/internal/botApiShape.gen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B;;;;;;;;OAQG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;IACvC;;;;;;;;;;;;;;OAcG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;IACvC,4KAA4K;IAC5K,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAA;IAC7C,4SAA4S;IAC5S,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAC/C,wMAAwM;IACxM,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAC7B,saAAsa;IACta,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IAC/B,sWAAsW;IACtW,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAC7B,qIAAqI;IACrI,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA;IACzC,wNAAwN;IACxN,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAC/C,6XAA6X;IAC7X,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAA;IACjD,mlBAAmlB;IACnlB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA;IACzC,4tBAA4tB;IAC5tB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;IAC3C,8HAA8H;IAC9H,SAAS,EAAE,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@ export interface User {
|
|
|
102
102
|
can_connect_to_business?: boolean;
|
|
103
103
|
/** _True_, if the bot has a main Web App. Returned only in [getMe](https://core.telegram.org/bots/api#getme). */
|
|
104
104
|
has_main_web_app?: boolean;
|
|
105
|
+
/** _True_, if the bot has forum topic mode enabled in private chats. Returned only in [getMe](https://core.telegram.org/bots/api#getme). */
|
|
106
|
+
has_topics_enabled?: boolean;
|
|
105
107
|
}
|
|
106
108
|
/** This object represents a chat. */
|
|
107
109
|
export interface Chat {
|
|
@@ -218,12 +220,18 @@ export interface ChatFullInfo {
|
|
|
218
220
|
linked_chat_id?: number;
|
|
219
221
|
/** For supergroups, the location to which the supergroup is connected */
|
|
220
222
|
location?: ChatLocation;
|
|
223
|
+
/** For private chats, the rating of the user if any */
|
|
224
|
+
rating?: UserRating;
|
|
225
|
+
/** The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews */
|
|
226
|
+
unique_gift_colors?: UniqueGiftColors;
|
|
227
|
+
/** The number of Telegram Stars a general user have to pay to send a message to the chat */
|
|
228
|
+
paid_message_star_count?: number;
|
|
221
229
|
}
|
|
222
230
|
/** This object represents a message. */
|
|
223
231
|
export interface Message {
|
|
224
232
|
/** Unique message identifier inside this chat. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent */
|
|
225
233
|
message_id: number;
|
|
226
|
-
/** Unique identifier of a message thread to which the message belongs; for supergroups only */
|
|
234
|
+
/** Unique identifier of a message thread or forum topic to which the message belongs; for supergroups and private chats only */
|
|
227
235
|
message_thread_id?: number;
|
|
228
236
|
/** Information about the direct messages chat topic that contains the message */
|
|
229
237
|
direct_messages_topic?: DirectMessagesTopic;
|
|
@@ -243,7 +251,7 @@ export interface Message {
|
|
|
243
251
|
chat: Chat;
|
|
244
252
|
/** Information about the original message for forwarded messages */
|
|
245
253
|
forward_origin?: MessageOrigin;
|
|
246
|
-
/** _True_, if the message is sent to a forum
|
|
254
|
+
/** _True_, if the message is sent to a topic in a forum supergroup or a private chat with the bot */
|
|
247
255
|
is_topic_message?: true;
|
|
248
256
|
/** _True_, if the message is a channel post that was automatically forwarded to the connected discussion group */
|
|
249
257
|
is_automatic_forward?: true;
|
|
@@ -363,6 +371,8 @@ export interface Message {
|
|
|
363
371
|
gift?: GiftInfo;
|
|
364
372
|
/** Service message: a unique gift was sent or received */
|
|
365
373
|
unique_gift?: UniqueGiftInfo;
|
|
374
|
+
/** Service message: upgrade of a gift was purchased after the gift was sent */
|
|
375
|
+
gift_upgrade_sent?: GiftInfo;
|
|
366
376
|
/** The domain name of the website on which the user has logged in. [More about Telegram Login »](https://core.telegram.org/widgets/login) */
|
|
367
377
|
connected_website?: string;
|
|
368
378
|
/** Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method [requestWriteAccess](https://core.telegram.org/bots/webapps#initializing-mini-apps) */
|
|
@@ -856,8 +866,10 @@ export interface ChecklistTask {
|
|
|
856
866
|
text: string;
|
|
857
867
|
/** Special entities that appear in the task text */
|
|
858
868
|
text_entities?: Array<MessageEntity>;
|
|
859
|
-
/** User that completed the task; omitted if the task wasn't completed */
|
|
869
|
+
/** User that completed the task; omitted if the task wasn't completed by a user */
|
|
860
870
|
completed_by_user?: User;
|
|
871
|
+
/** Chat that completed the task; omitted if the task wasn't completed by a chat */
|
|
872
|
+
completed_by_chat?: Chat;
|
|
861
873
|
/** Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed */
|
|
862
874
|
completion_date?: number;
|
|
863
875
|
}
|
|
@@ -1073,6 +1085,8 @@ export interface ForumTopicCreated {
|
|
|
1073
1085
|
icon_color: number;
|
|
1074
1086
|
/** Unique identifier of the custom emoji shown as the topic icon */
|
|
1075
1087
|
icon_custom_emoji_id?: string;
|
|
1088
|
+
/** _True_, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot */
|
|
1089
|
+
is_name_implicit?: true;
|
|
1076
1090
|
}
|
|
1077
1091
|
/** This object represents a service message about a forum topic closed in the chat. Currently holds no information. */
|
|
1078
1092
|
export interface ForumTopicClosed {
|
|
@@ -1864,6 +1878,17 @@ export interface BusinessOpeningHours {
|
|
|
1864
1878
|
/** List of time intervals describing business opening hours */
|
|
1865
1879
|
opening_hours: Array<BusinessOpeningHoursInterval>;
|
|
1866
1880
|
}
|
|
1881
|
+
/** This object describes the rating of a user based on their Telegram Star spendings. */
|
|
1882
|
+
export interface UserRating {
|
|
1883
|
+
/** Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern. */
|
|
1884
|
+
level: number;
|
|
1885
|
+
/** Numerical value of the user's rating; the higher the rating, the better */
|
|
1886
|
+
rating: number;
|
|
1887
|
+
/** The rating value required to get the current level */
|
|
1888
|
+
current_level_rating: number;
|
|
1889
|
+
/** The rating value required to get to the next level; omitted if the maximum level was reached */
|
|
1890
|
+
next_level_rating?: number;
|
|
1891
|
+
}
|
|
1867
1892
|
/** Describes the position of a clickable area within a story. */
|
|
1868
1893
|
export interface StoryAreaPosition {
|
|
1869
1894
|
/** The abscissa of the area's center, as a percentage of the media width */
|
|
@@ -2033,6 +2058,17 @@ export interface ForumTopic {
|
|
|
2033
2058
|
icon_color: number;
|
|
2034
2059
|
/** Unique identifier of the custom emoji shown as the topic icon */
|
|
2035
2060
|
icon_custom_emoji_id?: string;
|
|
2061
|
+
/** _True_, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot */
|
|
2062
|
+
is_name_implicit?: true;
|
|
2063
|
+
}
|
|
2064
|
+
/** This object describes the background of a gift. */
|
|
2065
|
+
export interface GiftBackground {
|
|
2066
|
+
/** Center color of the background in RGB format */
|
|
2067
|
+
center_color: number;
|
|
2068
|
+
/** Edge color of the background in RGB format */
|
|
2069
|
+
edge_color: number;
|
|
2070
|
+
/** Text color of the background in RGB format */
|
|
2071
|
+
text_color: number;
|
|
2036
2072
|
}
|
|
2037
2073
|
/** This object represents a gift that can be sent by the bot. */
|
|
2038
2074
|
export interface Gift {
|
|
@@ -2044,10 +2080,22 @@ export interface Gift {
|
|
|
2044
2080
|
star_count: number;
|
|
2045
2081
|
/** The number of Telegram Stars that must be paid to upgrade the gift to a unique one */
|
|
2046
2082
|
upgrade_star_count?: number;
|
|
2047
|
-
/**
|
|
2083
|
+
/** _True_, if the gift can only be purchased by Telegram Premium subscribers */
|
|
2084
|
+
is_premium?: true;
|
|
2085
|
+
/** _True_, if the gift can be used (after being upgraded) to customize a user's appearance */
|
|
2086
|
+
has_colors?: true;
|
|
2087
|
+
/** The total number of gifts of this type that can be sent by all users; for limited gifts only */
|
|
2048
2088
|
total_count?: number;
|
|
2049
|
-
/** The number of remaining gifts of this type that can be sent; for limited gifts only */
|
|
2089
|
+
/** The number of remaining gifts of this type that can be sent by all users; for limited gifts only */
|
|
2050
2090
|
remaining_count?: number;
|
|
2091
|
+
/** The total number of gifts of this type that can be sent by the bot; for limited gifts only */
|
|
2092
|
+
personal_total_count?: number;
|
|
2093
|
+
/** The number of remaining gifts of this type that can be sent by the bot; for limited gifts only */
|
|
2094
|
+
personal_remaining_count?: number;
|
|
2095
|
+
/** Background of the gift */
|
|
2096
|
+
background?: GiftBackground;
|
|
2097
|
+
/** The total number of different unique gifts that can be obtained by upgrading the gift */
|
|
2098
|
+
unique_gift_variant_count?: number;
|
|
2051
2099
|
/** Information about the chat that published the gift */
|
|
2052
2100
|
publisher_chat?: Chat;
|
|
2053
2101
|
}
|
|
@@ -2094,8 +2142,25 @@ export interface UniqueGiftBackdrop {
|
|
|
2094
2142
|
/** The number of unique gifts that receive this backdrop for every 1000 gifts upgraded */
|
|
2095
2143
|
rarity_per_mille: number;
|
|
2096
2144
|
}
|
|
2145
|
+
/** This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift. */
|
|
2146
|
+
export interface UniqueGiftColors {
|
|
2147
|
+
/** Custom emoji identifier of the unique gift's model */
|
|
2148
|
+
model_custom_emoji_id: string;
|
|
2149
|
+
/** Custom emoji identifier of the unique gift's symbol */
|
|
2150
|
+
symbol_custom_emoji_id: string;
|
|
2151
|
+
/** Main color used in light themes; RGB format */
|
|
2152
|
+
light_theme_main_color: number;
|
|
2153
|
+
/** List of 1-3 additional colors used in light themes; RGB format */
|
|
2154
|
+
light_theme_other_colors: Array<number>;
|
|
2155
|
+
/** Main color used in dark themes; RGB format */
|
|
2156
|
+
dark_theme_main_color: number;
|
|
2157
|
+
/** List of 1-3 additional colors used in dark themes; RGB format */
|
|
2158
|
+
dark_theme_other_colors: Array<number>;
|
|
2159
|
+
}
|
|
2097
2160
|
/** This object describes a unique gift that was upgraded from a regular gift. */
|
|
2098
2161
|
export interface UniqueGift {
|
|
2162
|
+
/** Identifier of the regular gift from which the gift was upgraded */
|
|
2163
|
+
gift_id: string;
|
|
2099
2164
|
/** Human-readable name of the regular gift from which this unique gift was upgraded */
|
|
2100
2165
|
base_name: string;
|
|
2101
2166
|
/** Unique name of the gift. This name can be used in `https://t.me/nft/...` links and story areas */
|
|
@@ -2108,6 +2173,12 @@ export interface UniqueGift {
|
|
|
2108
2173
|
symbol: UniqueGiftSymbol;
|
|
2109
2174
|
/** Backdrop of the gift */
|
|
2110
2175
|
backdrop: UniqueGiftBackdrop;
|
|
2176
|
+
/** _True_, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers */
|
|
2177
|
+
is_premium?: true;
|
|
2178
|
+
/** _True_, if the gift is assigned from the TON blockchain and can't be resold or transferred in Telegram */
|
|
2179
|
+
is_from_blockchain?: true;
|
|
2180
|
+
/** The color scheme that can be used by the gift's owner for the chat's name, replies to messages and link previews; for business account gifts and gifts that are currently on sale only */
|
|
2181
|
+
colors?: UniqueGiftColors;
|
|
2111
2182
|
/** Information about the chat that published the gift */
|
|
2112
2183
|
publisher_chat?: Chat;
|
|
2113
2184
|
}
|
|
@@ -2119,8 +2190,10 @@ export interface GiftInfo {
|
|
|
2119
2190
|
owned_gift_id?: string;
|
|
2120
2191
|
/** Number of Telegram Stars that can be claimed by the receiver by converting the gift; omitted if conversion to Telegram Stars is impossible */
|
|
2121
2192
|
convert_star_count?: number;
|
|
2122
|
-
/** Number of Telegram Stars that were prepaid
|
|
2193
|
+
/** Number of Telegram Stars that were prepaid for the ability to upgrade the gift */
|
|
2123
2194
|
prepaid_upgrade_star_count?: number;
|
|
2195
|
+
/** _True_, if the gift's upgrade was purchased after the gift was sent */
|
|
2196
|
+
is_upgrade_separate?: true;
|
|
2124
2197
|
/** _True_, if the gift can be upgraded to a unique gift */
|
|
2125
2198
|
can_be_upgraded?: true;
|
|
2126
2199
|
/** Text of the message that was added to the gift */
|
|
@@ -2129,15 +2202,19 @@ export interface GiftInfo {
|
|
|
2129
2202
|
entities?: Array<MessageEntity>;
|
|
2130
2203
|
/** _True_, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them */
|
|
2131
2204
|
is_private?: true;
|
|
2205
|
+
/** Unique number reserved for this gift when upgraded. See the _number_ field in [UniqueGift](https://core.telegram.org/bots/api#uniquegift) */
|
|
2206
|
+
unique_gift_number?: number;
|
|
2132
2207
|
}
|
|
2133
2208
|
/** Describes a service message about a unique gift that was sent or received. */
|
|
2134
2209
|
export interface UniqueGiftInfo {
|
|
2135
2210
|
/** Information about the gift */
|
|
2136
2211
|
gift: UniqueGift;
|
|
2137
|
-
/** Origin of the gift. Currently, either “upgrade” for gifts upgraded from regular gifts, “transfer” for gifts transferred from other users or channels,
|
|
2212
|
+
/** Origin of the gift. Currently, either “upgrade” for gifts upgraded from regular gifts, “transfer” for gifts transferred from other users or channels, “resale” for gifts bought from other users, “gifted\_upgrade” for upgrades purchased after the gift was sent, or “offer” for gifts bought or sold through gift purchase offers */
|
|
2138
2213
|
origin: string;
|
|
2139
|
-
/** For gifts bought from other users, the
|
|
2140
|
-
|
|
2214
|
+
/** For gifts bought from other users, the currency in which the payment for the gift was done. Currently, one of “XTR” for Telegram Stars or “TON” for toncoins. */
|
|
2215
|
+
last_resale_currency?: string;
|
|
2216
|
+
/** For gifts bought from other users, the price paid for the gift in either Telegram Stars or nanotoncoins */
|
|
2217
|
+
last_resale_amount?: number;
|
|
2141
2218
|
/** Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts */
|
|
2142
2219
|
owned_gift_id?: string;
|
|
2143
2220
|
/** Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift */
|
|
@@ -2176,10 +2253,14 @@ export interface OwnedGiftRegular {
|
|
|
2176
2253
|
can_be_upgraded?: true;
|
|
2177
2254
|
/** _True_, if the gift was refunded and isn't available anymore */
|
|
2178
2255
|
was_refunded?: true;
|
|
2179
|
-
/** Number of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars */
|
|
2256
|
+
/** Number of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars; for gifts received on behalf of business accounts only */
|
|
2180
2257
|
convert_star_count?: number;
|
|
2181
|
-
/** Number of Telegram Stars that were paid
|
|
2258
|
+
/** Number of Telegram Stars that were paid for the ability to upgrade the gift */
|
|
2182
2259
|
prepaid_upgrade_star_count?: number;
|
|
2260
|
+
/** _True_, if the gift's upgrade was purchased after the gift was sent; for gifts received on behalf of business accounts only */
|
|
2261
|
+
is_upgrade_separate?: true;
|
|
2262
|
+
/** Unique number reserved for this gift when upgraded. See the _number_ field in [UniqueGift](https://core.telegram.org/bots/api#uniquegift) */
|
|
2263
|
+
unique_gift_number?: number;
|
|
2183
2264
|
}
|
|
2184
2265
|
/** Describes a unique gift received and owned by a user or a chat. */
|
|
2185
2266
|
export interface OwnedGiftUnique {
|
|
@@ -2221,6 +2302,8 @@ export interface AcceptedGiftTypes {
|
|
|
2221
2302
|
unique_gifts: boolean;
|
|
2222
2303
|
/** _True_, if a Telegram Premium subscription is accepted */
|
|
2223
2304
|
premium_subscription: boolean;
|
|
2305
|
+
/** _True_, if transfers of unique gifts from channels are accepted */
|
|
2306
|
+
gifts_from_channels: boolean;
|
|
2224
2307
|
}
|
|
2225
2308
|
/** Describes an amount of Telegram Stars. */
|
|
2226
2309
|
export interface StarAmount {
|