telegram-tghub-better-new 0.3.3 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tl/api.d.ts +428 -45
package/package.json
CHANGED
package/tl/api.d.ts
CHANGED
|
@@ -822,8 +822,9 @@ export namespace Api {
|
|
|
822
822
|
color?: Api.TypePeerColor;
|
|
823
823
|
profileColor?: Api.TypePeerColor;
|
|
824
824
|
botActiveUsers?: int;
|
|
825
|
+
botVerificationIcon?: long;
|
|
825
826
|
}> {
|
|
826
|
-
CONSTRUCTOR_ID:
|
|
827
|
+
CONSTRUCTOR_ID: 1262928766;
|
|
827
828
|
SUBCLASS_OF_ID: 765557111;
|
|
828
829
|
classType: "constructor";
|
|
829
830
|
className: "User";
|
|
@@ -873,6 +874,7 @@ export namespace Api {
|
|
|
873
874
|
color?: Api.TypePeerColor;
|
|
874
875
|
profileColor?: Api.TypePeerColor;
|
|
875
876
|
botActiveUsers?: int;
|
|
877
|
+
botVerificationIcon?: long;
|
|
876
878
|
}
|
|
877
879
|
export class UserProfilePhotoEmpty extends VirtualClass<void> {
|
|
878
880
|
CONSTRUCTOR_ID: 1326562017;
|
|
@@ -1071,8 +1073,9 @@ export namespace Api {
|
|
|
1071
1073
|
emojiStatus?: Api.TypeEmojiStatus;
|
|
1072
1074
|
level?: int;
|
|
1073
1075
|
subscriptionUntilDate?: int;
|
|
1076
|
+
botVerificationIcon?: long;
|
|
1074
1077
|
}> {
|
|
1075
|
-
CONSTRUCTOR_ID:
|
|
1078
|
+
CONSTRUCTOR_ID: 3758725303;
|
|
1076
1079
|
SUBCLASS_OF_ID: 3316604308;
|
|
1077
1080
|
classType: "constructor";
|
|
1078
1081
|
className: "Channel";
|
|
@@ -1121,6 +1124,7 @@ export namespace Api {
|
|
|
1121
1124
|
emojiStatus?: Api.TypeEmojiStatus;
|
|
1122
1125
|
level?: int;
|
|
1123
1126
|
subscriptionUntilDate?: int;
|
|
1127
|
+
botVerificationIcon?: long;
|
|
1124
1128
|
}
|
|
1125
1129
|
export class ChannelForbidden extends VirtualClass<{
|
|
1126
1130
|
// flags: null;
|
|
@@ -1257,8 +1261,9 @@ export namespace Api {
|
|
|
1257
1261
|
boostsApplied?: int;
|
|
1258
1262
|
boostsUnrestrict?: int;
|
|
1259
1263
|
emojiset?: Api.TypeStickerSet;
|
|
1264
|
+
botVerification?: Api.TypeBotVerification;
|
|
1260
1265
|
}> {
|
|
1261
|
-
CONSTRUCTOR_ID:
|
|
1266
|
+
CONSTRUCTOR_ID: 2683549784;
|
|
1262
1267
|
SUBCLASS_OF_ID: 3566872215;
|
|
1263
1268
|
classType: "constructor";
|
|
1264
1269
|
className: "ChannelFull";
|
|
@@ -1325,6 +1330,7 @@ export namespace Api {
|
|
|
1325
1330
|
boostsApplied?: int;
|
|
1326
1331
|
boostsUnrestrict?: int;
|
|
1327
1332
|
emojiset?: Api.TypeStickerSet;
|
|
1333
|
+
botVerification?: Api.TypeBotVerification;
|
|
1328
1334
|
}
|
|
1329
1335
|
export class ChatParticipant extends VirtualClass<{
|
|
1330
1336
|
userId: long;
|
|
@@ -1432,14 +1438,14 @@ export namespace Api {
|
|
|
1432
1438
|
peerId?: Api.TypePeer;
|
|
1433
1439
|
}
|
|
1434
1440
|
export class Message extends CustomMessage {
|
|
1435
|
-
CONSTRUCTOR_ID:
|
|
1441
|
+
CONSTRUCTOR_ID: 2533211113;
|
|
1436
1442
|
SUBCLASS_OF_ID: 2030045667;
|
|
1437
1443
|
classType: "request";
|
|
1438
1444
|
className: "Message";
|
|
1439
1445
|
static fromReader(reader: Reader): Message;
|
|
1440
1446
|
}
|
|
1441
1447
|
export class MessageService extends CustomMessage {
|
|
1442
|
-
CONSTRUCTOR_ID:
|
|
1448
|
+
CONSTRUCTOR_ID: 3553789248;
|
|
1443
1449
|
SUBCLASS_OF_ID: 2030045667;
|
|
1444
1450
|
classType: "request";
|
|
1445
1451
|
className: "MessageService";
|
|
@@ -2355,11 +2361,16 @@ export namespace Api {
|
|
|
2355
2361
|
nameHidden?: boolean;
|
|
2356
2362
|
saved?: boolean;
|
|
2357
2363
|
converted?: boolean;
|
|
2364
|
+
upgraded?: boolean;
|
|
2365
|
+
refunded?: boolean;
|
|
2366
|
+
canUpgrade?: boolean;
|
|
2358
2367
|
gift: Api.TypeStarGift;
|
|
2359
2368
|
message?: Api.TypeTextWithEntities;
|
|
2360
2369
|
convertStars?: long;
|
|
2370
|
+
upgradeMsgId?: int;
|
|
2371
|
+
upgradeStars?: long;
|
|
2361
2372
|
}> {
|
|
2362
|
-
CONSTRUCTOR_ID:
|
|
2373
|
+
CONSTRUCTOR_ID: 3639931047;
|
|
2363
2374
|
SUBCLASS_OF_ID: 2256589094;
|
|
2364
2375
|
classType: "constructor";
|
|
2365
2376
|
className: "MessageActionStarGift";
|
|
@@ -2368,9 +2379,38 @@ export namespace Api {
|
|
|
2368
2379
|
nameHidden?: boolean;
|
|
2369
2380
|
saved?: boolean;
|
|
2370
2381
|
converted?: boolean;
|
|
2382
|
+
upgraded?: boolean;
|
|
2383
|
+
refunded?: boolean;
|
|
2384
|
+
canUpgrade?: boolean;
|
|
2371
2385
|
gift: Api.TypeStarGift;
|
|
2372
2386
|
message?: Api.TypeTextWithEntities;
|
|
2373
2387
|
convertStars?: long;
|
|
2388
|
+
upgradeMsgId?: int;
|
|
2389
|
+
upgradeStars?: long;
|
|
2390
|
+
}
|
|
2391
|
+
export class MessageActionStarGiftUnique extends VirtualClass<{
|
|
2392
|
+
// flags: null;
|
|
2393
|
+
upgrade?: boolean;
|
|
2394
|
+
transferred?: boolean;
|
|
2395
|
+
saved?: boolean;
|
|
2396
|
+
refunded?: boolean;
|
|
2397
|
+
gift: Api.TypeStarGift;
|
|
2398
|
+
canExportAt?: int;
|
|
2399
|
+
transferStars?: long;
|
|
2400
|
+
}> {
|
|
2401
|
+
CONSTRUCTOR_ID: 638024601;
|
|
2402
|
+
SUBCLASS_OF_ID: 2256589094;
|
|
2403
|
+
classType: "constructor";
|
|
2404
|
+
className: "MessageActionStarGiftUnique";
|
|
2405
|
+
static fromReader(reader: Reader): MessageActionStarGiftUnique;
|
|
2406
|
+
// flags: null;
|
|
2407
|
+
upgrade?: boolean;
|
|
2408
|
+
transferred?: boolean;
|
|
2409
|
+
saved?: boolean;
|
|
2410
|
+
refunded?: boolean;
|
|
2411
|
+
gift: Api.TypeStarGift;
|
|
2412
|
+
canExportAt?: int;
|
|
2413
|
+
transferStars?: long;
|
|
2374
2414
|
}
|
|
2375
2415
|
export class Dialog extends VirtualClass<{
|
|
2376
2416
|
// flags: null;
|
|
@@ -2886,8 +2926,9 @@ export namespace Api {
|
|
|
2886
2926
|
personalChannelMessage?: int;
|
|
2887
2927
|
stargiftsCount?: int;
|
|
2888
2928
|
starrefProgram?: Api.TypeStarRefProgram;
|
|
2929
|
+
botVerification?: Api.TypeBotVerification;
|
|
2889
2930
|
}> {
|
|
2890
|
-
CONSTRUCTOR_ID:
|
|
2931
|
+
CONSTRUCTOR_ID: 1301765052;
|
|
2891
2932
|
SUBCLASS_OF_ID: 524706233;
|
|
2892
2933
|
classType: "constructor";
|
|
2893
2934
|
className: "UserFull";
|
|
@@ -2939,6 +2980,7 @@ export namespace Api {
|
|
|
2939
2980
|
personalChannelMessage?: int;
|
|
2940
2981
|
stargiftsCount?: int;
|
|
2941
2982
|
starrefProgram?: Api.TypeStarRefProgram;
|
|
2983
|
+
botVerification?: Api.TypeBotVerification;
|
|
2942
2984
|
}
|
|
2943
2985
|
export class Contact extends VirtualClass<{
|
|
2944
2986
|
userId: long;
|
|
@@ -4290,15 +4332,17 @@ export namespace Api {
|
|
|
4290
4332
|
version: int;
|
|
4291
4333
|
}
|
|
4292
4334
|
export class UpdateGroupCall extends VirtualClass<{
|
|
4293
|
-
|
|
4335
|
+
// flags: null;
|
|
4336
|
+
chatId?: long;
|
|
4294
4337
|
call: Api.TypeGroupCall;
|
|
4295
4338
|
}> {
|
|
4296
|
-
CONSTRUCTOR_ID:
|
|
4339
|
+
CONSTRUCTOR_ID: 2547401537;
|
|
4297
4340
|
SUBCLASS_OF_ID: 2676568142;
|
|
4298
4341
|
classType: "constructor";
|
|
4299
4342
|
className: "UpdateGroupCall";
|
|
4300
4343
|
static fromReader(reader: Reader): UpdateGroupCall;
|
|
4301
|
-
|
|
4344
|
+
// flags: null;
|
|
4345
|
+
chatId?: long;
|
|
4302
4346
|
call: Api.TypeGroupCall;
|
|
4303
4347
|
}
|
|
4304
4348
|
export class UpdatePeerHistoryTTL extends VirtualClass<{
|
|
@@ -6531,8 +6575,9 @@ export namespace Api {
|
|
|
6531
6575
|
color: int;
|
|
6532
6576
|
subscriptionPricing?: Api.TypeStarsSubscriptionPricing;
|
|
6533
6577
|
subscriptionFormId?: long;
|
|
6578
|
+
botVerification?: Api.TypeBotVerification;
|
|
6534
6579
|
}> {
|
|
6535
|
-
CONSTRUCTOR_ID:
|
|
6580
|
+
CONSTRUCTOR_ID: 1553807106;
|
|
6536
6581
|
SUBCLASS_OF_ID: 72750902;
|
|
6537
6582
|
classType: "constructor";
|
|
6538
6583
|
className: "ChatInvite";
|
|
@@ -6555,6 +6600,7 @@ export namespace Api {
|
|
|
6555
6600
|
color: int;
|
|
6556
6601
|
subscriptionPricing?: Api.TypeStarsSubscriptionPricing;
|
|
6557
6602
|
subscriptionFormId?: long;
|
|
6603
|
+
botVerification?: Api.TypeBotVerification;
|
|
6558
6604
|
}
|
|
6559
6605
|
export class ChatInvitePeek extends VirtualClass<{
|
|
6560
6606
|
chat: Api.TypeChat;
|
|
@@ -6725,8 +6771,9 @@ export namespace Api {
|
|
|
6725
6771
|
menuButton?: Api.TypeBotMenuButton;
|
|
6726
6772
|
privacyPolicyUrl?: string;
|
|
6727
6773
|
appSettings?: Api.TypeBotAppSettings;
|
|
6774
|
+
verifierSettings?: Api.TypeBotVerifierSettings;
|
|
6728
6775
|
}> {
|
|
6729
|
-
CONSTRUCTOR_ID:
|
|
6776
|
+
CONSTRUCTOR_ID: 1300890265;
|
|
6730
6777
|
SUBCLASS_OF_ID: 4059496923;
|
|
6731
6778
|
classType: "constructor";
|
|
6732
6779
|
className: "BotInfo";
|
|
@@ -6741,6 +6788,7 @@ export namespace Api {
|
|
|
6741
6788
|
menuButton?: Api.TypeBotMenuButton;
|
|
6742
6789
|
privacyPolicyUrl?: string;
|
|
6743
6790
|
appSettings?: Api.TypeBotAppSettings;
|
|
6791
|
+
verifierSettings?: Api.TypeBotVerifierSettings;
|
|
6744
6792
|
}
|
|
6745
6793
|
export class KeyboardButton extends VirtualClass<{
|
|
6746
6794
|
text: string;
|
|
@@ -8955,6 +9003,16 @@ export namespace Api {
|
|
|
8955
9003
|
className: "PhoneCallDiscardReasonBusy";
|
|
8956
9004
|
static fromReader(reader: Reader): PhoneCallDiscardReasonBusy;
|
|
8957
9005
|
}
|
|
9006
|
+
export class PhoneCallDiscardReasonAllowGroupCall extends VirtualClass<{
|
|
9007
|
+
encryptedKey: bytes;
|
|
9008
|
+
}> {
|
|
9009
|
+
CONSTRUCTOR_ID: 2950871097;
|
|
9010
|
+
SUBCLASS_OF_ID: 3634081085;
|
|
9011
|
+
classType: "constructor";
|
|
9012
|
+
className: "PhoneCallDiscardReasonAllowGroupCall";
|
|
9013
|
+
static fromReader(reader: Reader): PhoneCallDiscardReasonAllowGroupCall;
|
|
9014
|
+
encryptedKey: bytes;
|
|
9015
|
+
}
|
|
8958
9016
|
export class DataJSON extends VirtualClass<{
|
|
8959
9017
|
data: string;
|
|
8960
9018
|
}> {
|
|
@@ -9289,8 +9347,9 @@ export namespace Api {
|
|
|
9289
9347
|
participantId: long;
|
|
9290
9348
|
protocol: Api.TypePhoneCallProtocol;
|
|
9291
9349
|
receiveDate?: int;
|
|
9350
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9292
9351
|
}> {
|
|
9293
|
-
CONSTRUCTOR_ID:
|
|
9352
|
+
CONSTRUCTOR_ID: 4006881368;
|
|
9294
9353
|
SUBCLASS_OF_ID: 3296664529;
|
|
9295
9354
|
classType: "constructor";
|
|
9296
9355
|
className: "PhoneCallWaiting";
|
|
@@ -9304,6 +9363,7 @@ export namespace Api {
|
|
|
9304
9363
|
participantId: long;
|
|
9305
9364
|
protocol: Api.TypePhoneCallProtocol;
|
|
9306
9365
|
receiveDate?: int;
|
|
9366
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9307
9367
|
}
|
|
9308
9368
|
export class PhoneCallRequested extends VirtualClass<{
|
|
9309
9369
|
// flags: null;
|
|
@@ -9315,8 +9375,9 @@ export namespace Api {
|
|
|
9315
9375
|
participantId: long;
|
|
9316
9376
|
gAHash: bytes;
|
|
9317
9377
|
protocol: Api.TypePhoneCallProtocol;
|
|
9378
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9318
9379
|
}> {
|
|
9319
|
-
CONSTRUCTOR_ID:
|
|
9380
|
+
CONSTRUCTOR_ID: 1161174115;
|
|
9320
9381
|
SUBCLASS_OF_ID: 3296664529;
|
|
9321
9382
|
classType: "constructor";
|
|
9322
9383
|
className: "PhoneCallRequested";
|
|
@@ -9330,6 +9391,7 @@ export namespace Api {
|
|
|
9330
9391
|
participantId: long;
|
|
9331
9392
|
gAHash: bytes;
|
|
9332
9393
|
protocol: Api.TypePhoneCallProtocol;
|
|
9394
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9333
9395
|
}
|
|
9334
9396
|
export class PhoneCallAccepted extends VirtualClass<{
|
|
9335
9397
|
// flags: null;
|
|
@@ -9341,8 +9403,9 @@ export namespace Api {
|
|
|
9341
9403
|
participantId: long;
|
|
9342
9404
|
gB: bytes;
|
|
9343
9405
|
protocol: Api.TypePhoneCallProtocol;
|
|
9406
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9344
9407
|
}> {
|
|
9345
|
-
CONSTRUCTOR_ID:
|
|
9408
|
+
CONSTRUCTOR_ID: 587035009;
|
|
9346
9409
|
SUBCLASS_OF_ID: 3296664529;
|
|
9347
9410
|
classType: "constructor";
|
|
9348
9411
|
className: "PhoneCallAccepted";
|
|
@@ -9356,6 +9419,7 @@ export namespace Api {
|
|
|
9356
9419
|
participantId: long;
|
|
9357
9420
|
gB: bytes;
|
|
9358
9421
|
protocol: Api.TypePhoneCallProtocol;
|
|
9422
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9359
9423
|
}
|
|
9360
9424
|
export class PhoneCall extends VirtualClass<{
|
|
9361
9425
|
// flags: null;
|
|
@@ -9372,8 +9436,9 @@ export namespace Api {
|
|
|
9372
9436
|
connections: Api.TypePhoneConnection[];
|
|
9373
9437
|
startDate: int;
|
|
9374
9438
|
customParameters?: Api.TypeDataJSON;
|
|
9439
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9375
9440
|
}> {
|
|
9376
|
-
CONSTRUCTOR_ID:
|
|
9441
|
+
CONSTRUCTOR_ID: 1000707084;
|
|
9377
9442
|
SUBCLASS_OF_ID: 3296664529;
|
|
9378
9443
|
classType: "constructor";
|
|
9379
9444
|
className: "PhoneCall";
|
|
@@ -9392,6 +9457,7 @@ export namespace Api {
|
|
|
9392
9457
|
connections: Api.TypePhoneConnection[];
|
|
9393
9458
|
startDate: int;
|
|
9394
9459
|
customParameters?: Api.TypeDataJSON;
|
|
9460
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9395
9461
|
}
|
|
9396
9462
|
export class PhoneCallDiscarded extends VirtualClass<{
|
|
9397
9463
|
// flags: null;
|
|
@@ -9401,8 +9467,9 @@ export namespace Api {
|
|
|
9401
9467
|
id: long;
|
|
9402
9468
|
reason?: Api.TypePhoneCallDiscardReason;
|
|
9403
9469
|
duration?: int;
|
|
9470
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9404
9471
|
}> {
|
|
9405
|
-
CONSTRUCTOR_ID:
|
|
9472
|
+
CONSTRUCTOR_ID: 4191311107;
|
|
9406
9473
|
SUBCLASS_OF_ID: 3296664529;
|
|
9407
9474
|
classType: "constructor";
|
|
9408
9475
|
className: "PhoneCallDiscarded";
|
|
@@ -9414,6 +9481,7 @@ export namespace Api {
|
|
|
9414
9481
|
id: long;
|
|
9415
9482
|
reason?: Api.TypePhoneCallDiscardReason;
|
|
9416
9483
|
duration?: int;
|
|
9484
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
9417
9485
|
}
|
|
9418
9486
|
export class PhoneConnection extends VirtualClass<{
|
|
9419
9487
|
// flags: null;
|
|
@@ -11891,15 +11959,16 @@ export namespace Api {
|
|
|
11891
11959
|
excludeMuted?: boolean;
|
|
11892
11960
|
excludeRead?: boolean;
|
|
11893
11961
|
excludeArchived?: boolean;
|
|
11962
|
+
titleNoanimate?: boolean;
|
|
11894
11963
|
id: int;
|
|
11895
|
-
title:
|
|
11964
|
+
title: Api.TypeTextWithEntities;
|
|
11896
11965
|
emoticon?: string;
|
|
11897
11966
|
color?: int;
|
|
11898
11967
|
pinnedPeers: Api.TypeInputPeer[];
|
|
11899
11968
|
includePeers: Api.TypeInputPeer[];
|
|
11900
11969
|
excludePeers: Api.TypeInputPeer[];
|
|
11901
11970
|
}> {
|
|
11902
|
-
CONSTRUCTOR_ID:
|
|
11971
|
+
CONSTRUCTOR_ID: 2856789585;
|
|
11903
11972
|
SUBCLASS_OF_ID: 1764475991;
|
|
11904
11973
|
classType: "constructor";
|
|
11905
11974
|
className: "DialogFilter";
|
|
@@ -11913,8 +11982,9 @@ export namespace Api {
|
|
|
11913
11982
|
excludeMuted?: boolean;
|
|
11914
11983
|
excludeRead?: boolean;
|
|
11915
11984
|
excludeArchived?: boolean;
|
|
11985
|
+
titleNoanimate?: boolean;
|
|
11916
11986
|
id: int;
|
|
11917
|
-
title:
|
|
11987
|
+
title: Api.TypeTextWithEntities;
|
|
11918
11988
|
emoticon?: string;
|
|
11919
11989
|
color?: int;
|
|
11920
11990
|
pinnedPeers: Api.TypeInputPeer[];
|
|
@@ -11931,22 +12001,24 @@ export namespace Api {
|
|
|
11931
12001
|
export class DialogFilterChatlist extends VirtualClass<{
|
|
11932
12002
|
// flags: null;
|
|
11933
12003
|
hasMyInvites?: boolean;
|
|
12004
|
+
titleNoanimate?: boolean;
|
|
11934
12005
|
id: int;
|
|
11935
|
-
title:
|
|
12006
|
+
title: Api.TypeTextWithEntities;
|
|
11936
12007
|
emoticon?: string;
|
|
11937
12008
|
color?: int;
|
|
11938
12009
|
pinnedPeers: Api.TypeInputPeer[];
|
|
11939
12010
|
includePeers: Api.TypeInputPeer[];
|
|
11940
12011
|
}> {
|
|
11941
|
-
CONSTRUCTOR_ID:
|
|
12012
|
+
CONSTRUCTOR_ID: 2522053591;
|
|
11942
12013
|
SUBCLASS_OF_ID: 1764475991;
|
|
11943
12014
|
classType: "constructor";
|
|
11944
12015
|
className: "DialogFilterChatlist";
|
|
11945
12016
|
static fromReader(reader: Reader): DialogFilterChatlist;
|
|
11946
12017
|
// flags: null;
|
|
11947
12018
|
hasMyInvites?: boolean;
|
|
12019
|
+
titleNoanimate?: boolean;
|
|
11948
12020
|
id: int;
|
|
11949
|
-
title:
|
|
12021
|
+
title: Api.TypeTextWithEntities;
|
|
11950
12022
|
emoticon?: string;
|
|
11951
12023
|
color?: int;
|
|
11952
12024
|
pinnedPeers: Api.TypeInputPeer[];
|
|
@@ -12272,8 +12344,9 @@ export namespace Api {
|
|
|
12272
12344
|
unmutedVideoCount?: int;
|
|
12273
12345
|
unmutedVideoLimit: int;
|
|
12274
12346
|
version: int;
|
|
12347
|
+
conferenceFromCall?: long;
|
|
12275
12348
|
}> {
|
|
12276
|
-
CONSTRUCTOR_ID:
|
|
12349
|
+
CONSTRUCTOR_ID: 3455636451;
|
|
12277
12350
|
SUBCLASS_OF_ID: 548729632;
|
|
12278
12351
|
classType: "constructor";
|
|
12279
12352
|
className: "GroupCall";
|
|
@@ -12297,6 +12370,7 @@ export namespace Api {
|
|
|
12297
12370
|
unmutedVideoCount?: int;
|
|
12298
12371
|
unmutedVideoLimit: int;
|
|
12299
12372
|
version: int;
|
|
12373
|
+
conferenceFromCall?: long;
|
|
12300
12374
|
}
|
|
12301
12375
|
export class InputGroupCall extends VirtualClass<{
|
|
12302
12376
|
id: long;
|
|
@@ -12973,6 +13047,7 @@ export namespace Api {
|
|
|
12973
13047
|
export class InputInvoiceStarGift extends VirtualClass<{
|
|
12974
13048
|
// flags: null;
|
|
12975
13049
|
hideName?: boolean;
|
|
13050
|
+
includeUpgrade?: boolean;
|
|
12976
13051
|
userId: Api.TypeInputUser;
|
|
12977
13052
|
giftId: long;
|
|
12978
13053
|
message?: Api.TypeTextWithEntities;
|
|
@@ -12984,10 +13059,37 @@ export namespace Api {
|
|
|
12984
13059
|
static fromReader(reader: Reader): InputInvoiceStarGift;
|
|
12985
13060
|
// flags: null;
|
|
12986
13061
|
hideName?: boolean;
|
|
13062
|
+
includeUpgrade?: boolean;
|
|
12987
13063
|
userId: Api.TypeInputUser;
|
|
12988
13064
|
giftId: long;
|
|
12989
13065
|
message?: Api.TypeTextWithEntities;
|
|
12990
13066
|
}
|
|
13067
|
+
export class InputInvoiceStarGiftUpgrade extends VirtualClass<{
|
|
13068
|
+
// flags: null;
|
|
13069
|
+
keepOriginalDetails?: boolean;
|
|
13070
|
+
msgId: int;
|
|
13071
|
+
}> {
|
|
13072
|
+
CONSTRUCTOR_ID: 1589539426;
|
|
13073
|
+
SUBCLASS_OF_ID: 1919851518;
|
|
13074
|
+
classType: "constructor";
|
|
13075
|
+
className: "InputInvoiceStarGiftUpgrade";
|
|
13076
|
+
static fromReader(reader: Reader): InputInvoiceStarGiftUpgrade;
|
|
13077
|
+
// flags: null;
|
|
13078
|
+
keepOriginalDetails?: boolean;
|
|
13079
|
+
msgId: int;
|
|
13080
|
+
}
|
|
13081
|
+
export class InputInvoiceStarGiftTransfer extends VirtualClass<{
|
|
13082
|
+
msgId: int;
|
|
13083
|
+
toId: Api.TypeInputUser;
|
|
13084
|
+
}> {
|
|
13085
|
+
CONSTRUCTOR_ID: 2923145709;
|
|
13086
|
+
SUBCLASS_OF_ID: 1919851518;
|
|
13087
|
+
classType: "constructor";
|
|
13088
|
+
className: "InputInvoiceStarGiftTransfer";
|
|
13089
|
+
static fromReader(reader: Reader): InputInvoiceStarGiftTransfer;
|
|
13090
|
+
msgId: int;
|
|
13091
|
+
toId: Api.TypeInputUser;
|
|
13092
|
+
}
|
|
12991
13093
|
export class InputStorePaymentPremiumSubscription extends VirtualClass<{
|
|
12992
13094
|
// flags: null;
|
|
12993
13095
|
restore?: boolean;
|
|
@@ -15188,6 +15290,7 @@ export namespace Api {
|
|
|
15188
15290
|
failed?: boolean;
|
|
15189
15291
|
gift?: boolean;
|
|
15190
15292
|
reaction?: boolean;
|
|
15293
|
+
stargiftUpgrade?: boolean;
|
|
15191
15294
|
id: string;
|
|
15192
15295
|
stars: Api.TypeStarsAmount;
|
|
15193
15296
|
date: int;
|
|
@@ -15219,6 +15322,7 @@ export namespace Api {
|
|
|
15219
15322
|
failed?: boolean;
|
|
15220
15323
|
gift?: boolean;
|
|
15221
15324
|
reaction?: boolean;
|
|
15325
|
+
stargiftUpgrade?: boolean;
|
|
15222
15326
|
id: string;
|
|
15223
15327
|
stars: Api.TypeStarsAmount;
|
|
15224
15328
|
date: int;
|
|
@@ -15456,8 +15560,9 @@ export namespace Api {
|
|
|
15456
15560
|
convertStars: long;
|
|
15457
15561
|
firstSaleDate?: int;
|
|
15458
15562
|
lastSaleDate?: int;
|
|
15563
|
+
upgradeStars?: long;
|
|
15459
15564
|
}> {
|
|
15460
|
-
CONSTRUCTOR_ID:
|
|
15565
|
+
CONSTRUCTOR_ID: 46953416;
|
|
15461
15566
|
SUBCLASS_OF_ID: 3273414923;
|
|
15462
15567
|
classType: "constructor";
|
|
15463
15568
|
className: "StarGift";
|
|
@@ -15474,19 +15579,47 @@ export namespace Api {
|
|
|
15474
15579
|
convertStars: long;
|
|
15475
15580
|
firstSaleDate?: int;
|
|
15476
15581
|
lastSaleDate?: int;
|
|
15582
|
+
upgradeStars?: long;
|
|
15583
|
+
}
|
|
15584
|
+
export class StarGiftUnique extends VirtualClass<{
|
|
15585
|
+
id: long;
|
|
15586
|
+
title: string;
|
|
15587
|
+
num: int;
|
|
15588
|
+
ownerId: long;
|
|
15589
|
+
attributes: Api.TypeStarGiftAttribute[];
|
|
15590
|
+
availabilityIssued: int;
|
|
15591
|
+
availabilityTotal: int;
|
|
15592
|
+
}> {
|
|
15593
|
+
CONSTRUCTOR_ID: 1779697613;
|
|
15594
|
+
SUBCLASS_OF_ID: 3273414923;
|
|
15595
|
+
classType: "constructor";
|
|
15596
|
+
className: "StarGiftUnique";
|
|
15597
|
+
static fromReader(reader: Reader): StarGiftUnique;
|
|
15598
|
+
id: long;
|
|
15599
|
+
title: string;
|
|
15600
|
+
num: int;
|
|
15601
|
+
ownerId: long;
|
|
15602
|
+
attributes: Api.TypeStarGiftAttribute[];
|
|
15603
|
+
availabilityIssued: int;
|
|
15604
|
+
availabilityTotal: int;
|
|
15477
15605
|
}
|
|
15478
15606
|
export class UserStarGift extends VirtualClass<{
|
|
15479
15607
|
// flags: null;
|
|
15480
15608
|
nameHidden?: boolean;
|
|
15481
15609
|
unsaved?: boolean;
|
|
15610
|
+
refunded?: boolean;
|
|
15611
|
+
canUpgrade?: boolean;
|
|
15482
15612
|
fromId?: long;
|
|
15483
15613
|
date: int;
|
|
15484
15614
|
gift: Api.TypeStarGift;
|
|
15485
15615
|
message?: Api.TypeTextWithEntities;
|
|
15486
15616
|
msgId?: int;
|
|
15487
15617
|
convertStars?: long;
|
|
15618
|
+
upgradeStars?: long;
|
|
15619
|
+
canExportAt?: int;
|
|
15620
|
+
transferStars?: long;
|
|
15488
15621
|
}> {
|
|
15489
|
-
CONSTRUCTOR_ID:
|
|
15622
|
+
CONSTRUCTOR_ID: 844641761;
|
|
15490
15623
|
SUBCLASS_OF_ID: 4150820228;
|
|
15491
15624
|
classType: "constructor";
|
|
15492
15625
|
className: "UserStarGift";
|
|
@@ -15494,12 +15627,17 @@ export namespace Api {
|
|
|
15494
15627
|
// flags: null;
|
|
15495
15628
|
nameHidden?: boolean;
|
|
15496
15629
|
unsaved?: boolean;
|
|
15630
|
+
refunded?: boolean;
|
|
15631
|
+
canUpgrade?: boolean;
|
|
15497
15632
|
fromId?: long;
|
|
15498
15633
|
date: int;
|
|
15499
15634
|
gift: Api.TypeStarGift;
|
|
15500
15635
|
message?: Api.TypeTextWithEntities;
|
|
15501
15636
|
msgId?: int;
|
|
15502
15637
|
convertStars?: long;
|
|
15638
|
+
upgradeStars?: long;
|
|
15639
|
+
canExportAt?: int;
|
|
15640
|
+
transferStars?: long;
|
|
15503
15641
|
}
|
|
15504
15642
|
export class MessageReportOption extends VirtualClass<{
|
|
15505
15643
|
text: string;
|
|
@@ -15624,6 +15762,104 @@ export namespace Api {
|
|
|
15624
15762
|
amount: long;
|
|
15625
15763
|
nanos: int;
|
|
15626
15764
|
}
|
|
15765
|
+
export class BotVerifierSettings extends VirtualClass<{
|
|
15766
|
+
// flags: null;
|
|
15767
|
+
canModifyCustomDescription?: boolean;
|
|
15768
|
+
icon: long;
|
|
15769
|
+
company: string;
|
|
15770
|
+
customDescription?: string;
|
|
15771
|
+
}> {
|
|
15772
|
+
CONSTRUCTOR_ID: 2966251031;
|
|
15773
|
+
SUBCLASS_OF_ID: 4057334604;
|
|
15774
|
+
classType: "constructor";
|
|
15775
|
+
className: "BotVerifierSettings";
|
|
15776
|
+
static fromReader(reader: Reader): BotVerifierSettings;
|
|
15777
|
+
// flags: null;
|
|
15778
|
+
canModifyCustomDescription?: boolean;
|
|
15779
|
+
icon: long;
|
|
15780
|
+
company: string;
|
|
15781
|
+
customDescription?: string;
|
|
15782
|
+
}
|
|
15783
|
+
export class BotVerification extends VirtualClass<{
|
|
15784
|
+
botId: long;
|
|
15785
|
+
icon: long;
|
|
15786
|
+
description: string;
|
|
15787
|
+
}> {
|
|
15788
|
+
CONSTRUCTOR_ID: 4181513308;
|
|
15789
|
+
SUBCLASS_OF_ID: 750730330;
|
|
15790
|
+
classType: "constructor";
|
|
15791
|
+
className: "BotVerification";
|
|
15792
|
+
static fromReader(reader: Reader): BotVerification;
|
|
15793
|
+
botId: long;
|
|
15794
|
+
icon: long;
|
|
15795
|
+
description: string;
|
|
15796
|
+
}
|
|
15797
|
+
export class StarGiftAttributeModel extends VirtualClass<{
|
|
15798
|
+
name: string;
|
|
15799
|
+
document: Api.TypeDocument;
|
|
15800
|
+
rarityPermille: int;
|
|
15801
|
+
}> {
|
|
15802
|
+
CONSTRUCTOR_ID: 970559507;
|
|
15803
|
+
SUBCLASS_OF_ID: 2276819400;
|
|
15804
|
+
classType: "constructor";
|
|
15805
|
+
className: "StarGiftAttributeModel";
|
|
15806
|
+
static fromReader(reader: Reader): StarGiftAttributeModel;
|
|
15807
|
+
name: string;
|
|
15808
|
+
document: Api.TypeDocument;
|
|
15809
|
+
rarityPermille: int;
|
|
15810
|
+
}
|
|
15811
|
+
export class StarGiftAttributePattern extends VirtualClass<{
|
|
15812
|
+
name: string;
|
|
15813
|
+
document: Api.TypeDocument;
|
|
15814
|
+
rarityPermille: int;
|
|
15815
|
+
}> {
|
|
15816
|
+
CONSTRUCTOR_ID: 330104601;
|
|
15817
|
+
SUBCLASS_OF_ID: 2276819400;
|
|
15818
|
+
classType: "constructor";
|
|
15819
|
+
className: "StarGiftAttributePattern";
|
|
15820
|
+
static fromReader(reader: Reader): StarGiftAttributePattern;
|
|
15821
|
+
name: string;
|
|
15822
|
+
document: Api.TypeDocument;
|
|
15823
|
+
rarityPermille: int;
|
|
15824
|
+
}
|
|
15825
|
+
export class StarGiftAttributeBackdrop extends VirtualClass<{
|
|
15826
|
+
name: string;
|
|
15827
|
+
centerColor: int;
|
|
15828
|
+
edgeColor: int;
|
|
15829
|
+
patternColor: int;
|
|
15830
|
+
textColor: int;
|
|
15831
|
+
rarityPermille: int;
|
|
15832
|
+
}> {
|
|
15833
|
+
CONSTRUCTOR_ID: 2485589858;
|
|
15834
|
+
SUBCLASS_OF_ID: 2276819400;
|
|
15835
|
+
classType: "constructor";
|
|
15836
|
+
className: "StarGiftAttributeBackdrop";
|
|
15837
|
+
static fromReader(reader: Reader): StarGiftAttributeBackdrop;
|
|
15838
|
+
name: string;
|
|
15839
|
+
centerColor: int;
|
|
15840
|
+
edgeColor: int;
|
|
15841
|
+
patternColor: int;
|
|
15842
|
+
textColor: int;
|
|
15843
|
+
rarityPermille: int;
|
|
15844
|
+
}
|
|
15845
|
+
export class StarGiftAttributeOriginalDetails extends VirtualClass<{
|
|
15846
|
+
// flags: null;
|
|
15847
|
+
senderId?: long;
|
|
15848
|
+
recipientId: long;
|
|
15849
|
+
date: int;
|
|
15850
|
+
message?: Api.TypeTextWithEntities;
|
|
15851
|
+
}> {
|
|
15852
|
+
CONSTRUCTOR_ID: 3224129355;
|
|
15853
|
+
SUBCLASS_OF_ID: 2276819400;
|
|
15854
|
+
classType: "constructor";
|
|
15855
|
+
className: "StarGiftAttributeOriginalDetails";
|
|
15856
|
+
static fromReader(reader: Reader): StarGiftAttributeOriginalDetails;
|
|
15857
|
+
// flags: null;
|
|
15858
|
+
senderId?: long;
|
|
15859
|
+
recipientId: long;
|
|
15860
|
+
date: int;
|
|
15861
|
+
message?: Api.TypeTextWithEntities;
|
|
15862
|
+
}
|
|
15627
15863
|
export class ResPQ extends VirtualClass<{
|
|
15628
15864
|
nonce: int128;
|
|
15629
15865
|
serverNonce: int128;
|
|
@@ -19785,6 +20021,16 @@ export namespace Api {
|
|
|
19785
20021
|
users: Api.TypeUser[];
|
|
19786
20022
|
nextOffset?: string;
|
|
19787
20023
|
}
|
|
20024
|
+
export class StarGiftUpgradePreview extends VirtualClass<{
|
|
20025
|
+
sampleAttributes: Api.TypeStarGiftAttribute[];
|
|
20026
|
+
}> {
|
|
20027
|
+
CONSTRUCTOR_ID: 377215243;
|
|
20028
|
+
SUBCLASS_OF_ID: 1579903175;
|
|
20029
|
+
classType: "constructor";
|
|
20030
|
+
className: "payments.StarGiftUpgradePreview";
|
|
20031
|
+
static fromReader(reader: Reader): StarGiftUpgradePreview;
|
|
20032
|
+
sampleAttributes: Api.TypeStarGiftAttribute[];
|
|
20033
|
+
}
|
|
19788
20034
|
}
|
|
19789
20035
|
|
|
19790
20036
|
export namespace phone {
|
|
@@ -20093,6 +20339,28 @@ export namespace Api {
|
|
|
20093
20339
|
chats: Api.TypeChat[];
|
|
20094
20340
|
users: Api.TypeUser[];
|
|
20095
20341
|
}
|
|
20342
|
+
export class Users extends VirtualClass<{
|
|
20343
|
+
users: Api.TypeUser[];
|
|
20344
|
+
}> {
|
|
20345
|
+
CONSTRUCTOR_ID: 1658259128;
|
|
20346
|
+
SUBCLASS_OF_ID: 4065063104;
|
|
20347
|
+
classType: "constructor";
|
|
20348
|
+
className: "users.Users";
|
|
20349
|
+
static fromReader(reader: Reader): Users;
|
|
20350
|
+
users: Api.TypeUser[];
|
|
20351
|
+
}
|
|
20352
|
+
export class UsersSlice extends VirtualClass<{
|
|
20353
|
+
count: int;
|
|
20354
|
+
users: Api.TypeUser[];
|
|
20355
|
+
}> {
|
|
20356
|
+
CONSTRUCTOR_ID: 828000628;
|
|
20357
|
+
SUBCLASS_OF_ID: 4065063104;
|
|
20358
|
+
classType: "constructor";
|
|
20359
|
+
className: "users.UsersSlice";
|
|
20360
|
+
static fromReader(reader: Reader): UsersSlice;
|
|
20361
|
+
count: int;
|
|
20362
|
+
users: Api.TypeUser[];
|
|
20363
|
+
}
|
|
20096
20364
|
}
|
|
20097
20365
|
|
|
20098
20366
|
export namespace chatlists {
|
|
@@ -20142,19 +20410,21 @@ export namespace Api {
|
|
|
20142
20410
|
}
|
|
20143
20411
|
export class ChatlistInvite extends VirtualClass<{
|
|
20144
20412
|
// flags: null;
|
|
20145
|
-
|
|
20413
|
+
titleNoanimate?: boolean;
|
|
20414
|
+
title: Api.TypeTextWithEntities;
|
|
20146
20415
|
emoticon?: string;
|
|
20147
20416
|
peers: Api.TypePeer[];
|
|
20148
20417
|
chats: Api.TypeChat[];
|
|
20149
20418
|
users: Api.TypeUser[];
|
|
20150
20419
|
}> {
|
|
20151
|
-
CONSTRUCTOR_ID:
|
|
20420
|
+
CONSTRUCTOR_ID: 4044279343;
|
|
20152
20421
|
SUBCLASS_OF_ID: 1097993845;
|
|
20153
20422
|
classType: "constructor";
|
|
20154
20423
|
className: "chatlists.ChatlistInvite";
|
|
20155
20424
|
static fromReader(reader: Reader): ChatlistInvite;
|
|
20156
20425
|
// flags: null;
|
|
20157
|
-
|
|
20426
|
+
titleNoanimate?: boolean;
|
|
20427
|
+
title: Api.TypeTextWithEntities;
|
|
20158
20428
|
emoticon?: string;
|
|
20159
20429
|
peers: Api.TypePeer[];
|
|
20160
20430
|
chats: Api.TypeChat[];
|
|
@@ -20682,6 +20952,7 @@ export namespace Api {
|
|
|
20682
20952
|
export type TypeUserStarGifts = payments.UserStarGifts;
|
|
20683
20953
|
export type TypeConnectedStarRefBots = payments.ConnectedStarRefBots;
|
|
20684
20954
|
export type TypeSuggestedStarRefBots = payments.SuggestedStarRefBots;
|
|
20955
|
+
export type TypeStarGiftUpgradePreview = payments.StarGiftUpgradePreview;
|
|
20685
20956
|
}
|
|
20686
20957
|
|
|
20687
20958
|
export namespace phone {
|
|
@@ -20711,6 +20982,7 @@ export namespace Api {
|
|
|
20711
20982
|
|
|
20712
20983
|
export namespace users {
|
|
20713
20984
|
export type TypeUserFull = users.UserFull;
|
|
20985
|
+
export type TypeUsers = users.Users | users.UsersSlice;
|
|
20714
20986
|
}
|
|
20715
20987
|
|
|
20716
20988
|
export namespace chatlists {
|
|
@@ -23460,6 +23732,8 @@ export namespace Api {
|
|
|
23460
23732
|
export class SearchGlobal extends Request<Partial<{
|
|
23461
23733
|
// flags: null;
|
|
23462
23734
|
broadcastsOnly?: boolean;
|
|
23735
|
+
groupsOnly?: boolean;
|
|
23736
|
+
usersOnly?: boolean;
|
|
23463
23737
|
folderId?: int;
|
|
23464
23738
|
q: string;
|
|
23465
23739
|
filter: Api.TypeMessagesFilter;
|
|
@@ -23477,6 +23751,8 @@ export namespace Api {
|
|
|
23477
23751
|
static fromReader(reader: Reader): SearchGlobal;
|
|
23478
23752
|
// flags: null;
|
|
23479
23753
|
broadcastsOnly?: boolean;
|
|
23754
|
+
groupsOnly?: boolean;
|
|
23755
|
+
usersOnly?: boolean;
|
|
23480
23756
|
folderId?: int;
|
|
23481
23757
|
q: string;
|
|
23482
23758
|
filter: Api.TypeMessagesFilter;
|
|
@@ -26049,6 +26325,22 @@ export namespace Api {
|
|
|
26049
26325
|
limit: int;
|
|
26050
26326
|
hash: long;
|
|
26051
26327
|
}
|
|
26328
|
+
export class ReportMessagesDelivery extends Request<Partial<{
|
|
26329
|
+
// flags: null;
|
|
26330
|
+
push?: boolean;
|
|
26331
|
+
peer: Api.TypeEntityLike;
|
|
26332
|
+
id: int[];
|
|
26333
|
+
}>, Bool> {
|
|
26334
|
+
CONSTRUCTOR_ID: 1517122453;
|
|
26335
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
26336
|
+
classType: "request";
|
|
26337
|
+
className: "messages.ReportMessagesDelivery";
|
|
26338
|
+
static fromReader(reader: Reader): ReportMessagesDelivery;
|
|
26339
|
+
// flags: null;
|
|
26340
|
+
push?: boolean;
|
|
26341
|
+
peer: Api.TypeEntityLike;
|
|
26342
|
+
id: int[];
|
|
26343
|
+
}
|
|
26052
26344
|
}
|
|
26053
26345
|
|
|
26054
26346
|
export namespace updates {
|
|
@@ -27720,6 +28012,36 @@ export namespace Api {
|
|
|
27720
28012
|
commissionPermille: int;
|
|
27721
28013
|
durationMonths?: int;
|
|
27722
28014
|
}
|
|
28015
|
+
export class SetCustomVerification extends Request<Partial<{
|
|
28016
|
+
// flags: null;
|
|
28017
|
+
enabled?: boolean;
|
|
28018
|
+
bot?: Api.TypeEntityLike;
|
|
28019
|
+
peer: Api.TypeEntityLike;
|
|
28020
|
+
customDescription?: string;
|
|
28021
|
+
}>, Bool> {
|
|
28022
|
+
CONSTRUCTOR_ID: 2341068733;
|
|
28023
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
28024
|
+
classType: "request";
|
|
28025
|
+
className: "bots.SetCustomVerification";
|
|
28026
|
+
static fromReader(reader: Reader): SetCustomVerification;
|
|
28027
|
+
// flags: null;
|
|
28028
|
+
enabled?: boolean;
|
|
28029
|
+
bot?: Api.TypeEntityLike;
|
|
28030
|
+
peer: Api.TypeEntityLike;
|
|
28031
|
+
customDescription?: string;
|
|
28032
|
+
}
|
|
28033
|
+
export class GetBotRecommendations extends Request<Partial<{
|
|
28034
|
+
// flags: null;
|
|
28035
|
+
bot: Api.TypeEntityLike;
|
|
28036
|
+
}>, users.TypeUsers> {
|
|
28037
|
+
CONSTRUCTOR_ID: 676707937;
|
|
28038
|
+
SUBCLASS_OF_ID: 4065063104;
|
|
28039
|
+
classType: "request";
|
|
28040
|
+
className: "bots.GetBotRecommendations";
|
|
28041
|
+
static fromReader(reader: Reader): GetBotRecommendations;
|
|
28042
|
+
// flags: null;
|
|
28043
|
+
bot: Api.TypeEntityLike;
|
|
28044
|
+
}
|
|
27723
28045
|
}
|
|
27724
28046
|
|
|
27725
28047
|
export namespace payments {
|
|
@@ -28125,29 +28447,25 @@ export namespace Api {
|
|
|
28125
28447
|
export class SaveStarGift extends Request<Partial<{
|
|
28126
28448
|
// flags: null;
|
|
28127
28449
|
unsave?: boolean;
|
|
28128
|
-
userId: Api.TypeEntityLike;
|
|
28129
28450
|
msgId: MessageIDLike;
|
|
28130
28451
|
}>, Bool> {
|
|
28131
|
-
CONSTRUCTOR_ID:
|
|
28452
|
+
CONSTRUCTOR_ID: 2466065070;
|
|
28132
28453
|
SUBCLASS_OF_ID: 4122188204;
|
|
28133
28454
|
classType: "request";
|
|
28134
28455
|
className: "payments.SaveStarGift";
|
|
28135
28456
|
static fromReader(reader: Reader): SaveStarGift;
|
|
28136
28457
|
// flags: null;
|
|
28137
28458
|
unsave?: boolean;
|
|
28138
|
-
userId: Api.TypeEntityLike;
|
|
28139
28459
|
msgId: MessageIDLike;
|
|
28140
28460
|
}
|
|
28141
28461
|
export class ConvertStarGift extends Request<Partial<{
|
|
28142
|
-
userId: Api.TypeEntityLike;
|
|
28143
28462
|
msgId: MessageIDLike;
|
|
28144
28463
|
}>, Bool> {
|
|
28145
|
-
CONSTRUCTOR_ID:
|
|
28464
|
+
CONSTRUCTOR_ID: 1920404611;
|
|
28146
28465
|
SUBCLASS_OF_ID: 4122188204;
|
|
28147
28466
|
classType: "request";
|
|
28148
28467
|
className: "payments.ConvertStarGift";
|
|
28149
28468
|
static fromReader(reader: Reader): ConvertStarGift;
|
|
28150
|
-
userId: Api.TypeEntityLike;
|
|
28151
28469
|
msgId: MessageIDLike;
|
|
28152
28470
|
}
|
|
28153
28471
|
export class BotCancelStarsSubscription extends Request<Partial<{
|
|
@@ -28244,6 +28562,52 @@ export namespace Api {
|
|
|
28244
28562
|
peer: Api.TypeEntityLike;
|
|
28245
28563
|
link: string;
|
|
28246
28564
|
}
|
|
28565
|
+
export class GetStarGiftUpgradePreview extends Request<Partial<{
|
|
28566
|
+
giftId: long;
|
|
28567
|
+
}>, payments.TypeStarGiftUpgradePreview> {
|
|
28568
|
+
CONSTRUCTOR_ID: 2627386545;
|
|
28569
|
+
SUBCLASS_OF_ID: 1579903175;
|
|
28570
|
+
classType: "request";
|
|
28571
|
+
className: "payments.GetStarGiftUpgradePreview";
|
|
28572
|
+
static fromReader(reader: Reader): GetStarGiftUpgradePreview;
|
|
28573
|
+
giftId: long;
|
|
28574
|
+
}
|
|
28575
|
+
export class UpgradeStarGift extends Request<Partial<{
|
|
28576
|
+
// flags: null;
|
|
28577
|
+
keepOriginalDetails?: boolean;
|
|
28578
|
+
msgId: MessageIDLike;
|
|
28579
|
+
}>, Api.TypeUpdates> {
|
|
28580
|
+
CONSTRUCTOR_ID: 3478062977;
|
|
28581
|
+
SUBCLASS_OF_ID: 2331323052;
|
|
28582
|
+
classType: "request";
|
|
28583
|
+
className: "payments.UpgradeStarGift";
|
|
28584
|
+
static fromReader(reader: Reader): UpgradeStarGift;
|
|
28585
|
+
// flags: null;
|
|
28586
|
+
keepOriginalDetails?: boolean;
|
|
28587
|
+
msgId: MessageIDLike;
|
|
28588
|
+
}
|
|
28589
|
+
export class TransferStarGift extends Request<Partial<{
|
|
28590
|
+
msgId: MessageIDLike;
|
|
28591
|
+
toId: Api.TypeEntityLike;
|
|
28592
|
+
}>, Api.TypeUpdates> {
|
|
28593
|
+
CONSTRUCTOR_ID: 859813158;
|
|
28594
|
+
SUBCLASS_OF_ID: 2331323052;
|
|
28595
|
+
classType: "request";
|
|
28596
|
+
className: "payments.TransferStarGift";
|
|
28597
|
+
static fromReader(reader: Reader): TransferStarGift;
|
|
28598
|
+
msgId: MessageIDLike;
|
|
28599
|
+
toId: Api.TypeEntityLike;
|
|
28600
|
+
}
|
|
28601
|
+
export class GetUserStarGift extends Request<Partial<{
|
|
28602
|
+
msgId: MessageIDLike[];
|
|
28603
|
+
}>, payments.TypeUserStarGifts> {
|
|
28604
|
+
CONSTRUCTOR_ID: 3036865701;
|
|
28605
|
+
SUBCLASS_OF_ID: 17096492;
|
|
28606
|
+
classType: "request";
|
|
28607
|
+
className: "payments.GetUserStarGift";
|
|
28608
|
+
static fromReader(reader: Reader): GetUserStarGift;
|
|
28609
|
+
msgId: MessageIDLike[];
|
|
28610
|
+
}
|
|
28247
28611
|
}
|
|
28248
28612
|
|
|
28249
28613
|
export namespace stickers {
|
|
@@ -28411,11 +28775,12 @@ export namespace Api {
|
|
|
28411
28775
|
// flags: null;
|
|
28412
28776
|
video?: boolean;
|
|
28413
28777
|
userId: Api.TypeEntityLike;
|
|
28778
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
28414
28779
|
randomId: int;
|
|
28415
28780
|
gAHash: bytes;
|
|
28416
28781
|
protocol: Api.TypePhoneCallProtocol;
|
|
28417
28782
|
}>, phone.TypePhoneCall> {
|
|
28418
|
-
CONSTRUCTOR_ID:
|
|
28783
|
+
CONSTRUCTOR_ID: 2797887500;
|
|
28419
28784
|
SUBCLASS_OF_ID: 3565878863;
|
|
28420
28785
|
classType: "request";
|
|
28421
28786
|
className: "phone.RequestCall";
|
|
@@ -28423,6 +28788,7 @@ export namespace Api {
|
|
|
28423
28788
|
// flags: null;
|
|
28424
28789
|
video?: boolean;
|
|
28425
28790
|
userId: Api.TypeEntityLike;
|
|
28791
|
+
conferenceCall?: Api.TypeInputGroupCall;
|
|
28426
28792
|
randomId: int;
|
|
28427
28793
|
gAHash: bytes;
|
|
28428
28794
|
protocol: Api.TypePhoneCallProtocol;
|
|
@@ -28556,9 +28922,10 @@ export namespace Api {
|
|
|
28556
28922
|
call: Api.TypeInputGroupCall;
|
|
28557
28923
|
joinAs: Api.TypeEntityLike;
|
|
28558
28924
|
inviteHash?: string;
|
|
28925
|
+
keyFingerprint?: long;
|
|
28559
28926
|
params: Api.TypeDataJSON;
|
|
28560
28927
|
}>, Api.TypeUpdates> {
|
|
28561
|
-
CONSTRUCTOR_ID:
|
|
28928
|
+
CONSTRUCTOR_ID: 3592297971;
|
|
28562
28929
|
SUBCLASS_OF_ID: 2331323052;
|
|
28563
28930
|
classType: "request";
|
|
28564
28931
|
className: "phone.JoinGroupCall";
|
|
@@ -28569,6 +28936,7 @@ export namespace Api {
|
|
|
28569
28936
|
call: Api.TypeInputGroupCall;
|
|
28570
28937
|
joinAs: Api.TypeEntityLike;
|
|
28571
28938
|
inviteHash?: string;
|
|
28939
|
+
keyFingerprint?: long;
|
|
28572
28940
|
params: Api.TypeDataJSON;
|
|
28573
28941
|
}
|
|
28574
28942
|
export class LeaveGroupCall extends Request<Partial<{
|
|
@@ -28835,6 +29203,18 @@ export namespace Api {
|
|
|
28835
29203
|
peer: Api.TypeInputPhoneCall;
|
|
28836
29204
|
file: Api.TypeInputFile;
|
|
28837
29205
|
}
|
|
29206
|
+
export class CreateConferenceCall extends Request<Partial<{
|
|
29207
|
+
peer: Api.TypeInputPhoneCall;
|
|
29208
|
+
keyFingerprint: long;
|
|
29209
|
+
}>, phone.TypePhoneCall> {
|
|
29210
|
+
CONSTRUCTOR_ID: 3754494379;
|
|
29211
|
+
SUBCLASS_OF_ID: 3565878863;
|
|
29212
|
+
classType: "request";
|
|
29213
|
+
className: "phone.CreateConferenceCall";
|
|
29214
|
+
static fromReader(reader: Reader): CreateConferenceCall;
|
|
29215
|
+
peer: Api.TypeInputPhoneCall;
|
|
29216
|
+
keyFingerprint: long;
|
|
29217
|
+
}
|
|
28838
29218
|
}
|
|
28839
29219
|
|
|
28840
29220
|
export namespace langpack {
|
|
@@ -29749,7 +30129,7 @@ export namespace Api {
|
|
|
29749
30129
|
export type TypeChatPhoto = ChatPhotoEmpty | ChatPhoto;
|
|
29750
30130
|
export type TypeMessage = MessageEmpty | Message | MessageService;
|
|
29751
30131
|
export type TypeMessageMedia = MessageMediaEmpty | MessageMediaPhoto | MessageMediaGeo | MessageMediaContact | MessageMediaUnsupported | MessageMediaDocument | MessageMediaWebPage | MessageMediaVenue | MessageMediaGame | MessageMediaInvoice | MessageMediaGeoLive | MessageMediaPoll | MessageMediaDice | MessageMediaStory | MessageMediaGiveaway | MessageMediaGiveawayResults | MessageMediaPaidMedia;
|
|
29752
|
-
export type TypeMessageAction = 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;
|
|
30132
|
+
export type TypeMessageAction = 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;
|
|
29753
30133
|
export type TypeDialog = Dialog | DialogFolder;
|
|
29754
30134
|
export type TypePhoto = PhotoEmpty | Photo;
|
|
29755
30135
|
export type TypePhotoSize = PhotoSizeEmpty | PhotoSize | PhotoCachedSize | PhotoStrippedSize | PhotoSizeProgressive | PhotoPathSize;
|
|
@@ -29824,7 +30204,7 @@ export namespace Api {
|
|
|
29824
30204
|
export type TypeHighScore = HighScore;
|
|
29825
30205
|
export type TypeRichText = TextEmpty | TextPlain | TextBold | TextItalic | TextUnderline | TextStrike | TextFixed | TextUrl | TextEmail | TextConcat | TextSubscript | TextSuperscript | TextMarked | TextPhone | TextImage | TextAnchor;
|
|
29826
30206
|
export type TypePageBlock = 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;
|
|
29827
|
-
export type TypePhoneCallDiscardReason = PhoneCallDiscardReasonMissed | PhoneCallDiscardReasonDisconnect | PhoneCallDiscardReasonHangup | PhoneCallDiscardReasonBusy;
|
|
30207
|
+
export type TypePhoneCallDiscardReason = PhoneCallDiscardReasonMissed | PhoneCallDiscardReasonDisconnect | PhoneCallDiscardReasonHangup | PhoneCallDiscardReasonBusy | PhoneCallDiscardReasonAllowGroupCall;
|
|
29828
30208
|
export type TypeDataJSON = DataJSON;
|
|
29829
30209
|
export type TypeLabeledPrice = LabeledPrice;
|
|
29830
30210
|
export type TypeInvoice = Invoice;
|
|
@@ -29957,7 +30337,7 @@ export namespace Api {
|
|
|
29957
30337
|
export type TypeBotMenuButton = BotMenuButtonDefault | BotMenuButtonCommands | BotMenuButton;
|
|
29958
30338
|
export type TypeNotificationSound = NotificationSoundDefault | NotificationSoundNone | NotificationSoundLocal | NotificationSoundRingtone;
|
|
29959
30339
|
export type TypeAttachMenuPeerType = AttachMenuPeerTypeSameBotPM | AttachMenuPeerTypeBotPM | AttachMenuPeerTypePM | AttachMenuPeerTypeChat | AttachMenuPeerTypeBroadcast;
|
|
29960
|
-
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug | InputInvoicePremiumGiftCode | InputInvoiceStars | InputInvoiceChatInviteSubscription | InputInvoiceStarGift;
|
|
30340
|
+
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug | InputInvoicePremiumGiftCode | InputInvoiceStars | InputInvoiceChatInviteSubscription | InputInvoiceStarGift | InputInvoiceStarGiftUpgrade | InputInvoiceStarGiftTransfer;
|
|
29961
30341
|
export type TypeInputStorePaymentPurpose = InputStorePaymentPremiumSubscription | InputStorePaymentGiftPremium | InputStorePaymentPremiumGiftCode | InputStorePaymentPremiumGiveaway | InputStorePaymentStarsTopup | InputStorePaymentStarsGift | InputStorePaymentStarsGiveaway;
|
|
29962
30342
|
export type TypePremiumGiftOption = PremiumGiftOption;
|
|
29963
30343
|
export type TypePaymentFormMethod = PaymentFormMethod;
|
|
@@ -30056,7 +30436,7 @@ export namespace Api {
|
|
|
30056
30436
|
export type TypeMessageReactor = MessageReactor;
|
|
30057
30437
|
export type TypeStarsGiveawayOption = StarsGiveawayOption;
|
|
30058
30438
|
export type TypeStarsGiveawayWinnersOption = StarsGiveawayWinnersOption;
|
|
30059
|
-
export type TypeStarGift = StarGift;
|
|
30439
|
+
export type TypeStarGift = StarGift | StarGiftUnique;
|
|
30060
30440
|
export type TypeUserStarGift = UserStarGift;
|
|
30061
30441
|
export type TypeMessageReportOption = MessageReportOption;
|
|
30062
30442
|
export type TypeReportResult = ReportResultChooseOption | ReportResultAddComment | ReportResultReported;
|
|
@@ -30064,6 +30444,9 @@ export namespace Api {
|
|
|
30064
30444
|
export type TypeStarRefProgram = StarRefProgram;
|
|
30065
30445
|
export type TypeConnectedBotStarRef = ConnectedBotStarRef;
|
|
30066
30446
|
export type TypeStarsAmount = StarsAmount;
|
|
30447
|
+
export type TypeBotVerifierSettings = BotVerifierSettings;
|
|
30448
|
+
export type TypeBotVerification = BotVerification;
|
|
30449
|
+
export type TypeStarGiftAttribute = StarGiftAttributeModel | StarGiftAttributePattern | StarGiftAttributeBackdrop | StarGiftAttributeOriginalDetails;
|
|
30067
30450
|
export type TypeResPQ = ResPQ;
|
|
30068
30451
|
export type TypeP_Q_inner_data = PQInnerData | PQInnerDataDc | PQInnerDataTemp | PQInnerDataTempDc;
|
|
30069
30452
|
export type TypeBindAuthKeyInner = BindAuthKeyInner;
|
|
@@ -30097,16 +30480,16 @@ export namespace Api {
|
|
|
30097
30480
|
| account.RegisterDevice | account.UnregisterDevice | account.UpdateNotifySettings | account.GetNotifySettings | account.ResetNotifySettings | account.UpdateProfile | account.UpdateStatus | account.GetWallPapers | account.ReportPeer | account.CheckUsername | account.UpdateUsername | account.GetPrivacy | account.SetPrivacy | account.DeleteAccount | account.GetAccountTTL | account.SetAccountTTL | account.SendChangePhoneCode | account.ChangePhone | account.UpdateDeviceLocked | account.GetAuthorizations | account.ResetAuthorization | account.GetPassword | account.GetPasswordSettings | account.UpdatePasswordSettings | account.SendConfirmPhoneCode | account.ConfirmPhone | account.GetTmpPassword | account.GetWebAuthorizations | account.ResetWebAuthorization | account.ResetWebAuthorizations | account.GetAllSecureValues | account.GetSecureValue | account.SaveSecureValue | account.DeleteSecureValue | account.GetAuthorizationForm | account.AcceptAuthorization | account.SendVerifyPhoneCode | account.VerifyPhone | account.SendVerifyEmailCode | account.VerifyEmail | account.InitTakeoutSession | account.FinishTakeoutSession | account.ConfirmPasswordEmail | account.ResendPasswordEmail | account.CancelPasswordEmail | account.GetContactSignUpNotification | account.SetContactSignUpNotification | account.GetNotifyExceptions | account.GetWallPaper | account.UploadWallPaper | account.SaveWallPaper | account.InstallWallPaper | account.ResetWallPapers | account.GetAutoDownloadSettings | account.SaveAutoDownloadSettings | account.UploadTheme | account.CreateTheme | account.UpdateTheme | account.SaveTheme | account.InstallTheme | account.GetTheme | account.GetThemes | account.SetContentSettings | account.GetContentSettings | account.GetMultiWallPapers | account.GetGlobalPrivacySettings | account.SetGlobalPrivacySettings | account.ReportProfilePhoto | account.ResetPassword | account.DeclinePasswordReset | account.GetChatThemes | account.SetAuthorizationTTL | account.ChangeAuthorizationSettings | account.GetSavedRingtones | account.SaveRingtone | account.UploadRingtone | account.UpdateEmojiStatus | account.GetDefaultEmojiStatuses | account.GetRecentEmojiStatuses | account.ClearRecentEmojiStatuses | account.ReorderUsernames | account.ToggleUsername | account.GetDefaultProfilePhotoEmojis | account.GetDefaultGroupPhotoEmojis | account.GetAutoSaveSettings | account.SaveAutoSaveSettings | account.DeleteAutoSaveExceptions | account.InvalidateSignInCodes | account.UpdateColor | account.GetDefaultBackgroundEmojis | account.GetChannelDefaultEmojiStatuses | account.GetChannelRestrictedStatusEmojis | account.UpdateBusinessWorkHours | account.UpdateBusinessLocation | account.UpdateBusinessGreetingMessage | account.UpdateBusinessAwayMessage | account.UpdateConnectedBot | account.GetConnectedBots | account.GetBotBusinessConnection | account.UpdateBusinessIntro | account.ToggleConnectedBotPaused | account.DisablePeerConnectedBot | account.UpdateBirthday | account.CreateBusinessChatLink | account.EditBusinessChatLink | account.DeleteBusinessChatLink | account.GetBusinessChatLinks | account.ResolveBusinessChatLink | account.UpdatePersonalChannel | account.ToggleSponsoredMessages | account.GetReactionsNotifySettings | account.SetReactionsNotifySettings
|
|
30098
30481
|
| users.GetUsers | users.GetFullUser | users.SetSecureValueErrors | users.GetIsPremiumRequiredToContact
|
|
30099
30482
|
| contacts.GetContactIDs | contacts.GetStatuses | contacts.GetContacts | contacts.ImportContacts | contacts.DeleteContacts | contacts.DeleteByPhones | contacts.Block | contacts.Unblock | contacts.GetBlocked | contacts.Search | contacts.ResolveUsername | contacts.GetTopPeers | contacts.ResetTopPeerRating | contacts.ResetSaved | contacts.GetSaved | contacts.ToggleTopPeers | contacts.AddContact | contacts.AcceptContact | contacts.GetLocated | contacts.BlockFromReplies | contacts.ResolvePhone | contacts.ExportContactToken | contacts.ImportContactToken | contacts.EditCloseFriends | contacts.SetBlocked | contacts.GetBirthdays
|
|
30100
|
-
| messages.GetMessages | messages.GetDialogs | messages.GetHistory | messages.Search | messages.ReadHistory | messages.DeleteHistory | messages.DeleteMessages | messages.ReceivedMessages | messages.SetTyping | messages.SendMessage | messages.SendMedia | messages.ForwardMessages | messages.ReportSpam | messages.GetPeerSettings | messages.Report | messages.GetChats | messages.GetFullChat | messages.EditChatTitle | messages.EditChatPhoto | messages.AddChatUser | messages.DeleteChatUser | messages.CreateChat | messages.GetDhConfig | messages.RequestEncryption | messages.AcceptEncryption | messages.DiscardEncryption | messages.SetEncryptedTyping | messages.ReadEncryptedHistory | messages.SendEncrypted | messages.SendEncryptedFile | messages.SendEncryptedService | messages.ReceivedQueue | messages.ReportEncryptedSpam | messages.ReadMessageContents | messages.GetStickers | messages.GetAllStickers | messages.GetWebPagePreview | messages.ExportChatInvite | messages.CheckChatInvite | messages.ImportChatInvite | messages.GetStickerSet | messages.InstallStickerSet | messages.UninstallStickerSet | messages.StartBot | messages.GetMessagesViews | messages.EditChatAdmin | messages.MigrateChat | messages.SearchGlobal | messages.ReorderStickerSets | messages.GetDocumentByHash | messages.GetSavedGifs | messages.SaveGif | messages.GetInlineBotResults | messages.SetInlineBotResults | messages.SendInlineBotResult | messages.GetMessageEditData | messages.EditMessage | messages.EditInlineBotMessage | messages.GetBotCallbackAnswer | messages.SetBotCallbackAnswer | messages.GetPeerDialogs | messages.SaveDraft | messages.GetAllDrafts | messages.GetFeaturedStickers | messages.ReadFeaturedStickers | messages.GetRecentStickers | messages.SaveRecentSticker | messages.ClearRecentStickers | messages.GetArchivedStickers | messages.GetMaskStickers | messages.GetAttachedStickers | messages.SetGameScore | messages.SetInlineGameScore | messages.GetGameHighScores | messages.GetInlineGameHighScores | messages.GetCommonChats | messages.GetWebPage | messages.ToggleDialogPin | messages.ReorderPinnedDialogs | messages.GetPinnedDialogs | messages.SetBotShippingResults | messages.SetBotPrecheckoutResults | messages.UploadMedia | messages.SendScreenshotNotification | messages.GetFavedStickers | messages.FaveSticker | messages.GetUnreadMentions | messages.ReadMentions | messages.GetRecentLocations | messages.SendMultiMedia | messages.UploadEncryptedFile | messages.SearchStickerSets | messages.GetSplitRanges | messages.MarkDialogUnread | messages.GetDialogUnreadMarks | messages.ClearAllDrafts | messages.UpdatePinnedMessage | messages.SendVote | messages.GetPollResults | messages.GetOnlines | messages.EditChatAbout | messages.EditChatDefaultBannedRights | messages.GetEmojiKeywords | messages.GetEmojiKeywordsDifference | messages.GetEmojiKeywordsLanguages | messages.GetEmojiURL | messages.GetSearchCounters | messages.RequestUrlAuth | messages.AcceptUrlAuth | messages.HidePeerSettingsBar | messages.GetScheduledHistory | messages.GetScheduledMessages | messages.SendScheduledMessages | messages.DeleteScheduledMessages | messages.GetPollVotes | messages.ToggleStickerSets | messages.GetDialogFilters | messages.GetSuggestedDialogFilters | messages.UpdateDialogFilter | messages.UpdateDialogFiltersOrder | messages.GetOldFeaturedStickers | messages.GetReplies | messages.GetDiscussionMessage | messages.ReadDiscussion | messages.UnpinAllMessages | messages.DeleteChat | messages.DeletePhoneCallHistory | messages.CheckHistoryImport | messages.InitHistoryImport | messages.UploadImportedMedia | messages.StartHistoryImport | messages.GetExportedChatInvites | messages.GetExportedChatInvite | messages.EditExportedChatInvite | messages.DeleteRevokedExportedChatInvites | messages.DeleteExportedChatInvite | messages.GetAdminsWithInvites | messages.GetChatInviteImporters | messages.SetHistoryTTL | messages.CheckHistoryImportPeer | messages.SetChatTheme | messages.GetMessageReadParticipants | messages.GetSearchResultsCalendar | messages.GetSearchResultsPositions | messages.HideChatJoinRequest | messages.HideAllChatJoinRequests | messages.ToggleNoForwards | messages.SaveDefaultSendAs | messages.SendReaction | messages.GetMessagesReactions | messages.GetMessageReactionsList | messages.SetChatAvailableReactions | messages.GetAvailableReactions | messages.SetDefaultReaction | messages.TranslateText | messages.GetUnreadReactions | messages.ReadReactions | messages.SearchSentMedia | messages.GetAttachMenuBots | messages.GetAttachMenuBot | messages.ToggleBotInAttachMenu | messages.RequestWebView | messages.ProlongWebView | messages.RequestSimpleWebView | messages.SendWebViewResultMessage | messages.SendWebViewData | messages.TranscribeAudio | messages.RateTranscribedAudio | messages.GetCustomEmojiDocuments | messages.GetEmojiStickers | messages.GetFeaturedEmojiStickers | messages.ReportReaction | messages.GetTopReactions | messages.GetRecentReactions | messages.ClearRecentReactions | messages.GetExtendedMedia | messages.SetDefaultHistoryTTL | messages.GetDefaultHistoryTTL | messages.SendBotRequestedPeer | messages.GetEmojiGroups | messages.GetEmojiStatusGroups | messages.GetEmojiProfilePhotoGroups | messages.SearchCustomEmoji | messages.TogglePeerTranslations | messages.GetBotApp | messages.RequestAppWebView | messages.SetChatWallPaper | messages.SearchEmojiStickerSets | messages.GetSavedDialogs | messages.GetSavedHistory | messages.DeleteSavedHistory | messages.GetPinnedSavedDialogs | messages.ToggleSavedDialogPin | messages.ReorderPinnedSavedDialogs | messages.GetSavedReactionTags | messages.UpdateSavedReactionTag | messages.GetDefaultTagReactions | messages.GetOutboxReadDate | messages.GetQuickReplies | messages.ReorderQuickReplies | messages.CheckQuickReplyShortcut | messages.EditQuickReplyShortcut | messages.DeleteQuickReplyShortcut | messages.GetQuickReplyMessages | messages.SendQuickReplyMessages | messages.DeleteQuickReplyMessages | messages.ToggleDialogFilterTags | messages.GetMyStickers | messages.GetEmojiStickerGroups | messages.GetAvailableEffects | messages.EditFactCheck | messages.DeleteFactCheck | messages.GetFactCheck | messages.RequestMainWebView | messages.SendPaidReaction | messages.TogglePaidReactionPrivacy | messages.GetPaidReactionPrivacy | messages.ViewSponsoredMessage | messages.ClickSponsoredMessage | messages.ReportSponsoredMessage | messages.GetSponsoredMessages | messages.SavePreparedInlineMessage | messages.GetPreparedInlineMessage | messages.SearchStickers
|
|
30483
|
+
| messages.GetMessages | messages.GetDialogs | messages.GetHistory | messages.Search | messages.ReadHistory | messages.DeleteHistory | messages.DeleteMessages | messages.ReceivedMessages | messages.SetTyping | messages.SendMessage | messages.SendMedia | messages.ForwardMessages | messages.ReportSpam | messages.GetPeerSettings | messages.Report | messages.GetChats | messages.GetFullChat | messages.EditChatTitle | messages.EditChatPhoto | messages.AddChatUser | messages.DeleteChatUser | messages.CreateChat | messages.GetDhConfig | messages.RequestEncryption | messages.AcceptEncryption | messages.DiscardEncryption | messages.SetEncryptedTyping | messages.ReadEncryptedHistory | messages.SendEncrypted | messages.SendEncryptedFile | messages.SendEncryptedService | messages.ReceivedQueue | messages.ReportEncryptedSpam | messages.ReadMessageContents | messages.GetStickers | messages.GetAllStickers | messages.GetWebPagePreview | messages.ExportChatInvite | messages.CheckChatInvite | messages.ImportChatInvite | messages.GetStickerSet | messages.InstallStickerSet | messages.UninstallStickerSet | messages.StartBot | messages.GetMessagesViews | messages.EditChatAdmin | messages.MigrateChat | messages.SearchGlobal | messages.ReorderStickerSets | messages.GetDocumentByHash | messages.GetSavedGifs | messages.SaveGif | messages.GetInlineBotResults | messages.SetInlineBotResults | messages.SendInlineBotResult | messages.GetMessageEditData | messages.EditMessage | messages.EditInlineBotMessage | messages.GetBotCallbackAnswer | messages.SetBotCallbackAnswer | messages.GetPeerDialogs | messages.SaveDraft | messages.GetAllDrafts | messages.GetFeaturedStickers | messages.ReadFeaturedStickers | messages.GetRecentStickers | messages.SaveRecentSticker | messages.ClearRecentStickers | messages.GetArchivedStickers | messages.GetMaskStickers | messages.GetAttachedStickers | messages.SetGameScore | messages.SetInlineGameScore | messages.GetGameHighScores | messages.GetInlineGameHighScores | messages.GetCommonChats | messages.GetWebPage | messages.ToggleDialogPin | messages.ReorderPinnedDialogs | messages.GetPinnedDialogs | messages.SetBotShippingResults | messages.SetBotPrecheckoutResults | messages.UploadMedia | messages.SendScreenshotNotification | messages.GetFavedStickers | messages.FaveSticker | messages.GetUnreadMentions | messages.ReadMentions | messages.GetRecentLocations | messages.SendMultiMedia | messages.UploadEncryptedFile | messages.SearchStickerSets | messages.GetSplitRanges | messages.MarkDialogUnread | messages.GetDialogUnreadMarks | messages.ClearAllDrafts | messages.UpdatePinnedMessage | messages.SendVote | messages.GetPollResults | messages.GetOnlines | messages.EditChatAbout | messages.EditChatDefaultBannedRights | messages.GetEmojiKeywords | messages.GetEmojiKeywordsDifference | messages.GetEmojiKeywordsLanguages | messages.GetEmojiURL | messages.GetSearchCounters | messages.RequestUrlAuth | messages.AcceptUrlAuth | messages.HidePeerSettingsBar | messages.GetScheduledHistory | messages.GetScheduledMessages | messages.SendScheduledMessages | messages.DeleteScheduledMessages | messages.GetPollVotes | messages.ToggleStickerSets | messages.GetDialogFilters | messages.GetSuggestedDialogFilters | messages.UpdateDialogFilter | messages.UpdateDialogFiltersOrder | messages.GetOldFeaturedStickers | messages.GetReplies | messages.GetDiscussionMessage | messages.ReadDiscussion | messages.UnpinAllMessages | messages.DeleteChat | messages.DeletePhoneCallHistory | messages.CheckHistoryImport | messages.InitHistoryImport | messages.UploadImportedMedia | messages.StartHistoryImport | messages.GetExportedChatInvites | messages.GetExportedChatInvite | messages.EditExportedChatInvite | messages.DeleteRevokedExportedChatInvites | messages.DeleteExportedChatInvite | messages.GetAdminsWithInvites | messages.GetChatInviteImporters | messages.SetHistoryTTL | messages.CheckHistoryImportPeer | messages.SetChatTheme | messages.GetMessageReadParticipants | messages.GetSearchResultsCalendar | messages.GetSearchResultsPositions | messages.HideChatJoinRequest | messages.HideAllChatJoinRequests | messages.ToggleNoForwards | messages.SaveDefaultSendAs | messages.SendReaction | messages.GetMessagesReactions | messages.GetMessageReactionsList | messages.SetChatAvailableReactions | messages.GetAvailableReactions | messages.SetDefaultReaction | messages.TranslateText | messages.GetUnreadReactions | messages.ReadReactions | messages.SearchSentMedia | messages.GetAttachMenuBots | messages.GetAttachMenuBot | messages.ToggleBotInAttachMenu | messages.RequestWebView | messages.ProlongWebView | messages.RequestSimpleWebView | messages.SendWebViewResultMessage | messages.SendWebViewData | messages.TranscribeAudio | messages.RateTranscribedAudio | messages.GetCustomEmojiDocuments | messages.GetEmojiStickers | messages.GetFeaturedEmojiStickers | messages.ReportReaction | messages.GetTopReactions | messages.GetRecentReactions | messages.ClearRecentReactions | messages.GetExtendedMedia | messages.SetDefaultHistoryTTL | messages.GetDefaultHistoryTTL | messages.SendBotRequestedPeer | messages.GetEmojiGroups | messages.GetEmojiStatusGroups | messages.GetEmojiProfilePhotoGroups | messages.SearchCustomEmoji | messages.TogglePeerTranslations | messages.GetBotApp | messages.RequestAppWebView | messages.SetChatWallPaper | messages.SearchEmojiStickerSets | messages.GetSavedDialogs | messages.GetSavedHistory | messages.DeleteSavedHistory | messages.GetPinnedSavedDialogs | messages.ToggleSavedDialogPin | messages.ReorderPinnedSavedDialogs | messages.GetSavedReactionTags | messages.UpdateSavedReactionTag | messages.GetDefaultTagReactions | messages.GetOutboxReadDate | messages.GetQuickReplies | messages.ReorderQuickReplies | messages.CheckQuickReplyShortcut | messages.EditQuickReplyShortcut | messages.DeleteQuickReplyShortcut | messages.GetQuickReplyMessages | messages.SendQuickReplyMessages | messages.DeleteQuickReplyMessages | messages.ToggleDialogFilterTags | messages.GetMyStickers | messages.GetEmojiStickerGroups | messages.GetAvailableEffects | messages.EditFactCheck | messages.DeleteFactCheck | messages.GetFactCheck | messages.RequestMainWebView | messages.SendPaidReaction | messages.TogglePaidReactionPrivacy | messages.GetPaidReactionPrivacy | messages.ViewSponsoredMessage | messages.ClickSponsoredMessage | messages.ReportSponsoredMessage | messages.GetSponsoredMessages | messages.SavePreparedInlineMessage | messages.GetPreparedInlineMessage | messages.SearchStickers | messages.ReportMessagesDelivery
|
|
30101
30484
|
| updates.GetState | updates.GetDifference | updates.GetChannelDifference
|
|
30102
30485
|
| photos.UpdateProfilePhoto | photos.UploadProfilePhoto | photos.DeletePhotos | photos.GetUserPhotos | photos.UploadContactProfilePhoto
|
|
30103
30486
|
| upload.SaveFilePart | upload.GetFile | upload.SaveBigFilePart | upload.GetWebFile | upload.GetCdnFile | upload.ReuploadCdnFile | upload.GetCdnFileHashes | upload.GetFileHashes
|
|
30104
30487
|
| help.GetConfig | help.GetNearestDc | help.GetAppUpdate | help.GetInviteText | help.GetSupport | help.SetBotUpdatesStatus | help.GetCdnConfig | help.GetRecentMeUrls | help.GetTermsOfServiceUpdate | help.AcceptTermsOfService | help.GetDeepLinkInfo | help.GetAppConfig | help.SaveAppLog | help.GetPassportConfig | help.GetSupportName | help.GetUserInfo | help.EditUserInfo | help.GetPromoData | help.HidePromoData | help.DismissSuggestion | help.GetCountriesList | help.GetPremiumPromo | help.GetPeerColors | help.GetPeerProfileColors | help.GetTimezonesList
|
|
30105
30488
|
| channels.ReadHistory | channels.DeleteMessages | channels.ReportSpam | channels.GetMessages | channels.GetParticipants | channels.GetParticipant | channels.GetChannels | channels.GetFullChannel | channels.CreateChannel | channels.EditAdmin | channels.EditTitle | channels.EditPhoto | channels.CheckUsername | channels.UpdateUsername | channels.JoinChannel | channels.LeaveChannel | channels.InviteToChannel | channels.DeleteChannel | channels.ExportMessageLink | channels.ToggleSignatures | channels.GetAdminedPublicChannels | channels.EditBanned | channels.GetAdminLog | channels.SetStickers | channels.ReadMessageContents | channels.DeleteHistory | channels.TogglePreHistoryHidden | channels.GetLeftChannels | channels.GetGroupsForDiscussion | channels.SetDiscussionGroup | channels.EditCreator | channels.EditLocation | channels.ToggleSlowMode | channels.GetInactiveChannels | channels.ConvertToGigagroup | channels.GetSendAs | channels.DeleteParticipantHistory | channels.ToggleJoinToSend | channels.ToggleJoinRequest | channels.ReorderUsernames | channels.ToggleUsername | channels.DeactivateAllUsernames | channels.ToggleForum | channels.CreateForumTopic | channels.GetForumTopics | channels.GetForumTopicsByID | channels.EditForumTopic | channels.UpdatePinnedForumTopic | channels.DeleteTopicHistory | channels.ReorderPinnedForumTopics | channels.ToggleAntiSpam | channels.ReportAntiSpamFalsePositive | channels.ToggleParticipantsHidden | channels.UpdateColor | channels.ToggleViewForumAsMessages | channels.GetChannelRecommendations | channels.UpdateEmojiStatus | channels.SetBoostsToUnblockRestrictions | channels.SetEmojiStickers | channels.RestrictSponsoredMessages | channels.SearchPosts
|
|
30106
|
-
| bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands | bots.ResetBotCommands | bots.GetBotCommands | bots.SetBotMenuButton | bots.GetBotMenuButton | bots.SetBotBroadcastDefaultAdminRights | bots.SetBotGroupDefaultAdminRights | bots.SetBotInfo | bots.GetBotInfo | bots.ReorderUsernames | bots.ToggleUsername | bots.CanSendMessage | bots.AllowSendMessage | bots.InvokeWebViewCustomMethod | bots.GetPopularAppBots | bots.AddPreviewMedia | bots.EditPreviewMedia | bots.DeletePreviewMedia | bots.ReorderPreviewMedias | bots.GetPreviewInfo | bots.GetPreviewMedias | bots.UpdateUserEmojiStatus | bots.ToggleUserEmojiStatusPermission | bots.CheckDownloadFileParams | bots.GetAdminedBots | bots.UpdateStarRefProgram
|
|
30107
|
-
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot
|
|
30489
|
+
| bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands | bots.ResetBotCommands | bots.GetBotCommands | bots.SetBotMenuButton | bots.GetBotMenuButton | bots.SetBotBroadcastDefaultAdminRights | bots.SetBotGroupDefaultAdminRights | bots.SetBotInfo | bots.GetBotInfo | bots.ReorderUsernames | bots.ToggleUsername | bots.CanSendMessage | bots.AllowSendMessage | bots.InvokeWebViewCustomMethod | bots.GetPopularAppBots | bots.AddPreviewMedia | bots.EditPreviewMedia | bots.DeletePreviewMedia | bots.ReorderPreviewMedias | bots.GetPreviewInfo | bots.GetPreviewMedias | bots.UpdateUserEmojiStatus | bots.ToggleUserEmojiStatusPermission | bots.CheckDownloadFileParams | bots.GetAdminedBots | bots.UpdateStarRefProgram | bots.SetCustomVerification | bots.GetBotRecommendations
|
|
30490
|
+
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUserStarGift
|
|
30108
30491
|
| stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
|
|
30109
|
-
| phone.GetCallConfig | phone.RequestCall | phone.AcceptCall | phone.ConfirmCall | phone.ReceivedCall | phone.DiscardCall | phone.SetCallRating | phone.SaveCallDebug | phone.SendSignalingData | phone.CreateGroupCall | phone.JoinGroupCall | phone.LeaveGroupCall | phone.InviteToGroupCall | phone.DiscardGroupCall | phone.ToggleGroupCallSettings | phone.GetGroupCall | phone.GetGroupParticipants | phone.CheckGroupCall | phone.ToggleGroupCallRecord | phone.EditGroupCallParticipant | phone.EditGroupCallTitle | phone.GetGroupCallJoinAs | phone.ExportGroupCallInvite | phone.ToggleGroupCallStartSubscription | phone.StartScheduledGroupCall | phone.SaveDefaultGroupCallJoinAs | phone.JoinGroupCallPresentation | phone.LeaveGroupCallPresentation | phone.GetGroupCallStreamChannels | phone.GetGroupCallStreamRtmpUrl | phone.SaveCallLog
|
|
30492
|
+
| phone.GetCallConfig | phone.RequestCall | phone.AcceptCall | phone.ConfirmCall | phone.ReceivedCall | phone.DiscardCall | phone.SetCallRating | phone.SaveCallDebug | phone.SendSignalingData | phone.CreateGroupCall | phone.JoinGroupCall | phone.LeaveGroupCall | phone.InviteToGroupCall | phone.DiscardGroupCall | phone.ToggleGroupCallSettings | phone.GetGroupCall | phone.GetGroupParticipants | phone.CheckGroupCall | phone.ToggleGroupCallRecord | phone.EditGroupCallParticipant | phone.EditGroupCallTitle | phone.GetGroupCallJoinAs | phone.ExportGroupCallInvite | phone.ToggleGroupCallStartSubscription | phone.StartScheduledGroupCall | phone.SaveDefaultGroupCallJoinAs | phone.JoinGroupCallPresentation | phone.LeaveGroupCallPresentation | phone.GetGroupCallStreamChannels | phone.GetGroupCallStreamRtmpUrl | phone.SaveCallLog | phone.CreateConferenceCall
|
|
30110
30493
|
| langpack.GetLangPack | langpack.GetStrings | langpack.GetDifference | langpack.GetLanguages | langpack.GetLanguage
|
|
30111
30494
|
| folders.EditPeerFolders
|
|
30112
30495
|
| stats.GetBroadcastStats | stats.LoadAsyncGraph | stats.GetMegagroupStats | stats.GetMessagePublicForwards | stats.GetMessageStats | stats.GetStoryStats | stats.GetStoryPublicForwards | stats.GetBroadcastRevenueStats | stats.GetBroadcastRevenueWithdrawalUrl | stats.GetBroadcastRevenueTransactions
|