@mtkruto/node 0.63.16 → 0.63.17
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/README.md +1 -1
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +5 -2
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_video_chat_manager.js +1 -1
- package/esm/client/4_chat_list_manager.js +1 -1
- package/esm/client/4_chat_manager.d.ts +2 -2
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/5_client.d.ts +6 -6
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/equals.js +4 -4
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts +1 -1
- package/{script/deps/jsr.io/@std/internal/1.0.6 → esm/deps/jsr.io/@std/internal/1.0.7}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.d.ts +218 -27
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +288 -48
- package/esm/types/2_chat.js +2 -2
- package/esm/utilities/2_queue.d.ts +1 -1
- package/esm/utilities/2_queue.d.ts.map +1 -1
- package/esm/utilities/2_queue.js +11 -7
- package/package.json +1 -1
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +4 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_video_chat_manager.js +1 -1
- package/script/client/4_chat_list_manager.js +1 -1
- package/script/client/4_chat_manager.d.ts +2 -2
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/5_client.d.ts +6 -6
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.13/equals.js +4 -4
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts +1 -1
- package/{esm/deps/jsr.io/@std/internal/1.0.6 → script/deps/jsr.io/@std/internal/1.0.7}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts.map +1 -1
- package/script/tl/1_telegram_api.d.ts +218 -27
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +288 -48
- package/script/types/2_chat.js +2 -2
- package/script/utilities/2_queue.d.ts +1 -1
- package/script/utilities/2_queue.d.ts.map +1 -1
- package/script/utilities/2_queue.js +11 -7
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.7/format.ts"],"names":[],"mappings":"AAuBA,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAezC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.7/styles.ts"],"names":[],"mappings":"AAqCA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3C;AAWD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.7/types.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,CAAC,CAAC;IACT,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B"}
|
|
@@ -508,6 +508,7 @@ export interface channel {
|
|
|
508
508
|
stories_hidden_min?: true;
|
|
509
509
|
stories_unavailable?: true;
|
|
510
510
|
signature_profiles?: true;
|
|
511
|
+
autotranslation?: true;
|
|
511
512
|
id: bigint;
|
|
512
513
|
access_hash?: bigint;
|
|
513
514
|
title: string;
|
|
@@ -1133,6 +1134,9 @@ export interface messageActionStarGiftUnique {
|
|
|
1133
1134
|
from_id?: Peer;
|
|
1134
1135
|
peer?: Peer;
|
|
1135
1136
|
saved_id?: bigint;
|
|
1137
|
+
resale_stars?: bigint;
|
|
1138
|
+
can_transfer_at?: number;
|
|
1139
|
+
can_resell_at?: number;
|
|
1136
1140
|
}
|
|
1137
1141
|
export interface messageActionPaidMessagesRefunded {
|
|
1138
1142
|
_: "messageActionPaidMessagesRefunded";
|
|
@@ -1143,6 +1147,15 @@ export interface messageActionPaidMessagesPrice {
|
|
|
1143
1147
|
_: "messageActionPaidMessagesPrice";
|
|
1144
1148
|
stars: bigint;
|
|
1145
1149
|
}
|
|
1150
|
+
export interface messageActionConferenceCall {
|
|
1151
|
+
_: "messageActionConferenceCall";
|
|
1152
|
+
missed?: true;
|
|
1153
|
+
active?: true;
|
|
1154
|
+
video?: true;
|
|
1155
|
+
call_id: bigint;
|
|
1156
|
+
duration?: number;
|
|
1157
|
+
other_participants?: Array<Peer>;
|
|
1158
|
+
}
|
|
1146
1159
|
export interface dialog {
|
|
1147
1160
|
_: "dialog";
|
|
1148
1161
|
pinned?: true;
|
|
@@ -2392,6 +2405,13 @@ export interface updateSentPhoneCode {
|
|
|
2392
2405
|
_: "updateSentPhoneCode";
|
|
2393
2406
|
sent_code: auth_SentCode;
|
|
2394
2407
|
}
|
|
2408
|
+
export interface updateGroupCallChainBlocks {
|
|
2409
|
+
_: "updateGroupCallChainBlocks";
|
|
2410
|
+
call: InputGroupCall;
|
|
2411
|
+
sub_chain_id: number;
|
|
2412
|
+
blocks: Array<Uint8Array>;
|
|
2413
|
+
next_offset: number;
|
|
2414
|
+
}
|
|
2395
2415
|
export interface updates_state {
|
|
2396
2416
|
_: "updates.state";
|
|
2397
2417
|
pts: number;
|
|
@@ -4454,9 +4474,9 @@ export interface phoneCallDiscardReasonHangup {
|
|
|
4454
4474
|
export interface phoneCallDiscardReasonBusy {
|
|
4455
4475
|
_: "phoneCallDiscardReasonBusy";
|
|
4456
4476
|
}
|
|
4457
|
-
export interface
|
|
4458
|
-
_: "
|
|
4459
|
-
|
|
4477
|
+
export interface phoneCallDiscardReasonMigrateConferenceCall {
|
|
4478
|
+
_: "phoneCallDiscardReasonMigrateConferenceCall";
|
|
4479
|
+
slug: string;
|
|
4460
4480
|
}
|
|
4461
4481
|
export interface dataJSON {
|
|
4462
4482
|
_: "dataJSON";
|
|
@@ -4699,7 +4719,6 @@ export interface phoneCallWaiting {
|
|
|
4699
4719
|
participant_id: bigint;
|
|
4700
4720
|
protocol: PhoneCallProtocol;
|
|
4701
4721
|
receive_date?: number;
|
|
4702
|
-
conference_call?: InputGroupCall;
|
|
4703
4722
|
}
|
|
4704
4723
|
export interface phoneCallRequested {
|
|
4705
4724
|
_: "phoneCallRequested";
|
|
@@ -4711,7 +4730,6 @@ export interface phoneCallRequested {
|
|
|
4711
4730
|
participant_id: bigint;
|
|
4712
4731
|
g_a_hash: Uint8Array;
|
|
4713
4732
|
protocol: PhoneCallProtocol;
|
|
4714
|
-
conference_call?: InputGroupCall;
|
|
4715
4733
|
}
|
|
4716
4734
|
export interface phoneCallAccepted {
|
|
4717
4735
|
_: "phoneCallAccepted";
|
|
@@ -4723,12 +4741,12 @@ export interface phoneCallAccepted {
|
|
|
4723
4741
|
participant_id: bigint;
|
|
4724
4742
|
g_b: Uint8Array;
|
|
4725
4743
|
protocol: PhoneCallProtocol;
|
|
4726
|
-
conference_call?: InputGroupCall;
|
|
4727
4744
|
}
|
|
4728
4745
|
export interface phoneCall {
|
|
4729
4746
|
_: "phoneCall";
|
|
4730
4747
|
p2p_allowed?: true;
|
|
4731
4748
|
video?: true;
|
|
4749
|
+
conference_supported?: true;
|
|
4732
4750
|
id: bigint;
|
|
4733
4751
|
access_hash: bigint;
|
|
4734
4752
|
date: number;
|
|
@@ -4740,7 +4758,6 @@ export interface phoneCall {
|
|
|
4740
4758
|
connections: Array<PhoneConnection>;
|
|
4741
4759
|
start_date: number;
|
|
4742
4760
|
custom_parameters?: DataJSON;
|
|
4743
|
-
conference_call?: InputGroupCall;
|
|
4744
4761
|
}
|
|
4745
4762
|
export interface phoneCallDiscarded {
|
|
4746
4763
|
_: "phoneCallDiscarded";
|
|
@@ -4750,7 +4767,6 @@ export interface phoneCallDiscarded {
|
|
|
4750
4767
|
id: bigint;
|
|
4751
4768
|
reason?: PhoneCallDiscardReason;
|
|
4752
4769
|
duration?: number;
|
|
4753
|
-
conference_call?: InputGroupCall;
|
|
4754
4770
|
}
|
|
4755
4771
|
export interface phoneConnection {
|
|
4756
4772
|
_: "phoneConnection";
|
|
@@ -5066,6 +5082,10 @@ export interface channelAdminLogEventActionParticipantSubExtend {
|
|
|
5066
5082
|
prev_participant: ChannelParticipant;
|
|
5067
5083
|
new_participant: ChannelParticipant;
|
|
5068
5084
|
}
|
|
5085
|
+
export interface channelAdminLogEventActionToggleAutotranslation {
|
|
5086
|
+
_: "channelAdminLogEventActionToggleAutotranslation";
|
|
5087
|
+
new_value: boolean;
|
|
5088
|
+
}
|
|
5069
5089
|
export interface channelAdminLogEvent {
|
|
5070
5090
|
_: "channelAdminLogEvent";
|
|
5071
5091
|
id: bigint;
|
|
@@ -6056,11 +6076,14 @@ export interface help_promoData {
|
|
|
6056
6076
|
_: "help.promoData";
|
|
6057
6077
|
proxy?: true;
|
|
6058
6078
|
expires: number;
|
|
6059
|
-
peer
|
|
6060
|
-
chats: Array<Chat>;
|
|
6061
|
-
users: Array<User>;
|
|
6079
|
+
peer?: Peer;
|
|
6062
6080
|
psa_type?: string;
|
|
6063
6081
|
psa_message?: string;
|
|
6082
|
+
pending_suggestions: Array<string>;
|
|
6083
|
+
dismissed_suggestions: Array<string>;
|
|
6084
|
+
custom_pending_suggestion?: PendingSuggestion;
|
|
6085
|
+
chats: Array<Chat>;
|
|
6086
|
+
users: Array<User>;
|
|
6064
6087
|
}
|
|
6065
6088
|
export interface videoSize {
|
|
6066
6089
|
_: "videoSize";
|
|
@@ -6229,6 +6252,8 @@ export interface groupCall {
|
|
|
6229
6252
|
record_video_active?: true;
|
|
6230
6253
|
rtmp_stream?: true;
|
|
6231
6254
|
listeners_hidden?: true;
|
|
6255
|
+
conference?: true;
|
|
6256
|
+
creator?: true;
|
|
6232
6257
|
id: bigint;
|
|
6233
6258
|
access_hash: bigint;
|
|
6234
6259
|
participants_count: number;
|
|
@@ -6239,13 +6264,21 @@ export interface groupCall {
|
|
|
6239
6264
|
unmuted_video_count?: number;
|
|
6240
6265
|
unmuted_video_limit: number;
|
|
6241
6266
|
version: number;
|
|
6242
|
-
|
|
6267
|
+
invite_link?: string;
|
|
6243
6268
|
}
|
|
6244
6269
|
export interface inputGroupCall {
|
|
6245
6270
|
_: "inputGroupCall";
|
|
6246
6271
|
id: bigint;
|
|
6247
6272
|
access_hash: bigint;
|
|
6248
6273
|
}
|
|
6274
|
+
export interface inputGroupCallSlug {
|
|
6275
|
+
_: "inputGroupCallSlug";
|
|
6276
|
+
slug: string;
|
|
6277
|
+
}
|
|
6278
|
+
export interface inputGroupCallInviteMessage {
|
|
6279
|
+
_: "inputGroupCallInviteMessage";
|
|
6280
|
+
msg_id: number;
|
|
6281
|
+
}
|
|
6249
6282
|
export interface groupCallParticipant {
|
|
6250
6283
|
_: "groupCallParticipant";
|
|
6251
6284
|
muted?: true;
|
|
@@ -6727,6 +6760,16 @@ export interface inputInvoicePremiumGiftStars {
|
|
|
6727
6760
|
months: number;
|
|
6728
6761
|
message?: TextWithEntities;
|
|
6729
6762
|
}
|
|
6763
|
+
export interface inputInvoiceBusinessBotTransferStars {
|
|
6764
|
+
_: "inputInvoiceBusinessBotTransferStars";
|
|
6765
|
+
bot: InputUser;
|
|
6766
|
+
stars: bigint;
|
|
6767
|
+
}
|
|
6768
|
+
export interface inputInvoiceStarGiftResale {
|
|
6769
|
+
_: "inputInvoiceStarGiftResale";
|
|
6770
|
+
slug: string;
|
|
6771
|
+
to_id: InputPeer;
|
|
6772
|
+
}
|
|
6730
6773
|
export interface payments_exportedInvoice {
|
|
6731
6774
|
_: "payments.exportedInvoice";
|
|
6732
6775
|
url: string;
|
|
@@ -8086,6 +8129,8 @@ export interface starsTransaction {
|
|
|
8086
8129
|
gift?: true;
|
|
8087
8130
|
reaction?: true;
|
|
8088
8131
|
stargift_upgrade?: true;
|
|
8132
|
+
business_transfer?: true;
|
|
8133
|
+
stargift_resale?: true;
|
|
8089
8134
|
id: string;
|
|
8090
8135
|
stars: StarsAmount;
|
|
8091
8136
|
date: number;
|
|
@@ -8244,10 +8289,13 @@ export interface starGift {
|
|
|
8244
8289
|
stars: bigint;
|
|
8245
8290
|
availability_remains?: number;
|
|
8246
8291
|
availability_total?: number;
|
|
8292
|
+
availability_resale?: bigint;
|
|
8247
8293
|
convert_stars: bigint;
|
|
8248
8294
|
first_sale_date?: number;
|
|
8249
8295
|
last_sale_date?: number;
|
|
8250
8296
|
upgrade_stars?: bigint;
|
|
8297
|
+
resell_min_stars?: bigint;
|
|
8298
|
+
title?: string;
|
|
8251
8299
|
}
|
|
8252
8300
|
export interface starGiftUnique {
|
|
8253
8301
|
_: "starGiftUnique";
|
|
@@ -8262,6 +8310,7 @@ export interface starGiftUnique {
|
|
|
8262
8310
|
availability_issued: number;
|
|
8263
8311
|
availability_total: number;
|
|
8264
8312
|
gift_address?: string;
|
|
8313
|
+
resell_stars?: bigint;
|
|
8265
8314
|
}
|
|
8266
8315
|
export interface payments_starGiftsNotModified {
|
|
8267
8316
|
_: "payments.starGiftsNotModified";
|
|
@@ -8385,6 +8434,7 @@ export interface starGiftAttributePattern {
|
|
|
8385
8434
|
export interface starGiftAttributeBackdrop {
|
|
8386
8435
|
_: "starGiftAttributeBackdrop";
|
|
8387
8436
|
name: string;
|
|
8437
|
+
backdrop_id: number;
|
|
8388
8438
|
center_color: number;
|
|
8389
8439
|
edge_color: number;
|
|
8390
8440
|
pattern_color: number;
|
|
@@ -8438,6 +8488,8 @@ export interface savedStarGift {
|
|
|
8438
8488
|
upgrade_stars?: bigint;
|
|
8439
8489
|
can_export_at?: number;
|
|
8440
8490
|
transfer_stars?: bigint;
|
|
8491
|
+
can_transfer_at?: number;
|
|
8492
|
+
can_resell_at?: number;
|
|
8441
8493
|
}
|
|
8442
8494
|
export interface payments_savedStarGifts {
|
|
8443
8495
|
_: "payments.savedStarGifts";
|
|
@@ -8457,6 +8509,10 @@ export interface inputSavedStarGiftChat {
|
|
|
8457
8509
|
peer: InputPeer;
|
|
8458
8510
|
saved_id: bigint;
|
|
8459
8511
|
}
|
|
8512
|
+
export interface inputSavedStarGiftSlug {
|
|
8513
|
+
_: "inputSavedStarGiftSlug";
|
|
8514
|
+
slug: string;
|
|
8515
|
+
}
|
|
8460
8516
|
export interface payments_starGiftWithdrawalUrl {
|
|
8461
8517
|
_: "payments.starGiftWithdrawalUrl";
|
|
8462
8518
|
url: string;
|
|
@@ -8525,6 +8581,45 @@ export interface contacts_sponsoredPeers {
|
|
|
8525
8581
|
chats: Array<Chat>;
|
|
8526
8582
|
users: Array<User>;
|
|
8527
8583
|
}
|
|
8584
|
+
export interface starGiftAttributeIdModel {
|
|
8585
|
+
_: "starGiftAttributeIdModel";
|
|
8586
|
+
document_id: bigint;
|
|
8587
|
+
}
|
|
8588
|
+
export interface starGiftAttributeIdPattern {
|
|
8589
|
+
_: "starGiftAttributeIdPattern";
|
|
8590
|
+
document_id: bigint;
|
|
8591
|
+
}
|
|
8592
|
+
export interface starGiftAttributeIdBackdrop {
|
|
8593
|
+
_: "starGiftAttributeIdBackdrop";
|
|
8594
|
+
backdrop_id: number;
|
|
8595
|
+
}
|
|
8596
|
+
export interface starGiftAttributeCounter {
|
|
8597
|
+
_: "starGiftAttributeCounter";
|
|
8598
|
+
attribute: StarGiftAttributeId;
|
|
8599
|
+
count: number;
|
|
8600
|
+
}
|
|
8601
|
+
export interface payments_resaleStarGifts {
|
|
8602
|
+
_: "payments.resaleStarGifts";
|
|
8603
|
+
count: number;
|
|
8604
|
+
gifts: Array<StarGift>;
|
|
8605
|
+
next_offset?: string;
|
|
8606
|
+
attributes?: Array<StarGiftAttribute>;
|
|
8607
|
+
attributes_hash?: bigint;
|
|
8608
|
+
chats: Array<Chat>;
|
|
8609
|
+
counters?: Array<StarGiftAttributeCounter>;
|
|
8610
|
+
users: Array<User>;
|
|
8611
|
+
}
|
|
8612
|
+
export interface stories_canSendStoryCount {
|
|
8613
|
+
_: "stories.canSendStoryCount";
|
|
8614
|
+
count_remains: number;
|
|
8615
|
+
}
|
|
8616
|
+
export interface pendingSuggestion {
|
|
8617
|
+
_: "pendingSuggestion";
|
|
8618
|
+
suggestion: string;
|
|
8619
|
+
title: TextWithEntities;
|
|
8620
|
+
description: TextWithEntities;
|
|
8621
|
+
url: string;
|
|
8622
|
+
}
|
|
8528
8623
|
export interface invokeAfterMsg<T> {
|
|
8529
8624
|
_: "invokeAfterMsg";
|
|
8530
8625
|
msg_id: bigint;
|
|
@@ -11821,6 +11916,12 @@ export interface channels_updatePaidMessagesPrice {
|
|
|
11821
11916
|
send_paid_messages_stars: bigint;
|
|
11822
11917
|
[R]?: Updates;
|
|
11823
11918
|
}
|
|
11919
|
+
export interface channels_toggleAutotranslation {
|
|
11920
|
+
_: "channels.toggleAutotranslation";
|
|
11921
|
+
channel: InputChannel;
|
|
11922
|
+
enabled: boolean;
|
|
11923
|
+
[R]?: Updates;
|
|
11924
|
+
}
|
|
11824
11925
|
export interface bots_sendCustomRequest {
|
|
11825
11926
|
_: "bots.sendCustomRequest";
|
|
11826
11927
|
custom_method: string;
|
|
@@ -12303,6 +12404,23 @@ export interface payments_canPurchaseStore {
|
|
|
12303
12404
|
purpose: InputStorePaymentPurpose;
|
|
12304
12405
|
[R]?: boolean;
|
|
12305
12406
|
}
|
|
12407
|
+
export interface payments_getResaleStarGifts {
|
|
12408
|
+
_: "payments.getResaleStarGifts";
|
|
12409
|
+
sort_by_price?: true;
|
|
12410
|
+
sort_by_num?: true;
|
|
12411
|
+
attributes_hash?: bigint;
|
|
12412
|
+
gift_id: bigint;
|
|
12413
|
+
attributes?: Array<StarGiftAttributeId>;
|
|
12414
|
+
offset: string;
|
|
12415
|
+
limit: number;
|
|
12416
|
+
[R]?: payments_ResaleStarGifts;
|
|
12417
|
+
}
|
|
12418
|
+
export interface payments_updateStarGiftPrice {
|
|
12419
|
+
_: "payments.updateStarGiftPrice";
|
|
12420
|
+
stargift: InputSavedStarGift;
|
|
12421
|
+
resell_stars: bigint;
|
|
12422
|
+
[R]?: Updates;
|
|
12423
|
+
}
|
|
12306
12424
|
export interface stickers_createStickerSet {
|
|
12307
12425
|
_: "stickers.createStickerSet";
|
|
12308
12426
|
masks?: true;
|
|
@@ -12383,7 +12501,6 @@ export interface phone_requestCall {
|
|
|
12383
12501
|
_: "phone.requestCall";
|
|
12384
12502
|
video?: true;
|
|
12385
12503
|
user_id: InputUser;
|
|
12386
|
-
conference_call?: InputGroupCall;
|
|
12387
12504
|
random_id: number;
|
|
12388
12505
|
g_a_hash: Uint8Array;
|
|
12389
12506
|
protocol: PhoneCallProtocol;
|
|
@@ -12454,7 +12571,8 @@ export interface phone_joinGroupCall {
|
|
|
12454
12571
|
call: InputGroupCall;
|
|
12455
12572
|
join_as: InputPeer;
|
|
12456
12573
|
invite_hash?: string;
|
|
12457
|
-
|
|
12574
|
+
public_key?: bigint;
|
|
12575
|
+
block?: Uint8Array;
|
|
12458
12576
|
params: DataJSON;
|
|
12459
12577
|
[R]?: Updates;
|
|
12460
12578
|
}
|
|
@@ -12588,9 +12706,49 @@ export interface phone_saveCallLog {
|
|
|
12588
12706
|
}
|
|
12589
12707
|
export interface phone_createConferenceCall {
|
|
12590
12708
|
_: "phone.createConferenceCall";
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12709
|
+
muted?: true;
|
|
12710
|
+
video_stopped?: true;
|
|
12711
|
+
join?: true;
|
|
12712
|
+
random_id: number;
|
|
12713
|
+
public_key?: bigint;
|
|
12714
|
+
block?: Uint8Array;
|
|
12715
|
+
params?: DataJSON;
|
|
12716
|
+
[R]?: Updates;
|
|
12717
|
+
}
|
|
12718
|
+
export interface phone_deleteConferenceCallParticipants {
|
|
12719
|
+
_: "phone.deleteConferenceCallParticipants";
|
|
12720
|
+
only_left?: true;
|
|
12721
|
+
kick?: true;
|
|
12722
|
+
call: InputGroupCall;
|
|
12723
|
+
ids: Array<bigint>;
|
|
12724
|
+
block: Uint8Array;
|
|
12725
|
+
[R]?: Updates;
|
|
12726
|
+
}
|
|
12727
|
+
export interface phone_sendConferenceCallBroadcast {
|
|
12728
|
+
_: "phone.sendConferenceCallBroadcast";
|
|
12729
|
+
call: InputGroupCall;
|
|
12730
|
+
block: Uint8Array;
|
|
12731
|
+
[R]?: Updates;
|
|
12732
|
+
}
|
|
12733
|
+
export interface phone_inviteConferenceCallParticipant {
|
|
12734
|
+
_: "phone.inviteConferenceCallParticipant";
|
|
12735
|
+
video?: true;
|
|
12736
|
+
call: InputGroupCall;
|
|
12737
|
+
user_id: InputUser;
|
|
12738
|
+
[R]?: Updates;
|
|
12739
|
+
}
|
|
12740
|
+
export interface phone_declineConferenceCallInvite {
|
|
12741
|
+
_: "phone.declineConferenceCallInvite";
|
|
12742
|
+
msg_id: number;
|
|
12743
|
+
[R]?: Updates;
|
|
12744
|
+
}
|
|
12745
|
+
export interface phone_getGroupCallChainBlocks {
|
|
12746
|
+
_: "phone.getGroupCallChainBlocks";
|
|
12747
|
+
call: InputGroupCall;
|
|
12748
|
+
sub_chain_id: number;
|
|
12749
|
+
offset: number;
|
|
12750
|
+
limit: number;
|
|
12751
|
+
[R]?: Updates;
|
|
12594
12752
|
}
|
|
12595
12753
|
export interface langpack_getLangPack {
|
|
12596
12754
|
_: "langpack.getLangPack";
|
|
@@ -12762,7 +12920,7 @@ export interface chatlists_leaveChatlist {
|
|
|
12762
12920
|
export interface stories_canSendStory {
|
|
12763
12921
|
_: "stories.canSendStory";
|
|
12764
12922
|
peer: InputPeer;
|
|
12765
|
-
[R]?:
|
|
12923
|
+
[R]?: stories_CanSendStoryCount;
|
|
12766
12924
|
}
|
|
12767
12925
|
export interface stories_sendStory {
|
|
12768
12926
|
_: "stories.sendStory";
|
|
@@ -13171,6 +13329,7 @@ export interface Types {
|
|
|
13171
13329
|
"messageActionStarGiftUnique": messageActionStarGiftUnique;
|
|
13172
13330
|
"messageActionPaidMessagesRefunded": messageActionPaidMessagesRefunded;
|
|
13173
13331
|
"messageActionPaidMessagesPrice": messageActionPaidMessagesPrice;
|
|
13332
|
+
"messageActionConferenceCall": messageActionConferenceCall;
|
|
13174
13333
|
"dialog": dialog;
|
|
13175
13334
|
"dialogFolder": dialogFolder;
|
|
13176
13335
|
"photoEmpty": photoEmpty;
|
|
@@ -13388,6 +13547,7 @@ export interface Types {
|
|
|
13388
13547
|
"updateBotPurchasedPaidMedia": updateBotPurchasedPaidMedia;
|
|
13389
13548
|
"updatePaidReactionPrivacy": updatePaidReactionPrivacy;
|
|
13390
13549
|
"updateSentPhoneCode": updateSentPhoneCode;
|
|
13550
|
+
"updateGroupCallChainBlocks": updateGroupCallChainBlocks;
|
|
13391
13551
|
"updates.state": updates_state;
|
|
13392
13552
|
"updates.differenceEmpty": updates_differenceEmpty;
|
|
13393
13553
|
"updates.difference": updates_difference;
|
|
@@ -13760,7 +13920,7 @@ export interface Types {
|
|
|
13760
13920
|
"phoneCallDiscardReasonDisconnect": phoneCallDiscardReasonDisconnect;
|
|
13761
13921
|
"phoneCallDiscardReasonHangup": phoneCallDiscardReasonHangup;
|
|
13762
13922
|
"phoneCallDiscardReasonBusy": phoneCallDiscardReasonBusy;
|
|
13763
|
-
"
|
|
13923
|
+
"phoneCallDiscardReasonMigrateConferenceCall": phoneCallDiscardReasonMigrateConferenceCall;
|
|
13764
13924
|
"dataJSON": dataJSON;
|
|
13765
13925
|
"labeledPrice": labeledPrice;
|
|
13766
13926
|
"invoice": invoice;
|
|
@@ -13861,6 +14021,7 @@ export interface Types {
|
|
|
13861
14021
|
"channelAdminLogEventActionChangeEmojiStickerSet": channelAdminLogEventActionChangeEmojiStickerSet;
|
|
13862
14022
|
"channelAdminLogEventActionToggleSignatureProfiles": channelAdminLogEventActionToggleSignatureProfiles;
|
|
13863
14023
|
"channelAdminLogEventActionParticipantSubExtend": channelAdminLogEventActionParticipantSubExtend;
|
|
14024
|
+
"channelAdminLogEventActionToggleAutotranslation": channelAdminLogEventActionToggleAutotranslation;
|
|
13864
14025
|
"channelAdminLogEvent": channelAdminLogEvent;
|
|
13865
14026
|
"channels.adminLogResults": channels_adminLogResults;
|
|
13866
14027
|
"channelAdminLogEventsFilter": channelAdminLogEventsFilter;
|
|
@@ -14055,6 +14216,8 @@ export interface Types {
|
|
|
14055
14216
|
"groupCallDiscarded": groupCallDiscarded;
|
|
14056
14217
|
"groupCall": groupCall;
|
|
14057
14218
|
"inputGroupCall": inputGroupCall;
|
|
14219
|
+
"inputGroupCallSlug": inputGroupCallSlug;
|
|
14220
|
+
"inputGroupCallInviteMessage": inputGroupCallInviteMessage;
|
|
14058
14221
|
"groupCallParticipant": groupCallParticipant;
|
|
14059
14222
|
"phone.groupCall": phone_groupCall;
|
|
14060
14223
|
"phone.groupParticipants": phone_groupParticipants;
|
|
@@ -14144,6 +14307,8 @@ export interface Types {
|
|
|
14144
14307
|
"inputInvoiceStarGiftUpgrade": inputInvoiceStarGiftUpgrade;
|
|
14145
14308
|
"inputInvoiceStarGiftTransfer": inputInvoiceStarGiftTransfer;
|
|
14146
14309
|
"inputInvoicePremiumGiftStars": inputInvoicePremiumGiftStars;
|
|
14310
|
+
"inputInvoiceBusinessBotTransferStars": inputInvoiceBusinessBotTransferStars;
|
|
14311
|
+
"inputInvoiceStarGiftResale": inputInvoiceStarGiftResale;
|
|
14147
14312
|
"payments.exportedInvoice": payments_exportedInvoice;
|
|
14148
14313
|
"messages.transcribedAudio": messages_transcribedAudio;
|
|
14149
14314
|
"help.premiumPromo": help_premiumPromo;
|
|
@@ -14416,6 +14581,7 @@ export interface Types {
|
|
|
14416
14581
|
"payments.savedStarGifts": payments_savedStarGifts;
|
|
14417
14582
|
"inputSavedStarGiftUser": inputSavedStarGiftUser;
|
|
14418
14583
|
"inputSavedStarGiftChat": inputSavedStarGiftChat;
|
|
14584
|
+
"inputSavedStarGiftSlug": inputSavedStarGiftSlug;
|
|
14419
14585
|
"payments.starGiftWithdrawalUrl": payments_starGiftWithdrawalUrl;
|
|
14420
14586
|
"paidReactionPrivacyDefault": paidReactionPrivacyDefault;
|
|
14421
14587
|
"paidReactionPrivacyAnonymous": paidReactionPrivacyAnonymous;
|
|
@@ -14429,6 +14595,13 @@ export interface Types {
|
|
|
14429
14595
|
"sponsoredPeer": sponsoredPeer;
|
|
14430
14596
|
"contacts.sponsoredPeersEmpty": contacts_sponsoredPeersEmpty;
|
|
14431
14597
|
"contacts.sponsoredPeers": contacts_sponsoredPeers;
|
|
14598
|
+
"starGiftAttributeIdModel": starGiftAttributeIdModel;
|
|
14599
|
+
"starGiftAttributeIdPattern": starGiftAttributeIdPattern;
|
|
14600
|
+
"starGiftAttributeIdBackdrop": starGiftAttributeIdBackdrop;
|
|
14601
|
+
"starGiftAttributeCounter": starGiftAttributeCounter;
|
|
14602
|
+
"payments.resaleStarGifts": payments_resaleStarGifts;
|
|
14603
|
+
"stories.canSendStoryCount": stories_canSendStoryCount;
|
|
14604
|
+
"pendingSuggestion": pendingSuggestion;
|
|
14432
14605
|
}
|
|
14433
14606
|
export interface Functions<T = Function> {
|
|
14434
14607
|
"invokeAfterMsg": invokeAfterMsg<T>;
|
|
@@ -14939,6 +15112,7 @@ export interface Functions<T = Function> {
|
|
|
14939
15112
|
"channels.restrictSponsoredMessages": channels_restrictSponsoredMessages;
|
|
14940
15113
|
"channels.searchPosts": channels_searchPosts;
|
|
14941
15114
|
"channels.updatePaidMessagesPrice": channels_updatePaidMessagesPrice;
|
|
15115
|
+
"channels.toggleAutotranslation": channels_toggleAutotranslation;
|
|
14942
15116
|
"bots.sendCustomRequest": bots_sendCustomRequest;
|
|
14943
15117
|
"bots.answerWebhookJSONQuery": bots_answerWebhookJSONQuery;
|
|
14944
15118
|
"bots.setBotCommands": bots_setBotCommands;
|
|
@@ -15017,6 +15191,8 @@ export interface Functions<T = Function> {
|
|
|
15017
15191
|
"payments.toggleChatStarGiftNotifications": payments_toggleChatStarGiftNotifications;
|
|
15018
15192
|
"payments.toggleStarGiftsPinnedToTop": payments_toggleStarGiftsPinnedToTop;
|
|
15019
15193
|
"payments.canPurchaseStore": payments_canPurchaseStore;
|
|
15194
|
+
"payments.getResaleStarGifts": payments_getResaleStarGifts;
|
|
15195
|
+
"payments.updateStarGiftPrice": payments_updateStarGiftPrice;
|
|
15020
15196
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
15021
15197
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
15022
15198
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -15060,6 +15236,11 @@ export interface Functions<T = Function> {
|
|
|
15060
15236
|
"phone.getGroupCallStreamRtmpUrl": phone_getGroupCallStreamRtmpUrl;
|
|
15061
15237
|
"phone.saveCallLog": phone_saveCallLog;
|
|
15062
15238
|
"phone.createConferenceCall": phone_createConferenceCall;
|
|
15239
|
+
"phone.deleteConferenceCallParticipants": phone_deleteConferenceCallParticipants;
|
|
15240
|
+
"phone.sendConferenceCallBroadcast": phone_sendConferenceCallBroadcast;
|
|
15241
|
+
"phone.inviteConferenceCallParticipant": phone_inviteConferenceCallParticipant;
|
|
15242
|
+
"phone.declineConferenceCallInvite": phone_declineConferenceCallInvite;
|
|
15243
|
+
"phone.getGroupCallChainBlocks": phone_getGroupCallChainBlocks;
|
|
15063
15244
|
"langpack.getLangPack": langpack_getLangPack;
|
|
15064
15245
|
"langpack.getStrings": langpack_getStrings;
|
|
15065
15246
|
"langpack.getDifference": langpack_getDifference;
|
|
@@ -15666,6 +15847,11 @@ export interface Enums {
|
|
|
15666
15847
|
"DisallowedGiftsSettings": DisallowedGiftsSettings;
|
|
15667
15848
|
"SponsoredPeer": SponsoredPeer;
|
|
15668
15849
|
"contacts.SponsoredPeers": contacts_SponsoredPeers;
|
|
15850
|
+
"StarGiftAttributeId": StarGiftAttributeId;
|
|
15851
|
+
"StarGiftAttributeCounter": StarGiftAttributeCounter;
|
|
15852
|
+
"payments.ResaleStarGifts": payments_ResaleStarGifts;
|
|
15853
|
+
"stories.CanSendStoryCount": stories_CanSendStoryCount;
|
|
15854
|
+
"PendingSuggestion": PendingSuggestion;
|
|
15669
15855
|
}
|
|
15670
15856
|
export type AnyType = Types[keyof Types];
|
|
15671
15857
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -15695,7 +15881,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
|
|
|
15695
15881
|
export type ChatPhoto = chatPhotoEmpty | chatPhoto;
|
|
15696
15882
|
export type Message = messageEmpty | message | messageService;
|
|
15697
15883
|
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia;
|
|
15698
|
-
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 | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice;
|
|
15884
|
+
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 | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall;
|
|
15699
15885
|
export type Dialog = dialog | dialogFolder;
|
|
15700
15886
|
export type Photo = photoEmpty | photo;
|
|
15701
15887
|
export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
|
|
@@ -15722,7 +15908,7 @@ export type messages_Chats = messages_chats | messages_chatsSlice;
|
|
|
15722
15908
|
export type messages_ChatFull = messages_chatFull;
|
|
15723
15909
|
export type messages_AffectedHistory = messages_affectedHistory;
|
|
15724
15910
|
export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned;
|
|
15725
|
-
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateBroadcastRevenueTransactions | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode;
|
|
15911
|
+
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateBroadcastRevenueTransactions | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks;
|
|
15726
15912
|
export type updates_State = updates_state;
|
|
15727
15913
|
export type updates_Difference = updates_differenceEmpty | updates_difference | updates_differenceSlice | updates_differenceTooLong;
|
|
15728
15914
|
export type Updates = updatesTooLong | updateShortMessage | updateShortChatMessage | updateShort | updatesCombined | updates | updateShortSentMessage;
|
|
@@ -15820,7 +16006,7 @@ export type HighScore = highScore;
|
|
|
15820
16006
|
export type messages_HighScores = messages_highScores;
|
|
15821
16007
|
export type RichText = textEmpty | textPlain | textBold | textItalic | textUnderline | textStrike | textFixed | textUrl | textEmail | textConcat | textSubscript | textSuperscript | textMarked | textPhone | textImage | textAnchor;
|
|
15822
16008
|
export type PageBlock = pageBlockUnsupported | pageBlockTitle | pageBlockSubtitle | pageBlockAuthorDate | pageBlockHeader | pageBlockSubheader | pageBlockParagraph | pageBlockPreformatted | pageBlockFooter | pageBlockDivider | pageBlockAnchor | pageBlockList | pageBlockBlockquote | pageBlockPullquote | pageBlockPhoto | pageBlockVideo | pageBlockCover | pageBlockEmbed | pageBlockEmbedPost | pageBlockCollage | pageBlockSlideshow | pageBlockChannel | pageBlockAudio | pageBlockKicker | pageBlockTable | pageBlockOrderedList | pageBlockDetails | pageBlockRelatedArticles | pageBlockMap;
|
|
15823
|
-
export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy |
|
|
16009
|
+
export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy | phoneCallDiscardReasonMigrateConferenceCall;
|
|
15824
16010
|
export type DataJSON = dataJSON;
|
|
15825
16011
|
export type LabeledPrice = labeledPrice;
|
|
15826
16012
|
export type Invoice = invoice;
|
|
@@ -15852,7 +16038,7 @@ export type CdnConfig = cdnConfig;
|
|
|
15852
16038
|
export type LangPackString = langPackString | langPackStringPluralized | langPackStringDeleted;
|
|
15853
16039
|
export type LangPackDifference = langPackDifference;
|
|
15854
16040
|
export type LangPackLanguage = langPackLanguage;
|
|
15855
|
-
export type ChannelAdminLogEventAction = channelAdminLogEventActionChangeTitle | channelAdminLogEventActionChangeAbout | channelAdminLogEventActionChangeUsername | channelAdminLogEventActionChangePhoto | channelAdminLogEventActionToggleInvites | channelAdminLogEventActionToggleSignatures | channelAdminLogEventActionUpdatePinned | channelAdminLogEventActionEditMessage | channelAdminLogEventActionDeleteMessage | channelAdminLogEventActionParticipantJoin | channelAdminLogEventActionParticipantLeave | channelAdminLogEventActionParticipantInvite | channelAdminLogEventActionParticipantToggleBan | channelAdminLogEventActionParticipantToggleAdmin | channelAdminLogEventActionChangeStickerSet | channelAdminLogEventActionTogglePreHistoryHidden | channelAdminLogEventActionDefaultBannedRights | channelAdminLogEventActionStopPoll | channelAdminLogEventActionChangeLinkedChat | channelAdminLogEventActionChangeLocation | channelAdminLogEventActionToggleSlowMode | channelAdminLogEventActionStartGroupCall | channelAdminLogEventActionDiscardGroupCall | channelAdminLogEventActionParticipantMute | channelAdminLogEventActionParticipantUnmute | channelAdminLogEventActionToggleGroupCallSetting | channelAdminLogEventActionParticipantJoinByInvite | channelAdminLogEventActionExportedInviteDelete | channelAdminLogEventActionExportedInviteRevoke | channelAdminLogEventActionExportedInviteEdit | channelAdminLogEventActionParticipantVolume | channelAdminLogEventActionChangeHistoryTTL | channelAdminLogEventActionParticipantJoinByRequest | channelAdminLogEventActionToggleNoForwards | channelAdminLogEventActionSendMessage | channelAdminLogEventActionChangeAvailableReactions | channelAdminLogEventActionChangeUsernames | channelAdminLogEventActionToggleForum | channelAdminLogEventActionCreateTopic | channelAdminLogEventActionEditTopic | channelAdminLogEventActionDeleteTopic | channelAdminLogEventActionPinTopic | channelAdminLogEventActionToggleAntiSpam | channelAdminLogEventActionChangePeerColor | channelAdminLogEventActionChangeProfilePeerColor | channelAdminLogEventActionChangeWallpaper | channelAdminLogEventActionChangeEmojiStatus | channelAdminLogEventActionChangeEmojiStickerSet | channelAdminLogEventActionToggleSignatureProfiles | channelAdminLogEventActionParticipantSubExtend;
|
|
16041
|
+
export type ChannelAdminLogEventAction = channelAdminLogEventActionChangeTitle | channelAdminLogEventActionChangeAbout | channelAdminLogEventActionChangeUsername | channelAdminLogEventActionChangePhoto | channelAdminLogEventActionToggleInvites | channelAdminLogEventActionToggleSignatures | channelAdminLogEventActionUpdatePinned | channelAdminLogEventActionEditMessage | channelAdminLogEventActionDeleteMessage | channelAdminLogEventActionParticipantJoin | channelAdminLogEventActionParticipantLeave | channelAdminLogEventActionParticipantInvite | channelAdminLogEventActionParticipantToggleBan | channelAdminLogEventActionParticipantToggleAdmin | channelAdminLogEventActionChangeStickerSet | channelAdminLogEventActionTogglePreHistoryHidden | channelAdminLogEventActionDefaultBannedRights | channelAdminLogEventActionStopPoll | channelAdminLogEventActionChangeLinkedChat | channelAdminLogEventActionChangeLocation | channelAdminLogEventActionToggleSlowMode | channelAdminLogEventActionStartGroupCall | channelAdminLogEventActionDiscardGroupCall | channelAdminLogEventActionParticipantMute | channelAdminLogEventActionParticipantUnmute | channelAdminLogEventActionToggleGroupCallSetting | channelAdminLogEventActionParticipantJoinByInvite | channelAdminLogEventActionExportedInviteDelete | channelAdminLogEventActionExportedInviteRevoke | channelAdminLogEventActionExportedInviteEdit | channelAdminLogEventActionParticipantVolume | channelAdminLogEventActionChangeHistoryTTL | channelAdminLogEventActionParticipantJoinByRequest | channelAdminLogEventActionToggleNoForwards | channelAdminLogEventActionSendMessage | channelAdminLogEventActionChangeAvailableReactions | channelAdminLogEventActionChangeUsernames | channelAdminLogEventActionToggleForum | channelAdminLogEventActionCreateTopic | channelAdminLogEventActionEditTopic | channelAdminLogEventActionDeleteTopic | channelAdminLogEventActionPinTopic | channelAdminLogEventActionToggleAntiSpam | channelAdminLogEventActionChangePeerColor | channelAdminLogEventActionChangeProfilePeerColor | channelAdminLogEventActionChangeWallpaper | channelAdminLogEventActionChangeEmojiStatus | channelAdminLogEventActionChangeEmojiStickerSet | channelAdminLogEventActionToggleSignatureProfiles | channelAdminLogEventActionParticipantSubExtend | channelAdminLogEventActionToggleAutotranslation;
|
|
15856
16042
|
export type ChannelAdminLogEvent = channelAdminLogEvent;
|
|
15857
16043
|
export type channels_AdminLogResults = channels_adminLogResults;
|
|
15858
16044
|
export type ChannelAdminLogEventsFilter = channelAdminLogEventsFilter;
|
|
@@ -15967,7 +16153,7 @@ export type MessageReplies = messageReplies;
|
|
|
15967
16153
|
export type PeerBlocked = peerBlocked;
|
|
15968
16154
|
export type stats_MessageStats = stats_messageStats;
|
|
15969
16155
|
export type GroupCall = groupCallDiscarded | groupCall;
|
|
15970
|
-
export type InputGroupCall = inputGroupCall;
|
|
16156
|
+
export type InputGroupCall = inputGroupCall | inputGroupCallSlug | inputGroupCallInviteMessage;
|
|
15971
16157
|
export type GroupCallParticipant = groupCallParticipant;
|
|
15972
16158
|
export type phone_GroupCall = phone_groupCall;
|
|
15973
16159
|
export type phone_GroupParticipants = phone_groupParticipants;
|
|
@@ -16020,7 +16206,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
|
|
|
16020
16206
|
export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
|
|
16021
16207
|
export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
|
|
16022
16208
|
export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
|
|
16023
|
-
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars;
|
|
16209
|
+
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars | inputInvoiceBusinessBotTransferStars | inputInvoiceStarGiftResale;
|
|
16024
16210
|
export type payments_ExportedInvoice = payments_exportedInvoice;
|
|
16025
16211
|
export type messages_TranscribedAudio = messages_transcribedAudio;
|
|
16026
16212
|
export type help_PremiumPromo = help_premiumPromo;
|
|
@@ -16200,7 +16386,7 @@ export type payments_UniqueStarGift = payments_uniqueStarGift;
|
|
|
16200
16386
|
export type messages_WebPagePreview = messages_webPagePreview;
|
|
16201
16387
|
export type SavedStarGift = savedStarGift;
|
|
16202
16388
|
export type payments_SavedStarGifts = payments_savedStarGifts;
|
|
16203
|
-
export type InputSavedStarGift = inputSavedStarGiftUser | inputSavedStarGiftChat;
|
|
16389
|
+
export type InputSavedStarGift = inputSavedStarGiftUser | inputSavedStarGiftChat | inputSavedStarGiftSlug;
|
|
16204
16390
|
export type payments_StarGiftWithdrawalUrl = payments_starGiftWithdrawalUrl;
|
|
16205
16391
|
export type PaidReactionPrivacy = paidReactionPrivacyDefault | paidReactionPrivacyAnonymous | paidReactionPrivacyPeer;
|
|
16206
16392
|
export type account_PaidMessagesRevenue = account_paidMessagesRevenue;
|
|
@@ -16209,7 +16395,12 @@ export type BusinessBotRights = businessBotRights;
|
|
|
16209
16395
|
export type DisallowedGiftsSettings = disallowedGiftsSettings;
|
|
16210
16396
|
export type SponsoredPeer = sponsoredPeer;
|
|
16211
16397
|
export type contacts_SponsoredPeers = contacts_sponsoredPeersEmpty | contacts_sponsoredPeers;
|
|
16398
|
+
export type StarGiftAttributeId = starGiftAttributeIdModel | starGiftAttributeIdPattern | starGiftAttributeIdBackdrop;
|
|
16399
|
+
export type StarGiftAttributeCounter = starGiftAttributeCounter;
|
|
16400
|
+
export type payments_ResaleStarGifts = payments_resaleStarGifts;
|
|
16401
|
+
export type stories_CanSendStoryCount = stories_canSendStoryCount;
|
|
16402
|
+
export type PendingSuggestion = pendingSuggestion;
|
|
16212
16403
|
export declare const schema: Schema;
|
|
16213
|
-
export declare const LAYER =
|
|
16404
|
+
export declare const LAYER = 203;
|
|
16214
16405
|
export {};
|
|
16215
16406
|
//# sourceMappingURL=1_telegram_api.d.ts.map
|