@mtkruto/node 0.4.0 → 0.5.1
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/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +4 -1
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +2 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +10 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
- package/{script/deps/jsr.io/@std/internal/1.0.4 → esm/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/esm/tl/0_api.d.ts +199 -41
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +314 -75
- package/esm/transport/1_transport_abridged.d.ts.map +1 -1
- package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.d.ts +9 -1
- package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.js +6 -0
- package/esm/types/2_invite_link.d.ts +5 -1
- package/esm/types/2_invite_link.d.ts.map +1 -1
- package/esm/types/2_invite_link.js +2 -0
- package/esm/utilities/0_cache_map.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +4 -1
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +2 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +10 -0
- package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
- package/script/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
- package/{esm/deps/jsr.io/@std/internal/1.0.4 → script/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/script/tl/0_api.d.ts +199 -41
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +314 -75
- package/script/transport/1_transport_abridged.d.ts.map +1 -1
- package/script/transport/1_transport_intermediate.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.d.ts +9 -1
- package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.js +6 -0
- package/script/types/2_invite_link.d.ts +5 -1
- package/script/types/2_invite_link.d.ts.map +1 -1
- package/script/types/2_invite_link.js +2 -0
- package/script/utilities/0_cache_map.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
package/esm/tl/0_api.d.ts
CHANGED
|
@@ -874,6 +874,7 @@ export interface message {
|
|
|
874
874
|
noforwards?: true;
|
|
875
875
|
invert_media?: true;
|
|
876
876
|
offline?: true;
|
|
877
|
+
video_processing_pending?: true;
|
|
877
878
|
id: number;
|
|
878
879
|
from_id?: Peer;
|
|
879
880
|
from_boosts_applied?: number;
|
|
@@ -949,7 +950,7 @@ export interface messageMediaDocument {
|
|
|
949
950
|
round?: true;
|
|
950
951
|
voice?: true;
|
|
951
952
|
document?: Document;
|
|
952
|
-
|
|
953
|
+
alt_documents?: Array<Document>;
|
|
953
954
|
ttl_seconds?: number;
|
|
954
955
|
}
|
|
955
956
|
export interface messageMediaWebPage {
|
|
@@ -1198,6 +1199,7 @@ export interface messageActionGiftPremium {
|
|
|
1198
1199
|
months: number;
|
|
1199
1200
|
crypto_currency?: string;
|
|
1200
1201
|
crypto_amount?: bigint;
|
|
1202
|
+
message?: TextWithEntities;
|
|
1201
1203
|
}
|
|
1202
1204
|
export interface messageActionTopicCreate {
|
|
1203
1205
|
_: "messageActionTopicCreate";
|
|
@@ -1238,6 +1240,7 @@ export interface messageActionGiftCode {
|
|
|
1238
1240
|
amount?: bigint;
|
|
1239
1241
|
crypto_currency?: string;
|
|
1240
1242
|
crypto_amount?: bigint;
|
|
1243
|
+
message?: TextWithEntities;
|
|
1241
1244
|
}
|
|
1242
1245
|
export interface messageActionGiveawayLaunch {
|
|
1243
1246
|
_: "messageActionGiveawayLaunch";
|
|
@@ -1283,6 +1286,15 @@ export interface messageActionPrizeStars {
|
|
|
1283
1286
|
boost_peer: Peer;
|
|
1284
1287
|
giveaway_msg_id: number;
|
|
1285
1288
|
}
|
|
1289
|
+
export interface messageActionStarGift {
|
|
1290
|
+
_: "messageActionStarGift";
|
|
1291
|
+
name_hidden?: true;
|
|
1292
|
+
saved?: true;
|
|
1293
|
+
converted?: true;
|
|
1294
|
+
gift: StarGift;
|
|
1295
|
+
message?: TextWithEntities;
|
|
1296
|
+
convert_stars: bigint;
|
|
1297
|
+
}
|
|
1286
1298
|
export interface dialog {
|
|
1287
1299
|
_: "dialog";
|
|
1288
1300
|
pinned?: true;
|
|
@@ -1526,6 +1538,7 @@ export interface userFull {
|
|
|
1526
1538
|
contact_require_premium?: true;
|
|
1527
1539
|
read_dates_private?: true;
|
|
1528
1540
|
sponsored_enabled?: true;
|
|
1541
|
+
can_view_revenue?: true;
|
|
1529
1542
|
id: bigint;
|
|
1530
1543
|
about?: string;
|
|
1531
1544
|
settings: PeerSettings;
|
|
@@ -1553,6 +1566,7 @@ export interface userFull {
|
|
|
1553
1566
|
birthday?: Birthday;
|
|
1554
1567
|
personal_channel_id?: bigint;
|
|
1555
1568
|
personal_channel_message?: number;
|
|
1569
|
+
stargifts_count?: number;
|
|
1556
1570
|
}
|
|
1557
1571
|
export interface contact {
|
|
1558
1572
|
_: "contact";
|
|
@@ -2111,6 +2125,7 @@ export interface updateDeleteScheduledMessages {
|
|
|
2111
2125
|
_: "updateDeleteScheduledMessages";
|
|
2112
2126
|
peer: Peer;
|
|
2113
2127
|
messages: Array<number>;
|
|
2128
|
+
sent_messages?: Array<number>;
|
|
2114
2129
|
}
|
|
2115
2130
|
export interface updateTheme {
|
|
2116
2131
|
_: "updateTheme";
|
|
@@ -3133,6 +3148,7 @@ export interface documentAttributeVideo {
|
|
|
3133
3148
|
h: number;
|
|
3134
3149
|
preload_prefix_size?: number;
|
|
3135
3150
|
video_start_ts?: number;
|
|
3151
|
+
video_codec?: string;
|
|
3136
3152
|
}
|
|
3137
3153
|
export interface documentAttributeAudio {
|
|
3138
3154
|
_: "documentAttributeAudio";
|
|
@@ -3511,6 +3527,11 @@ export interface inputKeyboardButtonRequestPeer {
|
|
|
3511
3527
|
peer_type: RequestPeerType;
|
|
3512
3528
|
max_quantity: number;
|
|
3513
3529
|
}
|
|
3530
|
+
export interface keyboardButtonCopy {
|
|
3531
|
+
_: "keyboardButtonCopy";
|
|
3532
|
+
text: string;
|
|
3533
|
+
copy_text: string;
|
|
3534
|
+
}
|
|
3514
3535
|
export interface keyboardButtonRow {
|
|
3515
3536
|
_: "keyboardButtonRow";
|
|
3516
3537
|
buttons: Array<KeyboardButton>;
|
|
@@ -4670,6 +4691,11 @@ export interface payments_paymentFormStars {
|
|
|
4670
4691
|
invoice: Invoice;
|
|
4671
4692
|
users: Array<User>;
|
|
4672
4693
|
}
|
|
4694
|
+
export interface payments_paymentFormStarGift {
|
|
4695
|
+
_: "payments.paymentFormStarGift";
|
|
4696
|
+
form_id: bigint;
|
|
4697
|
+
invoice: Invoice;
|
|
4698
|
+
}
|
|
4673
4699
|
export interface payments_validatedRequestedInfo {
|
|
4674
4700
|
_: "payments.validatedRequestedInfo";
|
|
4675
4701
|
id?: string;
|
|
@@ -6761,6 +6787,13 @@ export interface inputInvoiceChatInviteSubscription {
|
|
|
6761
6787
|
_: "inputInvoiceChatInviteSubscription";
|
|
6762
6788
|
hash: string;
|
|
6763
6789
|
}
|
|
6790
|
+
export interface inputInvoiceStarGift {
|
|
6791
|
+
_: "inputInvoiceStarGift";
|
|
6792
|
+
hide_name?: true;
|
|
6793
|
+
user_id: InputUser;
|
|
6794
|
+
gift_id: bigint;
|
|
6795
|
+
message?: TextWithEntities;
|
|
6796
|
+
}
|
|
6764
6797
|
export interface payments_exportedInvoice {
|
|
6765
6798
|
_: "payments.exportedInvoice";
|
|
6766
6799
|
url: string;
|
|
@@ -6799,6 +6832,7 @@ export interface inputStorePaymentPremiumGiftCode {
|
|
|
6799
6832
|
boost_peer?: InputPeer;
|
|
6800
6833
|
currency: string;
|
|
6801
6834
|
amount: bigint;
|
|
6835
|
+
message?: TextWithEntities;
|
|
6802
6836
|
}
|
|
6803
6837
|
export interface inputStorePaymentPremiumGiveaway {
|
|
6804
6838
|
_: "inputStorePaymentPremiumGiveaway";
|
|
@@ -8080,6 +8114,9 @@ export interface starsTransactionPeer {
|
|
|
8080
8114
|
export interface starsTransactionPeerAds {
|
|
8081
8115
|
_: "starsTransactionPeerAds";
|
|
8082
8116
|
}
|
|
8117
|
+
export interface starsTransactionPeerAPI {
|
|
8118
|
+
_: "starsTransactionPeerAPI";
|
|
8119
|
+
}
|
|
8083
8120
|
export interface starsTopupOption {
|
|
8084
8121
|
_: "starsTopupOption";
|
|
8085
8122
|
extended?: true;
|
|
@@ -8109,6 +8146,8 @@ export interface starsTransaction {
|
|
|
8109
8146
|
extended_media?: Array<MessageMedia>;
|
|
8110
8147
|
subscription_period?: number;
|
|
8111
8148
|
giveaway_post_id?: number;
|
|
8149
|
+
stargift?: StarGift;
|
|
8150
|
+
floodskip_number?: number;
|
|
8112
8151
|
}
|
|
8113
8152
|
export interface payments_starsStatus {
|
|
8114
8153
|
_: "payments.starsStatus";
|
|
@@ -8232,6 +8271,63 @@ export interface starsGiveawayWinnersOption {
|
|
|
8232
8271
|
users: number;
|
|
8233
8272
|
per_user_stars: bigint;
|
|
8234
8273
|
}
|
|
8274
|
+
export interface starGift {
|
|
8275
|
+
_: "starGift";
|
|
8276
|
+
limited?: true;
|
|
8277
|
+
sold_out?: true;
|
|
8278
|
+
id: bigint;
|
|
8279
|
+
sticker: Document;
|
|
8280
|
+
stars: bigint;
|
|
8281
|
+
availability_remains?: number;
|
|
8282
|
+
availability_total?: number;
|
|
8283
|
+
convert_stars: bigint;
|
|
8284
|
+
first_sale_date?: number;
|
|
8285
|
+
last_sale_date?: number;
|
|
8286
|
+
}
|
|
8287
|
+
export interface payments_starGiftsNotModified {
|
|
8288
|
+
_: "payments.starGiftsNotModified";
|
|
8289
|
+
}
|
|
8290
|
+
export interface payments_starGifts {
|
|
8291
|
+
_: "payments.starGifts";
|
|
8292
|
+
hash: number;
|
|
8293
|
+
gifts: Array<StarGift>;
|
|
8294
|
+
}
|
|
8295
|
+
export interface userStarGift {
|
|
8296
|
+
_: "userStarGift";
|
|
8297
|
+
name_hidden?: true;
|
|
8298
|
+
unsaved?: true;
|
|
8299
|
+
from_id?: bigint;
|
|
8300
|
+
date: number;
|
|
8301
|
+
gift: StarGift;
|
|
8302
|
+
message?: TextWithEntities;
|
|
8303
|
+
msg_id?: number;
|
|
8304
|
+
convert_stars?: bigint;
|
|
8305
|
+
}
|
|
8306
|
+
export interface payments_userStarGifts {
|
|
8307
|
+
_: "payments.userStarGifts";
|
|
8308
|
+
count: number;
|
|
8309
|
+
gifts: Array<UserStarGift>;
|
|
8310
|
+
next_offset?: string;
|
|
8311
|
+
users: Array<User>;
|
|
8312
|
+
}
|
|
8313
|
+
export interface messageReportOption {
|
|
8314
|
+
_: "messageReportOption";
|
|
8315
|
+
text: string;
|
|
8316
|
+
option: Uint8Array;
|
|
8317
|
+
}
|
|
8318
|
+
export interface reportResultChooseOption {
|
|
8319
|
+
_: "reportResultChooseOption";
|
|
8320
|
+
title: string;
|
|
8321
|
+
options: Array<MessageReportOption>;
|
|
8322
|
+
}
|
|
8323
|
+
export interface reportResultAddComment {
|
|
8324
|
+
_: "reportResultAddComment";
|
|
8325
|
+
optional?: true;
|
|
8326
|
+
option: Uint8Array;
|
|
8327
|
+
}
|
|
8328
|
+
export interface reportResultReported {
|
|
8329
|
+
_: "reportResultReported";
|
|
8330
|
+
}
|
|
8235
8331
|
export interface req_pq_multi {
|
|
8236
8332
|
_: "req_pq_multi";
|
|
8237
8333
|
nonce: bigint;
|
|
@@ -9404,6 +9500,7 @@ export interface messages_sendMessage {
|
|
|
9404
9500
|
noforwards?: true;
|
|
9405
9501
|
update_stickersets_order?: true;
|
|
9406
9502
|
invert_media?: true;
|
|
9503
|
+
allow_paid_floodskip?: true;
|
|
9407
9504
|
peer: InputPeer;
|
|
9408
9505
|
reply_to?: InputReplyTo;
|
|
9409
9506
|
message: string;
|
|
@@ -9424,6 +9521,7 @@ export interface messages_sendMedia {
|
|
|
9424
9521
|
noforwards?: true;
|
|
9425
9522
|
update_stickersets_order?: true;
|
|
9426
9523
|
invert_media?: true;
|
|
9524
|
+
allow_paid_floodskip?: true;
|
|
9427
9525
|
peer: InputPeer;
|
|
9428
9526
|
reply_to?: InputReplyTo;
|
|
9429
9527
|
media: InputMedia;
|
|
@@ -9445,6 +9543,7 @@ export interface messages_forwardMessages {
|
|
|
9445
9543
|
drop_author?: true;
|
|
9446
9544
|
drop_media_captions?: true;
|
|
9447
9545
|
noforwards?: true;
|
|
9546
|
+
allow_paid_floodskip?: true;
|
|
9448
9547
|
from_peer: InputPeer;
|
|
9449
9548
|
id: Array<number>;
|
|
9450
9549
|
random_id: Array<bigint>;
|
|
@@ -9469,9 +9568,9 @@ export interface messages_report {
|
|
|
9469
9568
|
_: "messages.report";
|
|
9470
9569
|
peer: InputPeer;
|
|
9471
9570
|
id: Array<number>;
|
|
9472
|
-
|
|
9571
|
+
option: Uint8Array;
|
|
9473
9572
|
message: string;
|
|
9474
|
-
[R]?:
|
|
9573
|
+
[R]?: ReportResult;
|
|
9475
9574
|
}
|
|
9476
9575
|
export interface messages_getChats {
|
|
9477
9576
|
_: "messages.getChats";
|
|
@@ -10001,6 +10100,7 @@ export interface messages_sendMultiMedia {
|
|
|
10001
10100
|
noforwards?: true;
|
|
10002
10101
|
update_stickersets_order?: true;
|
|
10003
10102
|
invert_media?: true;
|
|
10103
|
+
allow_paid_floodskip?: true;
|
|
10004
10104
|
peer: InputPeer;
|
|
10005
10105
|
reply_to?: InputReplyTo;
|
|
10006
10106
|
multi_media: Array<InputSingleMedia>;
|
|
@@ -10853,6 +10953,32 @@ export interface messages_getPaidReactionPrivacy {
|
|
|
10853
10953
|
_: "messages.getPaidReactionPrivacy";
|
|
10854
10954
|
[R]?: Updates;
|
|
10855
10955
|
}
|
|
10956
|
+
export interface messages_viewSponsoredMessage {
|
|
10957
|
+
_: "messages.viewSponsoredMessage";
|
|
10958
|
+
peer: InputPeer;
|
|
10959
|
+
random_id: Uint8Array;
|
|
10960
|
+
[R]?: boolean;
|
|
10961
|
+
}
|
|
10962
|
+
export interface messages_clickSponsoredMessage {
|
|
10963
|
+
_: "messages.clickSponsoredMessage";
|
|
10964
|
+
media?: true;
|
|
10965
|
+
fullscreen?: true;
|
|
10966
|
+
peer: InputPeer;
|
|
10967
|
+
random_id: Uint8Array;
|
|
10968
|
+
[R]?: boolean;
|
|
10969
|
+
}
|
|
10970
|
+
export interface messages_reportSponsoredMessage {
|
|
10971
|
+
_: "messages.reportSponsoredMessage";
|
|
10972
|
+
peer: InputPeer;
|
|
10973
|
+
random_id: Uint8Array;
|
|
10974
|
+
option: Uint8Array;
|
|
10975
|
+
[R]?: channels_SponsoredMessageReportResult;
|
|
10976
|
+
}
|
|
10977
|
+
export interface messages_getSponsoredMessages {
|
|
10978
|
+
_: "messages.getSponsoredMessages";
|
|
10979
|
+
peer: InputPeer;
|
|
10980
|
+
[R]?: messages_SponsoredMessages;
|
|
10981
|
+
}
|
|
10856
10982
|
export interface updates_getState {
|
|
10857
10983
|
_: "updates.getState";
|
|
10858
10984
|
[R]?: updates_State;
|
|
@@ -11319,17 +11445,6 @@ export interface channels_convertToGigagroup {
|
|
|
11319
11445
|
channel: InputChannel;
|
|
11320
11446
|
[R]?: Updates;
|
|
11321
11447
|
}
|
|
11322
|
-
export interface channels_viewSponsoredMessage {
|
|
11323
|
-
_: "channels.viewSponsoredMessage";
|
|
11324
|
-
channel: InputChannel;
|
|
11325
|
-
random_id: Uint8Array;
|
|
11326
|
-
[R]?: boolean;
|
|
11327
|
-
}
|
|
11328
|
-
export interface channels_getSponsoredMessages {
|
|
11329
|
-
_: "channels.getSponsoredMessages";
|
|
11330
|
-
channel: InputChannel;
|
|
11331
|
-
[R]?: messages_SponsoredMessages;
|
|
11332
|
-
}
|
|
11333
11448
|
export interface channels_getSendAs {
|
|
11334
11449
|
_: "channels.getSendAs";
|
|
11335
11450
|
peer: InputPeer;
|
|
@@ -11451,12 +11566,6 @@ export interface channels_toggleParticipantsHidden {
|
|
|
11451
11566
|
enabled: boolean;
|
|
11452
11567
|
[R]?: Updates;
|
|
11453
11568
|
}
|
|
11454
|
-
export interface channels_clickSponsoredMessage {
|
|
11455
|
-
_: "channels.clickSponsoredMessage";
|
|
11456
|
-
channel: InputChannel;
|
|
11457
|
-
random_id: Uint8Array;
|
|
11458
|
-
[R]?: boolean;
|
|
11459
|
-
}
|
|
11460
11569
|
export interface channels_updateColor {
|
|
11461
11570
|
_: "channels.updateColor";
|
|
11462
11571
|
for_profile?: true;
|
|
@@ -11494,13 +11603,6 @@ export interface channels_setEmojiStickers {
|
|
|
11494
11603
|
stickerset: InputStickerSet;
|
|
11495
11604
|
[R]?: boolean;
|
|
11496
11605
|
}
|
|
11497
|
-
export interface channels_reportSponsoredMessage {
|
|
11498
|
-
_: "channels.reportSponsoredMessage";
|
|
11499
|
-
channel: InputChannel;
|
|
11500
|
-
random_id: Uint8Array;
|
|
11501
|
-
option: Uint8Array;
|
|
11502
|
-
[R]?: channels_SponsoredMessageReportResult;
|
|
11503
|
-
}
|
|
11504
11606
|
export interface channels_restrictSponsoredMessages {
|
|
11505
11607
|
_: "channels.restrictSponsoredMessages";
|
|
11506
11608
|
channel: InputChannel;
|
|
@@ -11838,6 +11940,31 @@ export interface payments_getStarsGiveawayOptions {
|
|
|
11838
11940
|
_: "payments.getStarsGiveawayOptions";
|
|
11839
11941
|
[R]?: Array<StarsGiveawayOption>;
|
|
11840
11942
|
}
|
|
11943
|
+
export interface payments_getStarGifts {
|
|
11944
|
+
_: "payments.getStarGifts";
|
|
11945
|
+
hash: number;
|
|
11946
|
+
[R]?: payments_StarGifts;
|
|
11947
|
+
}
|
|
11948
|
+
export interface payments_getUserStarGifts {
|
|
11949
|
+
_: "payments.getUserStarGifts";
|
|
11950
|
+
user_id: InputUser;
|
|
11951
|
+
offset: string;
|
|
11952
|
+
limit: number;
|
|
11953
|
+
[R]?: payments_UserStarGifts;
|
|
11954
|
+
}
|
|
11955
|
+
export interface payments_saveStarGift {
|
|
11956
|
+
_: "payments.saveStarGift";
|
|
11957
|
+
unsave?: true;
|
|
11958
|
+
user_id: InputUser;
|
|
11959
|
+
msg_id: number;
|
|
11960
|
+
[R]?: boolean;
|
|
11961
|
+
}
|
|
11962
|
+
export interface payments_convertStarGift {
|
|
11963
|
+
_: "payments.convertStarGift";
|
|
11964
|
+
user_id: InputUser;
|
|
11965
|
+
msg_id: number;
|
|
11966
|
+
[R]?: boolean;
|
|
11967
|
+
}
|
|
11841
11968
|
export interface stickers_createStickerSet {
|
|
11842
11969
|
_: "stickers.createStickerSet";
|
|
11843
11970
|
masks?: true;
|
|
@@ -12206,18 +12333,18 @@ export interface stats_getStoryPublicForwards {
|
|
|
12206
12333
|
export interface stats_getBroadcastRevenueStats {
|
|
12207
12334
|
_: "stats.getBroadcastRevenueStats";
|
|
12208
12335
|
dark?: true;
|
|
12209
|
-
|
|
12336
|
+
peer: InputPeer;
|
|
12210
12337
|
[R]?: stats_BroadcastRevenueStats;
|
|
12211
12338
|
}
|
|
12212
12339
|
export interface stats_getBroadcastRevenueWithdrawalUrl {
|
|
12213
12340
|
_: "stats.getBroadcastRevenueWithdrawalUrl";
|
|
12214
|
-
|
|
12341
|
+
peer: InputPeer;
|
|
12215
12342
|
password: InputCheckPasswordSRP;
|
|
12216
12343
|
[R]?: stats_BroadcastRevenueWithdrawalUrl;
|
|
12217
12344
|
}
|
|
12218
12345
|
export interface stats_getBroadcastRevenueTransactions {
|
|
12219
12346
|
_: "stats.getBroadcastRevenueTransactions";
|
|
12220
|
-
|
|
12347
|
+
peer: InputPeer;
|
|
12221
12348
|
offset: number;
|
|
12222
12349
|
limit: number;
|
|
12223
12350
|
[R]?: stats_BroadcastRevenueTransactions;
|
|
@@ -12404,9 +12531,9 @@ export interface stories_report {
|
|
|
12404
12531
|
_: "stories.report";
|
|
12405
12532
|
peer: InputPeer;
|
|
12406
12533
|
id: Array<number>;
|
|
12407
|
-
|
|
12534
|
+
option: Uint8Array;
|
|
12408
12535
|
message: string;
|
|
12409
|
-
[R]?:
|
|
12536
|
+
[R]?: ReportResult;
|
|
12410
12537
|
}
|
|
12411
12538
|
export interface stories_activateStealthMode {
|
|
12412
12539
|
_: "stories.activateStealthMode";
|
|
@@ -12466,6 +12593,7 @@ export interface stories_searchPosts {
|
|
|
12466
12593
|
_: "stories.searchPosts";
|
|
12467
12594
|
hashtag?: string;
|
|
12468
12595
|
area?: MediaArea;
|
|
12596
|
+
peer?: InputPeer;
|
|
12469
12597
|
offset: string;
|
|
12470
12598
|
limit: number;
|
|
12471
12599
|
[R]?: stories_FoundStories;
|
|
@@ -12732,6 +12860,7 @@ export interface Types {
|
|
|
12732
12860
|
"messageActionPaymentRefunded": messageActionPaymentRefunded;
|
|
12733
12861
|
"messageActionGiftStars": messageActionGiftStars;
|
|
12734
12862
|
"messageActionPrizeStars": messageActionPrizeStars;
|
|
12863
|
+
"messageActionStarGift": messageActionStarGift;
|
|
12735
12864
|
"dialog": dialog;
|
|
12736
12865
|
"dialogFolder": dialogFolder;
|
|
12737
12866
|
"photoEmpty": photoEmpty;
|
|
@@ -13124,6 +13253,7 @@ export interface Types {
|
|
|
13124
13253
|
"keyboardButtonSimpleWebView": keyboardButtonSimpleWebView;
|
|
13125
13254
|
"keyboardButtonRequestPeer": keyboardButtonRequestPeer;
|
|
13126
13255
|
"inputKeyboardButtonRequestPeer": inputKeyboardButtonRequestPeer;
|
|
13256
|
+
"keyboardButtonCopy": keyboardButtonCopy;
|
|
13127
13257
|
"keyboardButtonRow": keyboardButtonRow;
|
|
13128
13258
|
"replyKeyboardHide": replyKeyboardHide;
|
|
13129
13259
|
"replyKeyboardForceReply": replyKeyboardForceReply;
|
|
@@ -13326,6 +13456,7 @@ export interface Types {
|
|
|
13326
13456
|
"upload.webFile": upload_webFile;
|
|
13327
13457
|
"payments.paymentForm": payments_paymentForm;
|
|
13328
13458
|
"payments.paymentFormStars": payments_paymentFormStars;
|
|
13459
|
+
"payments.paymentFormStarGift": payments_paymentFormStarGift;
|
|
13329
13460
|
"payments.validatedRequestedInfo": payments_validatedRequestedInfo;
|
|
13330
13461
|
"payments.paymentResult": payments_paymentResult;
|
|
13331
13462
|
"payments.paymentVerificationNeeded": payments_paymentVerificationNeeded;
|
|
@@ -13687,6 +13818,7 @@ export interface Types {
|
|
|
13687
13818
|
"inputInvoicePremiumGiftCode": inputInvoicePremiumGiftCode;
|
|
13688
13819
|
"inputInvoiceStars": inputInvoiceStars;
|
|
13689
13820
|
"inputInvoiceChatInviteSubscription": inputInvoiceChatInviteSubscription;
|
|
13821
|
+
"inputInvoiceStarGift": inputInvoiceStarGift;
|
|
13690
13822
|
"payments.exportedInvoice": payments_exportedInvoice;
|
|
13691
13823
|
"messages.transcribedAudio": messages_transcribedAudio;
|
|
13692
13824
|
"help.premiumPromo": help_premiumPromo;
|
|
@@ -13903,6 +14035,7 @@ export interface Types {
|
|
|
13903
14035
|
"starsTransactionPeerFragment": starsTransactionPeerFragment;
|
|
13904
14036
|
"starsTransactionPeer": starsTransactionPeer;
|
|
13905
14037
|
"starsTransactionPeerAds": starsTransactionPeerAds;
|
|
14038
|
+
"starsTransactionPeerAPI": starsTransactionPeerAPI;
|
|
13906
14039
|
"starsTopupOption": starsTopupOption;
|
|
13907
14040
|
"starsTransaction": starsTransaction;
|
|
13908
14041
|
"payments.starsStatus": payments_starsStatus;
|
|
@@ -13923,6 +14056,15 @@ export interface Types {
|
|
|
13923
14056
|
"messageReactor": messageReactor;
|
|
13924
14057
|
"starsGiveawayOption": starsGiveawayOption;
|
|
13925
14058
|
"starsGiveawayWinnersOption": starsGiveawayWinnersOption;
|
|
14059
|
+
"starGift": starGift;
|
|
14060
|
+
"payments.starGiftsNotModified": payments_starGiftsNotModified;
|
|
14061
|
+
"payments.starGifts": payments_starGifts;
|
|
14062
|
+
"userStarGift": userStarGift;
|
|
14063
|
+
"payments.userStarGifts": payments_userStarGifts;
|
|
14064
|
+
"messageReportOption": messageReportOption;
|
|
14065
|
+
"reportResultChooseOption": reportResultChooseOption;
|
|
14066
|
+
"reportResultAddComment": reportResultAddComment;
|
|
14067
|
+
"reportResultReported": reportResultReported;
|
|
13926
14068
|
}
|
|
13927
14069
|
export interface Functions<T = Function> {
|
|
13928
14070
|
"req_pq_multi": req_pq_multi;
|
|
@@ -14329,6 +14471,10 @@ export interface Functions<T = Function> {
|
|
|
14329
14471
|
"messages.sendPaidReaction": messages_sendPaidReaction;
|
|
14330
14472
|
"messages.togglePaidReactionPrivacy": messages_togglePaidReactionPrivacy;
|
|
14331
14473
|
"messages.getPaidReactionPrivacy": messages_getPaidReactionPrivacy;
|
|
14474
|
+
"messages.viewSponsoredMessage": messages_viewSponsoredMessage;
|
|
14475
|
+
"messages.clickSponsoredMessage": messages_clickSponsoredMessage;
|
|
14476
|
+
"messages.reportSponsoredMessage": messages_reportSponsoredMessage;
|
|
14477
|
+
"messages.getSponsoredMessages": messages_getSponsoredMessages;
|
|
14332
14478
|
"updates.getState": updates_getState;
|
|
14333
14479
|
"updates.getDifference": updates_getDifference;
|
|
14334
14480
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -14405,8 +14551,6 @@ export interface Functions<T = Function> {
|
|
|
14405
14551
|
"channels.toggleSlowMode": channels_toggleSlowMode;
|
|
14406
14552
|
"channels.getInactiveChannels": channels_getInactiveChannels;
|
|
14407
14553
|
"channels.convertToGigagroup": channels_convertToGigagroup;
|
|
14408
|
-
"channels.viewSponsoredMessage": channels_viewSponsoredMessage;
|
|
14409
|
-
"channels.getSponsoredMessages": channels_getSponsoredMessages;
|
|
14410
14554
|
"channels.getSendAs": channels_getSendAs;
|
|
14411
14555
|
"channels.deleteParticipantHistory": channels_deleteParticipantHistory;
|
|
14412
14556
|
"channels.toggleJoinToSend": channels_toggleJoinToSend;
|
|
@@ -14425,14 +14569,12 @@ export interface Functions<T = Function> {
|
|
|
14425
14569
|
"channels.toggleAntiSpam": channels_toggleAntiSpam;
|
|
14426
14570
|
"channels.reportAntiSpamFalsePositive": channels_reportAntiSpamFalsePositive;
|
|
14427
14571
|
"channels.toggleParticipantsHidden": channels_toggleParticipantsHidden;
|
|
14428
|
-
"channels.clickSponsoredMessage": channels_clickSponsoredMessage;
|
|
14429
14572
|
"channels.updateColor": channels_updateColor;
|
|
14430
14573
|
"channels.toggleViewForumAsMessages": channels_toggleViewForumAsMessages;
|
|
14431
14574
|
"channels.getChannelRecommendations": channels_getChannelRecommendations;
|
|
14432
14575
|
"channels.updateEmojiStatus": channels_updateEmojiStatus;
|
|
14433
14576
|
"channels.setBoostsToUnblockRestrictions": channels_setBoostsToUnblockRestrictions;
|
|
14434
14577
|
"channels.setEmojiStickers": channels_setEmojiStickers;
|
|
14435
|
-
"channels.reportSponsoredMessage": channels_reportSponsoredMessage;
|
|
14436
14578
|
"channels.restrictSponsoredMessages": channels_restrictSponsoredMessages;
|
|
14437
14579
|
"channels.searchPosts": channels_searchPosts;
|
|
14438
14580
|
"bots.sendCustomRequest": bots_sendCustomRequest;
|
|
@@ -14488,6 +14630,10 @@ export interface Functions<T = Function> {
|
|
|
14488
14630
|
"payments.changeStarsSubscription": payments_changeStarsSubscription;
|
|
14489
14631
|
"payments.fulfillStarsSubscription": payments_fulfillStarsSubscription;
|
|
14490
14632
|
"payments.getStarsGiveawayOptions": payments_getStarsGiveawayOptions;
|
|
14633
|
+
"payments.getStarGifts": payments_getStarGifts;
|
|
14634
|
+
"payments.getUserStarGifts": payments_getUserStarGifts;
|
|
14635
|
+
"payments.saveStarGift": payments_saveStarGift;
|
|
14636
|
+
"payments.convertStarGift": payments_convertStarGift;
|
|
14491
14637
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
14492
14638
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
14493
14639
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -15132,6 +15278,12 @@ export interface Enums {
|
|
|
15132
15278
|
"MessageReactor": MessageReactor;
|
|
15133
15279
|
"StarsGiveawayOption": StarsGiveawayOption;
|
|
15134
15280
|
"StarsGiveawayWinnersOption": StarsGiveawayWinnersOption;
|
|
15281
|
+
"StarGift": StarGift;
|
|
15282
|
+
"payments.StarGifts": payments_StarGifts;
|
|
15283
|
+
"UserStarGift": UserStarGift;
|
|
15284
|
+
"payments.UserStarGifts": payments_UserStarGifts;
|
|
15285
|
+
"MessageReportOption": MessageReportOption;
|
|
15286
|
+
"ReportResult": ReportResult;
|
|
15135
15287
|
}
|
|
15136
15288
|
export type AnyType = Types[keyof Types];
|
|
15137
15289
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -15187,7 +15339,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
|
|
|
15187
15339
|
export type ChatPhoto = chatPhotoEmpty | chatPhoto;
|
|
15188
15340
|
export type Message = messageEmpty | message | messageService;
|
|
15189
15341
|
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia;
|
|
15190
|
-
export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars;
|
|
15342
|
+
export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars | messageActionStarGift;
|
|
15191
15343
|
export type Dialog = dialog | dialogFolder;
|
|
15192
15344
|
export type Photo = photoEmpty | photo;
|
|
15193
15345
|
export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
|
|
@@ -15265,7 +15417,7 @@ export type StickerSet = stickerSet;
|
|
|
15265
15417
|
export type messages_StickerSet = messages_stickerSet | messages_stickerSetNotModified;
|
|
15266
15418
|
export type BotCommand = botCommand;
|
|
15267
15419
|
export type BotInfo = botInfo;
|
|
15268
|
-
export type KeyboardButton = keyboardButton | keyboardButtonUrl | keyboardButtonCallback | keyboardButtonRequestPhone | keyboardButtonRequestGeoLocation | keyboardButtonSwitchInline | keyboardButtonGame | keyboardButtonBuy | keyboardButtonUrlAuth | inputKeyboardButtonUrlAuth | keyboardButtonRequestPoll | inputKeyboardButtonUserProfile | keyboardButtonUserProfile | keyboardButtonWebView | keyboardButtonSimpleWebView | keyboardButtonRequestPeer | inputKeyboardButtonRequestPeer;
|
|
15420
|
+
export type KeyboardButton = keyboardButton | keyboardButtonUrl | keyboardButtonCallback | keyboardButtonRequestPhone | keyboardButtonRequestGeoLocation | keyboardButtonSwitchInline | keyboardButtonGame | keyboardButtonBuy | keyboardButtonUrlAuth | inputKeyboardButtonUrlAuth | keyboardButtonRequestPoll | inputKeyboardButtonUserProfile | keyboardButtonUserProfile | keyboardButtonWebView | keyboardButtonSimpleWebView | keyboardButtonRequestPeer | inputKeyboardButtonRequestPeer | keyboardButtonCopy;
|
|
15269
15421
|
export type KeyboardButtonRow = keyboardButtonRow;
|
|
15270
15422
|
export type ReplyMarkup = replyKeyboardHide | replyKeyboardForceReply | replyKeyboardMarkup | replyInlineMarkup;
|
|
15271
15423
|
export type MessageEntity = messageEntityUnknown | messageEntityMention | messageEntityHashtag | messageEntityBotCommand | messageEntityUrl | messageEntityEmail | messageEntityBold | messageEntityItalic | messageEntityCode | messageEntityPre | messageEntityTextUrl | messageEntityMentionName | inputMessageEntityMentionName | messageEntityPhone | messageEntityCashtag | messageEntityUnderline | messageEntityStrike | messageEntityBankCard | messageEntitySpoiler | messageEntityCustomEmoji | messageEntityBlockquote;
|
|
@@ -15324,7 +15476,7 @@ export type WebDocument = webDocument | webDocumentNoProxy;
|
|
|
15324
15476
|
export type InputWebDocument = inputWebDocument;
|
|
15325
15477
|
export type InputWebFileLocation = inputWebFileLocation | inputWebFileGeoPointLocation | inputWebFileAudioAlbumThumbLocation;
|
|
15326
15478
|
export type upload_WebFile = upload_webFile;
|
|
15327
|
-
export type payments_PaymentForm = payments_paymentForm | payments_paymentFormStars;
|
|
15479
|
+
export type payments_PaymentForm = payments_paymentForm | payments_paymentFormStars | payments_paymentFormStarGift;
|
|
15328
15480
|
export type payments_ValidatedRequestedInfo = payments_validatedRequestedInfo;
|
|
15329
15481
|
export type payments_PaymentResult = payments_paymentResult | payments_paymentVerificationNeeded;
|
|
15330
15482
|
export type payments_PaymentReceipt = payments_paymentReceipt | payments_paymentReceiptStars;
|
|
@@ -15512,7 +15664,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
|
|
|
15512
15664
|
export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
|
|
15513
15665
|
export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
|
|
15514
15666
|
export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
|
|
15515
|
-
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription;
|
|
15667
|
+
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift;
|
|
15516
15668
|
export type payments_ExportedInvoice = payments_exportedInvoice;
|
|
15517
15669
|
export type messages_TranscribedAudio = messages_transcribedAudio;
|
|
15518
15670
|
export type help_PremiumPromo = help_premiumPromo;
|
|
@@ -15650,7 +15802,7 @@ export type BroadcastRevenueBalances = broadcastRevenueBalances;
|
|
|
15650
15802
|
export type AvailableEffect = availableEffect;
|
|
15651
15803
|
export type messages_AvailableEffects = messages_availableEffectsNotModified | messages_availableEffects;
|
|
15652
15804
|
export type FactCheck = factCheck;
|
|
15653
|
-
export type StarsTransactionPeer = starsTransactionPeerUnsupported | starsTransactionPeerAppStore | starsTransactionPeerPlayMarket | starsTransactionPeerPremiumBot | starsTransactionPeerFragment | starsTransactionPeer | starsTransactionPeerAds;
|
|
15805
|
+
export type StarsTransactionPeer = starsTransactionPeerUnsupported | starsTransactionPeerAppStore | starsTransactionPeerPlayMarket | starsTransactionPeerPremiumBot | starsTransactionPeerFragment | starsTransactionPeer | starsTransactionPeerAds | starsTransactionPeerAPI;
|
|
15654
15806
|
export type StarsTopupOption = starsTopupOption;
|
|
15655
15807
|
export type StarsTransaction = starsTransaction;
|
|
15656
15808
|
export type payments_StarsStatus = payments_starsStatus;
|
|
@@ -15671,6 +15823,12 @@ export type StarsSubscription = starsSubscription;
|
|
|
15671
15823
|
export type MessageReactor = messageReactor;
|
|
15672
15824
|
export type StarsGiveawayOption = starsGiveawayOption;
|
|
15673
15825
|
export type StarsGiveawayWinnersOption = starsGiveawayWinnersOption;
|
|
15826
|
+
export type StarGift = starGift;
|
|
15827
|
+
export type payments_StarGifts = payments_starGiftsNotModified | payments_starGifts;
|
|
15828
|
+
export type UserStarGift = userStarGift;
|
|
15829
|
+
export type payments_UserStarGifts = payments_userStarGifts;
|
|
15830
|
+
export type MessageReportOption = messageReportOption;
|
|
15831
|
+
export type ReportResult = reportResultChooseOption | reportResultAddComment | reportResultReported;
|
|
15674
15832
|
export declare const getTypeName: (id: number) => string | undefined;
|
|
15675
15833
|
export declare const flags: symbol;
|
|
15676
15834
|
export type Parameters = [number, [string, unknown, string][]];
|