teleproto 211.1.5 → 214.1.7
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/Version.d.ts +1 -1
- package/Version.js +1 -1
- package/client/messages.d.ts +5 -1
- package/client/messages.js +9 -4
- package/package.json +2 -1
- package/tl/AllTLObjects.d.ts +1 -1
- package/tl/AllTLObjects.js +1 -1
- package/tl/api.d.ts +431 -25
- package/tl/apiTl.js +47 -15
package/Version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "
|
|
1
|
+
export declare const version = "214.1.7";
|
package/Version.js
CHANGED
package/client/messages.d.ts
CHANGED
|
@@ -169,6 +169,8 @@ export interface ForwardMessagesParams {
|
|
|
169
169
|
schedule?: DateLike;
|
|
170
170
|
dropAuthor?: boolean;
|
|
171
171
|
noforwards?: boolean;
|
|
172
|
+
/** Used for threads to reply to a specific thread */
|
|
173
|
+
topMsgId?: number | Api.Message;
|
|
172
174
|
}
|
|
173
175
|
/** Interface for editing messages */
|
|
174
176
|
export interface EditMessageParams {
|
|
@@ -236,7 +238,9 @@ entity: EntityLike,
|
|
|
236
238
|
* Longer messages will not be sliced automatically, and you should slice them manually if the text to send is longer than said length. */
|
|
237
239
|
{ message, replyTo, attributes, parseMode, formattingEntities, linkPreview, file, thumb, forceDocument, clearDraft, buttons, silent, supportStreaming, schedule, noforwards, commentTo, topMsgId, }?: SendMessageParams): Promise<Api.Message>;
|
|
238
240
|
/** @hidden */
|
|
239
|
-
export declare function forwardMessages(client: TelegramClient, entity: EntityLike, { messages, fromPeer, silent, schedule, noforwards, dropAuthor, }: ForwardMessagesParams
|
|
241
|
+
export declare function forwardMessages(client: TelegramClient, entity: EntityLike, { messages, fromPeer, silent, schedule, noforwards, dropAuthor, topMsgId, }: ForwardMessagesParams & {
|
|
242
|
+
topMsgId?: number | Api.Message;
|
|
243
|
+
}): Promise<Api.Message[]>;
|
|
240
244
|
/** @hidden */
|
|
241
245
|
export declare function editMessage(client: TelegramClient, entity: EntityLike, { message, text, parseMode, formattingEntities, linkPreview, file, forceDocument, buttons, schedule, }: EditMessageParams): Promise<Api.Message>;
|
|
242
246
|
/** @hidden */
|
package/client/messages.js
CHANGED
|
@@ -490,6 +490,11 @@ entity,
|
|
|
490
490
|
topMsgId: (0, Utils_1.getMessageId)(topMsgId),
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
|
+
else if (topMsgId != undefined) {
|
|
494
|
+
replyObject = new tl_1.Api.InputReplyToMessage({
|
|
495
|
+
replyToMsgId: (0, Utils_1.getMessageId)(topMsgId),
|
|
496
|
+
});
|
|
497
|
+
}
|
|
493
498
|
if (message && message instanceof tl_1.Api.Message) {
|
|
494
499
|
if (buttons == undefined) {
|
|
495
500
|
markup = message.replyMarkup;
|
|
@@ -565,7 +570,8 @@ entity,
|
|
|
565
570
|
return client._getResponseMessage(request, result, entity);
|
|
566
571
|
}
|
|
567
572
|
/** @hidden */
|
|
568
|
-
async function forwardMessages(client, entity, { messages, fromPeer, silent, schedule, noforwards, dropAuthor, }
|
|
573
|
+
async function forwardMessages(client, entity, { messages, fromPeer, silent, schedule, noforwards, dropAuthor, topMsgId, } // или свой тип ID
|
|
574
|
+
) {
|
|
569
575
|
if (!(0, Helpers_1.isArrayLike)(messages)) {
|
|
570
576
|
messages = [messages];
|
|
571
577
|
}
|
|
@@ -581,9 +587,8 @@ async function forwardMessages(client, entity, { messages, fromPeer, silent, sch
|
|
|
581
587
|
}
|
|
582
588
|
let msgId = (0, Utils_1.parseID)(m);
|
|
583
589
|
if (msgId) {
|
|
584
|
-
if (fromPeerId !== undefined)
|
|
590
|
+
if (fromPeerId !== undefined)
|
|
585
591
|
return fromPeerId;
|
|
586
|
-
}
|
|
587
592
|
throw new Error("fromPeer must be given if integer IDs are used");
|
|
588
593
|
}
|
|
589
594
|
else {
|
|
@@ -602,7 +607,6 @@ async function forwardMessages(client, entity, { messages, fromPeer, silent, sch
|
|
|
602
607
|
chat = await chunk[0].getInputChat();
|
|
603
608
|
numbers = chunk.map((m) => m.id);
|
|
604
609
|
}
|
|
605
|
-
chunk.push();
|
|
606
610
|
const request = new tl_1.Api.messages.ForwardMessages({
|
|
607
611
|
fromPeer: chat,
|
|
608
612
|
id: numbers,
|
|
@@ -611,6 +615,7 @@ async function forwardMessages(client, entity, { messages, fromPeer, silent, sch
|
|
|
611
615
|
scheduleDate: schedule,
|
|
612
616
|
noforwards: noforwards,
|
|
613
617
|
dropAuthor: dropAuthor,
|
|
618
|
+
topMsgId: topMsgId ? (0, Utils_1.getMessageId)(topMsgId) : undefined,
|
|
614
619
|
});
|
|
615
620
|
const result = await client.invoke(request);
|
|
616
621
|
sent.push(client._getResponseMessage(request, result, entity));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teleproto",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "214.1.7",
|
|
4
4
|
"description": "NodeJS MTProto API Telegram client library,",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"pako": "^2.0.3",
|
|
45
45
|
"socks": "^2.6.2",
|
|
46
46
|
"store2": "^2.13.0",
|
|
47
|
+
"teleproto": "^214.1.6",
|
|
47
48
|
"ts-custom-error": "^3.2.0",
|
|
48
49
|
"websocket": "^1.0.34"
|
|
49
50
|
}
|
package/tl/AllTLObjects.d.ts
CHANGED
package/tl/AllTLObjects.js
CHANGED
package/tl/api.d.ts
CHANGED
|
@@ -1302,8 +1302,9 @@ export namespace Api {
|
|
|
1302
1302
|
botVerification?: Api.TypeBotVerification;
|
|
1303
1303
|
stargiftsCount?: int;
|
|
1304
1304
|
sendPaidMessagesStars?: long;
|
|
1305
|
+
mainTab?: Api.TypeProfileTab;
|
|
1305
1306
|
}> {
|
|
1306
|
-
CONSTRUCTOR_ID:
|
|
1307
|
+
CONSTRUCTOR_ID: 3839931037;
|
|
1307
1308
|
SUBCLASS_OF_ID: 3566872215;
|
|
1308
1309
|
classType: "constructor";
|
|
1309
1310
|
className: "ChannelFull";
|
|
@@ -1375,6 +1376,7 @@ export namespace Api {
|
|
|
1375
1376
|
botVerification?: Api.TypeBotVerification;
|
|
1376
1377
|
stargiftsCount?: int;
|
|
1377
1378
|
sendPaidMessagesStars?: long;
|
|
1379
|
+
mainTab?: Api.TypeProfileTab;
|
|
1378
1380
|
}
|
|
1379
1381
|
export class ChatParticipant extends VirtualClass<{
|
|
1380
1382
|
userId: long;
|
|
@@ -2144,14 +2146,14 @@ export namespace Api {
|
|
|
2144
2146
|
scheduleDate: int;
|
|
2145
2147
|
}
|
|
2146
2148
|
export class MessageActionSetChatTheme extends VirtualClass<{
|
|
2147
|
-
|
|
2149
|
+
theme: Api.TypeChatTheme;
|
|
2148
2150
|
}> {
|
|
2149
|
-
CONSTRUCTOR_ID:
|
|
2151
|
+
CONSTRUCTOR_ID: 3105602874;
|
|
2150
2152
|
SUBCLASS_OF_ID: 2256589094;
|
|
2151
2153
|
classType: "constructor";
|
|
2152
2154
|
className: "MessageActionSetChatTheme";
|
|
2153
2155
|
static fromReader(reader: Reader): MessageActionSetChatTheme;
|
|
2154
|
-
|
|
2156
|
+
theme: Api.TypeChatTheme;
|
|
2155
2157
|
}
|
|
2156
2158
|
export class MessageActionChatJoinedByRequest extends VirtualClass<void> {
|
|
2157
2159
|
CONSTRUCTOR_ID: 3955008459;
|
|
@@ -2426,6 +2428,8 @@ export namespace Api {
|
|
|
2426
2428
|
upgraded?: boolean;
|
|
2427
2429
|
refunded?: boolean;
|
|
2428
2430
|
canUpgrade?: boolean;
|
|
2431
|
+
prepaidUpgrade?: boolean;
|
|
2432
|
+
upgradeSeparate?: boolean;
|
|
2429
2433
|
gift: Api.TypeStarGift;
|
|
2430
2434
|
message?: Api.TypeTextWithEntities;
|
|
2431
2435
|
convertStars?: long;
|
|
@@ -2434,8 +2438,10 @@ export namespace Api {
|
|
|
2434
2438
|
fromId?: Api.TypePeer;
|
|
2435
2439
|
peer?: Api.TypePeer;
|
|
2436
2440
|
savedId?: long;
|
|
2441
|
+
prepaidUpgradeHash?: string;
|
|
2442
|
+
giftMsgId?: int;
|
|
2437
2443
|
}> {
|
|
2438
|
-
CONSTRUCTOR_ID:
|
|
2444
|
+
CONSTRUCTOR_ID: 4065191930;
|
|
2439
2445
|
SUBCLASS_OF_ID: 2256589094;
|
|
2440
2446
|
classType: "constructor";
|
|
2441
2447
|
className: "MessageActionStarGift";
|
|
@@ -2447,6 +2453,8 @@ export namespace Api {
|
|
|
2447
2453
|
upgraded?: boolean;
|
|
2448
2454
|
refunded?: boolean;
|
|
2449
2455
|
canUpgrade?: boolean;
|
|
2456
|
+
prepaidUpgrade?: boolean;
|
|
2457
|
+
upgradeSeparate?: boolean;
|
|
2450
2458
|
gift: Api.TypeStarGift;
|
|
2451
2459
|
message?: Api.TypeTextWithEntities;
|
|
2452
2460
|
convertStars?: long;
|
|
@@ -2455,6 +2463,8 @@ export namespace Api {
|
|
|
2455
2463
|
fromId?: Api.TypePeer;
|
|
2456
2464
|
peer?: Api.TypePeer;
|
|
2457
2465
|
savedId?: long;
|
|
2466
|
+
prepaidUpgradeHash?: string;
|
|
2467
|
+
giftMsgId?: int;
|
|
2458
2468
|
}
|
|
2459
2469
|
export class MessageActionStarGiftUnique extends VirtualClass<{
|
|
2460
2470
|
// flags: null;
|
|
@@ -2462,6 +2472,7 @@ export namespace Api {
|
|
|
2462
2472
|
transferred?: boolean;
|
|
2463
2473
|
saved?: boolean;
|
|
2464
2474
|
refunded?: boolean;
|
|
2475
|
+
prepaidUpgrade?: boolean;
|
|
2465
2476
|
gift: Api.TypeStarGift;
|
|
2466
2477
|
canExportAt?: int;
|
|
2467
2478
|
transferStars?: long;
|
|
@@ -2482,6 +2493,7 @@ export namespace Api {
|
|
|
2482
2493
|
transferred?: boolean;
|
|
2483
2494
|
saved?: boolean;
|
|
2484
2495
|
refunded?: boolean;
|
|
2496
|
+
prepaidUpgrade?: boolean;
|
|
2485
2497
|
gift: Api.TypeStarGift;
|
|
2486
2498
|
canExportAt?: int;
|
|
2487
2499
|
transferStars?: long;
|
|
@@ -3132,7 +3144,7 @@ export namespace Api {
|
|
|
3132
3144
|
commonChatsCount: int;
|
|
3133
3145
|
folderId?: int;
|
|
3134
3146
|
ttlPeriod?: int;
|
|
3135
|
-
|
|
3147
|
+
theme?: Api.TypeChatTheme;
|
|
3136
3148
|
privateForwardName?: string;
|
|
3137
3149
|
botGroupAdminRights?: Api.TypeChatAdminRights;
|
|
3138
3150
|
botBroadcastAdminRights?: Api.TypeChatAdminRights;
|
|
@@ -3154,8 +3166,10 @@ export namespace Api {
|
|
|
3154
3166
|
starsRating?: Api.TypeStarsRating;
|
|
3155
3167
|
starsMyPendingRating?: Api.TypeStarsRating;
|
|
3156
3168
|
starsMyPendingRatingDate?: int;
|
|
3169
|
+
mainTab?: Api.TypeProfileTab;
|
|
3170
|
+
savedMusic?: Api.TypeDocument;
|
|
3157
3171
|
}> {
|
|
3158
|
-
CONSTRUCTOR_ID:
|
|
3172
|
+
CONSTRUCTOR_ID: 3312956845;
|
|
3159
3173
|
SUBCLASS_OF_ID: 524706233;
|
|
3160
3174
|
classType: "constructor";
|
|
3161
3175
|
className: "UserFull";
|
|
@@ -3191,7 +3205,7 @@ export namespace Api {
|
|
|
3191
3205
|
commonChatsCount: int;
|
|
3192
3206
|
folderId?: int;
|
|
3193
3207
|
ttlPeriod?: int;
|
|
3194
|
-
|
|
3208
|
+
theme?: Api.TypeChatTheme;
|
|
3195
3209
|
privateForwardName?: string;
|
|
3196
3210
|
botGroupAdminRights?: Api.TypeChatAdminRights;
|
|
3197
3211
|
botBroadcastAdminRights?: Api.TypeChatAdminRights;
|
|
@@ -3213,6 +3227,8 @@ export namespace Api {
|
|
|
3213
3227
|
starsRating?: Api.TypeStarsRating;
|
|
3214
3228
|
starsMyPendingRating?: Api.TypeStarsRating;
|
|
3215
3229
|
starsMyPendingRatingDate?: int;
|
|
3230
|
+
mainTab?: Api.TypeProfileTab;
|
|
3231
|
+
savedMusic?: Api.TypeDocument;
|
|
3216
3232
|
}
|
|
3217
3233
|
export class Contact extends VirtualClass<{
|
|
3218
3234
|
userId: long;
|
|
@@ -12979,6 +12995,28 @@ export namespace Api {
|
|
|
12979
12995
|
peer: Api.TypeInputPeer;
|
|
12980
12996
|
userId: Api.TypeInputUser;
|
|
12981
12997
|
}
|
|
12998
|
+
export class ChatTheme extends VirtualClass<{
|
|
12999
|
+
emoticon: string;
|
|
13000
|
+
}> {
|
|
13001
|
+
CONSTRUCTOR_ID: 3286236164;
|
|
13002
|
+
SUBCLASS_OF_ID: 805087221;
|
|
13003
|
+
classType: "constructor";
|
|
13004
|
+
className: "ChatTheme";
|
|
13005
|
+
static fromReader(reader: Reader): ChatTheme;
|
|
13006
|
+
emoticon: string;
|
|
13007
|
+
}
|
|
13008
|
+
export class ChatThemeUniqueGift extends VirtualClass<{
|
|
13009
|
+
gift: Api.TypeStarGift;
|
|
13010
|
+
themeSettings: Api.TypeThemeSettings[];
|
|
13011
|
+
}> {
|
|
13012
|
+
CONSTRUCTOR_ID: 878246344;
|
|
13013
|
+
SUBCLASS_OF_ID: 805087221;
|
|
13014
|
+
classType: "constructor";
|
|
13015
|
+
className: "ChatThemeUniqueGift";
|
|
13016
|
+
static fromReader(reader: Reader): ChatThemeUniqueGift;
|
|
13017
|
+
gift: Api.TypeStarGift;
|
|
13018
|
+
themeSettings: Api.TypeThemeSettings[];
|
|
13019
|
+
}
|
|
12982
13020
|
export class SponsoredMessage extends VirtualClass<{
|
|
12983
13021
|
// flags: null;
|
|
12984
13022
|
recommended?: boolean;
|
|
@@ -13517,6 +13555,18 @@ export namespace Api {
|
|
|
13517
13555
|
slug: string;
|
|
13518
13556
|
toId: Api.TypeInputPeer;
|
|
13519
13557
|
}
|
|
13558
|
+
export class InputInvoiceStarGiftPrepaidUpgrade extends VirtualClass<{
|
|
13559
|
+
peer: Api.TypeInputPeer;
|
|
13560
|
+
hash: string;
|
|
13561
|
+
}> {
|
|
13562
|
+
CONSTRUCTOR_ID: 2584430776;
|
|
13563
|
+
SUBCLASS_OF_ID: 1919851518;
|
|
13564
|
+
classType: "constructor";
|
|
13565
|
+
className: "InputInvoiceStarGiftPrepaidUpgrade";
|
|
13566
|
+
static fromReader(reader: Reader): InputInvoiceStarGiftPrepaidUpgrade;
|
|
13567
|
+
peer: Api.TypeInputPeer;
|
|
13568
|
+
hash: string;
|
|
13569
|
+
}
|
|
13520
13570
|
export class InputStorePaymentPremiumSubscription extends VirtualClass<{
|
|
13521
13571
|
// flags: null;
|
|
13522
13572
|
restore?: boolean;
|
|
@@ -13596,18 +13646,22 @@ export namespace Api {
|
|
|
13596
13646
|
amount: long;
|
|
13597
13647
|
}
|
|
13598
13648
|
export class InputStorePaymentStarsTopup extends VirtualClass<{
|
|
13649
|
+
// flags: null;
|
|
13599
13650
|
stars: long;
|
|
13600
13651
|
currency: string;
|
|
13601
13652
|
amount: long;
|
|
13653
|
+
spendPurposePeer?: Api.TypeInputPeer;
|
|
13602
13654
|
}> {
|
|
13603
|
-
CONSTRUCTOR_ID:
|
|
13655
|
+
CONSTRUCTOR_ID: 4188186315;
|
|
13604
13656
|
SUBCLASS_OF_ID: 3886290765;
|
|
13605
13657
|
classType: "constructor";
|
|
13606
13658
|
className: "InputStorePaymentStarsTopup";
|
|
13607
13659
|
static fromReader(reader: Reader): InputStorePaymentStarsTopup;
|
|
13660
|
+
// flags: null;
|
|
13608
13661
|
stars: long;
|
|
13609
13662
|
currency: string;
|
|
13610
13663
|
amount: long;
|
|
13664
|
+
spendPurposePeer?: Api.TypeInputPeer;
|
|
13611
13665
|
}
|
|
13612
13666
|
export class InputStorePaymentStarsGift extends VirtualClass<{
|
|
13613
13667
|
userId: Api.TypeInputUser;
|
|
@@ -15742,6 +15796,8 @@ export namespace Api {
|
|
|
15742
15796
|
stargiftUpgrade?: boolean;
|
|
15743
15797
|
businessTransfer?: boolean;
|
|
15744
15798
|
stargiftResale?: boolean;
|
|
15799
|
+
postsSearch?: boolean;
|
|
15800
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
15745
15801
|
id: string;
|
|
15746
15802
|
amount: Api.TypeStarsAmount;
|
|
15747
15803
|
date: int;
|
|
@@ -15780,6 +15836,8 @@ export namespace Api {
|
|
|
15780
15836
|
stargiftUpgrade?: boolean;
|
|
15781
15837
|
businessTransfer?: boolean;
|
|
15782
15838
|
stargiftResale?: boolean;
|
|
15839
|
+
postsSearch?: boolean;
|
|
15840
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
15783
15841
|
id: string;
|
|
15784
15842
|
amount: Api.TypeStarsAmount;
|
|
15785
15843
|
date: int;
|
|
@@ -16030,8 +16088,9 @@ export namespace Api {
|
|
|
16030
16088
|
releasedBy?: Api.TypePeer;
|
|
16031
16089
|
perUserTotal?: int;
|
|
16032
16090
|
perUserRemains?: int;
|
|
16091
|
+
lockedUntilDate?: int;
|
|
16033
16092
|
}> {
|
|
16034
|
-
CONSTRUCTOR_ID:
|
|
16093
|
+
CONSTRUCTOR_ID: 2158777283;
|
|
16035
16094
|
SUBCLASS_OF_ID: 3273414923;
|
|
16036
16095
|
classType: "constructor";
|
|
16037
16096
|
className: "StarGift";
|
|
@@ -16057,12 +16116,15 @@ export namespace Api {
|
|
|
16057
16116
|
releasedBy?: Api.TypePeer;
|
|
16058
16117
|
perUserTotal?: int;
|
|
16059
16118
|
perUserRemains?: int;
|
|
16119
|
+
lockedUntilDate?: int;
|
|
16060
16120
|
}
|
|
16061
16121
|
export class StarGiftUnique extends VirtualClass<{
|
|
16062
16122
|
// flags: null;
|
|
16063
16123
|
requirePremium?: boolean;
|
|
16064
16124
|
resaleTonOnly?: boolean;
|
|
16125
|
+
themeAvailable?: boolean;
|
|
16065
16126
|
id: long;
|
|
16127
|
+
giftId: long;
|
|
16066
16128
|
title: string;
|
|
16067
16129
|
slug: string;
|
|
16068
16130
|
num: int;
|
|
@@ -16075,8 +16137,11 @@ export namespace Api {
|
|
|
16075
16137
|
giftAddress?: string;
|
|
16076
16138
|
resellAmount?: Api.TypeStarsAmount[];
|
|
16077
16139
|
releasedBy?: Api.TypePeer;
|
|
16140
|
+
valueAmount?: long;
|
|
16141
|
+
valueCurrency?: string;
|
|
16142
|
+
themePeer?: Api.TypePeer;
|
|
16078
16143
|
}> {
|
|
16079
|
-
CONSTRUCTOR_ID:
|
|
16144
|
+
CONSTRUCTOR_ID: 468707429;
|
|
16080
16145
|
SUBCLASS_OF_ID: 3273414923;
|
|
16081
16146
|
classType: "constructor";
|
|
16082
16147
|
className: "StarGiftUnique";
|
|
@@ -16084,7 +16149,9 @@ export namespace Api {
|
|
|
16084
16149
|
// flags: null;
|
|
16085
16150
|
requirePremium?: boolean;
|
|
16086
16151
|
resaleTonOnly?: boolean;
|
|
16152
|
+
themeAvailable?: boolean;
|
|
16087
16153
|
id: long;
|
|
16154
|
+
giftId: long;
|
|
16088
16155
|
title: string;
|
|
16089
16156
|
slug: string;
|
|
16090
16157
|
num: int;
|
|
@@ -16097,6 +16164,9 @@ export namespace Api {
|
|
|
16097
16164
|
giftAddress?: string;
|
|
16098
16165
|
resellAmount?: Api.TypeStarsAmount[];
|
|
16099
16166
|
releasedBy?: Api.TypePeer;
|
|
16167
|
+
valueAmount?: long;
|
|
16168
|
+
valueCurrency?: string;
|
|
16169
|
+
themePeer?: Api.TypePeer;
|
|
16100
16170
|
}
|
|
16101
16171
|
export class MessageReportOption extends VirtualClass<{
|
|
16102
16172
|
text: string;
|
|
@@ -16338,6 +16408,7 @@ export namespace Api {
|
|
|
16338
16408
|
refunded?: boolean;
|
|
16339
16409
|
canUpgrade?: boolean;
|
|
16340
16410
|
pinnedToTop?: boolean;
|
|
16411
|
+
upgradeSeparate?: boolean;
|
|
16341
16412
|
fromId?: Api.TypePeer;
|
|
16342
16413
|
date: int;
|
|
16343
16414
|
gift: Api.TypeStarGift;
|
|
@@ -16351,8 +16422,9 @@ export namespace Api {
|
|
|
16351
16422
|
canTransferAt?: int;
|
|
16352
16423
|
canResellAt?: int;
|
|
16353
16424
|
collectionId?: int[];
|
|
16425
|
+
prepaidUpgradeHash?: string;
|
|
16354
16426
|
}> {
|
|
16355
|
-
CONSTRUCTOR_ID:
|
|
16427
|
+
CONSTRUCTOR_ID: 430552434;
|
|
16356
16428
|
SUBCLASS_OF_ID: 2385198100;
|
|
16357
16429
|
classType: "constructor";
|
|
16358
16430
|
className: "SavedStarGift";
|
|
@@ -16363,6 +16435,7 @@ export namespace Api {
|
|
|
16363
16435
|
refunded?: boolean;
|
|
16364
16436
|
canUpgrade?: boolean;
|
|
16365
16437
|
pinnedToTop?: boolean;
|
|
16438
|
+
upgradeSeparate?: boolean;
|
|
16366
16439
|
fromId?: Api.TypePeer;
|
|
16367
16440
|
date: int;
|
|
16368
16441
|
gift: Api.TypeStarGift;
|
|
@@ -16376,6 +16449,7 @@ export namespace Api {
|
|
|
16376
16449
|
canTransferAt?: int;
|
|
16377
16450
|
canResellAt?: int;
|
|
16378
16451
|
collectionId?: int[];
|
|
16452
|
+
prepaidUpgradeHash?: string;
|
|
16379
16453
|
}
|
|
16380
16454
|
export class InputSavedStarGiftUser extends VirtualClass<{
|
|
16381
16455
|
msgId: int;
|
|
@@ -16727,6 +16801,89 @@ export namespace Api {
|
|
|
16727
16801
|
waitTill?: int;
|
|
16728
16802
|
starsAmount: long;
|
|
16729
16803
|
}
|
|
16804
|
+
export class ProfileTabPosts extends VirtualClass<void> {
|
|
16805
|
+
CONSTRUCTOR_ID: 3113014934;
|
|
16806
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16807
|
+
classType: "constructor";
|
|
16808
|
+
className: "ProfileTabPosts";
|
|
16809
|
+
static fromReader(reader: Reader): ProfileTabPosts;
|
|
16810
|
+
}
|
|
16811
|
+
export class ProfileTabGifts extends VirtualClass<void> {
|
|
16812
|
+
CONSTRUCTOR_ID: 1296815210;
|
|
16813
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16814
|
+
classType: "constructor";
|
|
16815
|
+
className: "ProfileTabGifts";
|
|
16816
|
+
static fromReader(reader: Reader): ProfileTabGifts;
|
|
16817
|
+
}
|
|
16818
|
+
export class ProfileTabMedia extends VirtualClass<void> {
|
|
16819
|
+
CONSTRUCTOR_ID: 1925597525;
|
|
16820
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16821
|
+
classType: "constructor";
|
|
16822
|
+
className: "ProfileTabMedia";
|
|
16823
|
+
static fromReader(reader: Reader): ProfileTabMedia;
|
|
16824
|
+
}
|
|
16825
|
+
export class ProfileTabFiles extends VirtualClass<void> {
|
|
16826
|
+
CONSTRUCTOR_ID: 2872286208;
|
|
16827
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16828
|
+
classType: "constructor";
|
|
16829
|
+
className: "ProfileTabFiles";
|
|
16830
|
+
static fromReader(reader: Reader): ProfileTabFiles;
|
|
16831
|
+
}
|
|
16832
|
+
export class ProfileTabMusic extends VirtualClass<void> {
|
|
16833
|
+
CONSTRUCTOR_ID: 2670187118;
|
|
16834
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16835
|
+
classType: "constructor";
|
|
16836
|
+
className: "ProfileTabMusic";
|
|
16837
|
+
static fromReader(reader: Reader): ProfileTabMusic;
|
|
16838
|
+
}
|
|
16839
|
+
export class ProfileTabVoice extends VirtualClass<void> {
|
|
16840
|
+
CONSTRUCTOR_ID: 3833006382;
|
|
16841
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16842
|
+
classType: "constructor";
|
|
16843
|
+
className: "ProfileTabVoice";
|
|
16844
|
+
static fromReader(reader: Reader): ProfileTabVoice;
|
|
16845
|
+
}
|
|
16846
|
+
export class ProfileTabLinks extends VirtualClass<void> {
|
|
16847
|
+
CONSTRUCTOR_ID: 3546637465;
|
|
16848
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16849
|
+
classType: "constructor";
|
|
16850
|
+
className: "ProfileTabLinks";
|
|
16851
|
+
static fromReader(reader: Reader): ProfileTabLinks;
|
|
16852
|
+
}
|
|
16853
|
+
export class ProfileTabGifs extends VirtualClass<void> {
|
|
16854
|
+
CONSTRUCTOR_ID: 2730555029;
|
|
16855
|
+
SUBCLASS_OF_ID: 2924007860;
|
|
16856
|
+
classType: "constructor";
|
|
16857
|
+
className: "ProfileTabGifs";
|
|
16858
|
+
static fromReader(reader: Reader): ProfileTabGifs;
|
|
16859
|
+
}
|
|
16860
|
+
export class InputChatThemeEmpty extends VirtualClass<void> {
|
|
16861
|
+
CONSTRUCTOR_ID: 2200339587;
|
|
16862
|
+
SUBCLASS_OF_ID: 1462324836;
|
|
16863
|
+
classType: "constructor";
|
|
16864
|
+
className: "InputChatThemeEmpty";
|
|
16865
|
+
static fromReader(reader: Reader): InputChatThemeEmpty;
|
|
16866
|
+
}
|
|
16867
|
+
export class InputChatTheme extends VirtualClass<{
|
|
16868
|
+
emoticon: string;
|
|
16869
|
+
}> {
|
|
16870
|
+
CONSTRUCTOR_ID: 3376277852;
|
|
16871
|
+
SUBCLASS_OF_ID: 1462324836;
|
|
16872
|
+
classType: "constructor";
|
|
16873
|
+
className: "InputChatTheme";
|
|
16874
|
+
static fromReader(reader: Reader): InputChatTheme;
|
|
16875
|
+
emoticon: string;
|
|
16876
|
+
}
|
|
16877
|
+
export class InputChatThemeUniqueGift extends VirtualClass<{
|
|
16878
|
+
slug: string;
|
|
16879
|
+
}> {
|
|
16880
|
+
CONSTRUCTOR_ID: 2279989220;
|
|
16881
|
+
SUBCLASS_OF_ID: 1462324836;
|
|
16882
|
+
classType: "constructor";
|
|
16883
|
+
className: "InputChatThemeUniqueGift";
|
|
16884
|
+
static fromReader(reader: Reader): InputChatThemeUniqueGift;
|
|
16885
|
+
slug: string;
|
|
16886
|
+
}
|
|
16730
16887
|
export class ResPQ extends VirtualClass<{
|
|
16731
16888
|
nonce: int128;
|
|
16732
16889
|
serverNonce: int128;
|
|
@@ -17705,14 +17862,18 @@ export namespace Api {
|
|
|
17705
17862
|
export class SentCodePaymentRequired extends VirtualClass<{
|
|
17706
17863
|
storeProduct: string;
|
|
17707
17864
|
phoneCodeHash: string;
|
|
17865
|
+
supportEmailAddress: string;
|
|
17866
|
+
supportEmailSubject: string;
|
|
17708
17867
|
}> {
|
|
17709
|
-
CONSTRUCTOR_ID:
|
|
17868
|
+
CONSTRUCTOR_ID: 3617783033;
|
|
17710
17869
|
SUBCLASS_OF_ID: 1827172481;
|
|
17711
17870
|
classType: "constructor";
|
|
17712
17871
|
className: "auth.SentCodePaymentRequired";
|
|
17713
17872
|
static fromReader(reader: Reader): SentCodePaymentRequired;
|
|
17714
17873
|
storeProduct: string;
|
|
17715
17874
|
phoneCodeHash: string;
|
|
17875
|
+
supportEmailAddress: string;
|
|
17876
|
+
supportEmailSubject: string;
|
|
17716
17877
|
}
|
|
17717
17878
|
export class Authorization extends VirtualClass<{
|
|
17718
17879
|
// flags: null;
|
|
@@ -19338,14 +19499,16 @@ export namespace Api {
|
|
|
19338
19499
|
}
|
|
19339
19500
|
export class WebPagePreview extends VirtualClass<{
|
|
19340
19501
|
media: Api.TypeMessageMedia;
|
|
19502
|
+
chats: Api.TypeChat[];
|
|
19341
19503
|
users: Api.TypeUser[];
|
|
19342
19504
|
}> {
|
|
19343
|
-
CONSTRUCTOR_ID:
|
|
19505
|
+
CONSTRUCTOR_ID: 2358937772;
|
|
19344
19506
|
SUBCLASS_OF_ID: 3801354434;
|
|
19345
19507
|
classType: "constructor";
|
|
19346
19508
|
className: "messages.WebPagePreview";
|
|
19347
19509
|
static fromReader(reader: Reader): WebPagePreview;
|
|
19348
19510
|
media: Api.TypeMessageMedia;
|
|
19511
|
+
chats: Api.TypeChat[];
|
|
19349
19512
|
users: Api.TypeUser[];
|
|
19350
19513
|
}
|
|
19351
19514
|
}
|
|
@@ -20286,6 +20449,33 @@ export namespace Api {
|
|
|
20286
20449
|
className: "account.ResetPasswordOk";
|
|
20287
20450
|
static fromReader(reader: Reader): ResetPasswordOk;
|
|
20288
20451
|
}
|
|
20452
|
+
export class ChatThemesNotModified extends VirtualClass<void> {
|
|
20453
|
+
CONSTRUCTOR_ID: 3759268292;
|
|
20454
|
+
SUBCLASS_OF_ID: 364989096;
|
|
20455
|
+
classType: "constructor";
|
|
20456
|
+
className: "account.ChatThemesNotModified";
|
|
20457
|
+
static fromReader(reader: Reader): ChatThemesNotModified;
|
|
20458
|
+
}
|
|
20459
|
+
export class ChatThemes extends VirtualClass<{
|
|
20460
|
+
// flags: null;
|
|
20461
|
+
hash: long;
|
|
20462
|
+
themes: Api.TypeChatTheme[];
|
|
20463
|
+
chats: Api.TypeChat[];
|
|
20464
|
+
users: Api.TypeUser[];
|
|
20465
|
+
nextOffset?: int;
|
|
20466
|
+
}> {
|
|
20467
|
+
CONSTRUCTOR_ID: 373835863;
|
|
20468
|
+
SUBCLASS_OF_ID: 364989096;
|
|
20469
|
+
classType: "constructor";
|
|
20470
|
+
className: "account.ChatThemes";
|
|
20471
|
+
static fromReader(reader: Reader): ChatThemes;
|
|
20472
|
+
// flags: null;
|
|
20473
|
+
hash: long;
|
|
20474
|
+
themes: Api.TypeChatTheme[];
|
|
20475
|
+
chats: Api.TypeChat[];
|
|
20476
|
+
users: Api.TypeUser[];
|
|
20477
|
+
nextOffset?: int;
|
|
20478
|
+
}
|
|
20289
20479
|
export class SavedRingtonesNotModified extends VirtualClass<void> {
|
|
20290
20480
|
CONSTRUCTOR_ID: 4227262641;
|
|
20291
20481
|
SUBCLASS_OF_ID: 666683742;
|
|
@@ -20439,6 +20629,23 @@ export namespace Api {
|
|
|
20439
20629
|
static fromReader(reader: Reader): PaidMessagesRevenue;
|
|
20440
20630
|
starsAmount: long;
|
|
20441
20631
|
}
|
|
20632
|
+
export class SavedMusicIdsNotModified extends VirtualClass<void> {
|
|
20633
|
+
CONSTRUCTOR_ID: 1338514798;
|
|
20634
|
+
SUBCLASS_OF_ID: 1263203986;
|
|
20635
|
+
classType: "constructor";
|
|
20636
|
+
className: "account.SavedMusicIdsNotModified";
|
|
20637
|
+
static fromReader(reader: Reader): SavedMusicIdsNotModified;
|
|
20638
|
+
}
|
|
20639
|
+
export class SavedMusicIds extends VirtualClass<{
|
|
20640
|
+
ids: long[];
|
|
20641
|
+
}> {
|
|
20642
|
+
CONSTRUCTOR_ID: 2576180790;
|
|
20643
|
+
SUBCLASS_OF_ID: 1263203986;
|
|
20644
|
+
classType: "constructor";
|
|
20645
|
+
className: "account.SavedMusicIds";
|
|
20646
|
+
static fromReader(reader: Reader): SavedMusicIds;
|
|
20647
|
+
ids: long[];
|
|
20648
|
+
}
|
|
20442
20649
|
}
|
|
20443
20650
|
|
|
20444
20651
|
export namespace channels {
|
|
@@ -20959,14 +21166,16 @@ export namespace Api {
|
|
|
20959
21166
|
}
|
|
20960
21167
|
export class UniqueStarGift extends VirtualClass<{
|
|
20961
21168
|
gift: Api.TypeStarGift;
|
|
21169
|
+
chats: Api.TypeChat[];
|
|
20962
21170
|
users: Api.TypeUser[];
|
|
20963
21171
|
}> {
|
|
20964
|
-
CONSTRUCTOR_ID:
|
|
21172
|
+
CONSTRUCTOR_ID: 1097619176;
|
|
20965
21173
|
SUBCLASS_OF_ID: 2024850939;
|
|
20966
21174
|
classType: "constructor";
|
|
20967
21175
|
className: "payments.UniqueStarGift";
|
|
20968
21176
|
static fromReader(reader: Reader): UniqueStarGift;
|
|
20969
21177
|
gift: Api.TypeStarGift;
|
|
21178
|
+
chats: Api.TypeChat[];
|
|
20970
21179
|
users: Api.TypeUser[];
|
|
20971
21180
|
}
|
|
20972
21181
|
export class SavedStarGifts extends VirtualClass<{
|
|
@@ -21044,6 +21253,61 @@ export namespace Api {
|
|
|
21044
21253
|
static fromReader(reader: Reader): StarGiftCollections;
|
|
21045
21254
|
collections: Api.TypeStarGiftCollection[];
|
|
21046
21255
|
}
|
|
21256
|
+
export class UniqueStarGiftValueInfo extends VirtualClass<{
|
|
21257
|
+
// flags: null;
|
|
21258
|
+
lastSaleOnFragment?: boolean;
|
|
21259
|
+
valueIsAverage?: boolean;
|
|
21260
|
+
currency: string;
|
|
21261
|
+
value: long;
|
|
21262
|
+
initialSaleDate: int;
|
|
21263
|
+
initialSaleStars: long;
|
|
21264
|
+
initialSalePrice: long;
|
|
21265
|
+
lastSaleDate?: int;
|
|
21266
|
+
lastSalePrice?: long;
|
|
21267
|
+
floorPrice?: long;
|
|
21268
|
+
averagePrice?: long;
|
|
21269
|
+
listedCount?: int;
|
|
21270
|
+
fragmentListedCount?: int;
|
|
21271
|
+
fragmentListedUrl?: string;
|
|
21272
|
+
}> {
|
|
21273
|
+
CONSTRUCTOR_ID: 1362093126;
|
|
21274
|
+
SUBCLASS_OF_ID: 372595652;
|
|
21275
|
+
classType: "constructor";
|
|
21276
|
+
className: "payments.UniqueStarGiftValueInfo";
|
|
21277
|
+
static fromReader(reader: Reader): UniqueStarGiftValueInfo;
|
|
21278
|
+
// flags: null;
|
|
21279
|
+
lastSaleOnFragment?: boolean;
|
|
21280
|
+
valueIsAverage?: boolean;
|
|
21281
|
+
currency: string;
|
|
21282
|
+
value: long;
|
|
21283
|
+
initialSaleDate: int;
|
|
21284
|
+
initialSaleStars: long;
|
|
21285
|
+
initialSalePrice: long;
|
|
21286
|
+
lastSaleDate?: int;
|
|
21287
|
+
lastSalePrice?: long;
|
|
21288
|
+
floorPrice?: long;
|
|
21289
|
+
averagePrice?: long;
|
|
21290
|
+
listedCount?: int;
|
|
21291
|
+
fragmentListedCount?: int;
|
|
21292
|
+
fragmentListedUrl?: string;
|
|
21293
|
+
}
|
|
21294
|
+
export class CheckCanSendGiftResultOk extends VirtualClass<void> {
|
|
21295
|
+
CONSTRUCTOR_ID: 927967149;
|
|
21296
|
+
SUBCLASS_OF_ID: 1664023088;
|
|
21297
|
+
classType: "constructor";
|
|
21298
|
+
className: "payments.CheckCanSendGiftResultOk";
|
|
21299
|
+
static fromReader(reader: Reader): CheckCanSendGiftResultOk;
|
|
21300
|
+
}
|
|
21301
|
+
export class CheckCanSendGiftResultFail extends VirtualClass<{
|
|
21302
|
+
reason: Api.TypeTextWithEntities;
|
|
21303
|
+
}> {
|
|
21304
|
+
CONSTRUCTOR_ID: 3588588148;
|
|
21305
|
+
SUBCLASS_OF_ID: 1664023088;
|
|
21306
|
+
classType: "constructor";
|
|
21307
|
+
className: "payments.CheckCanSendGiftResultFail";
|
|
21308
|
+
static fromReader(reader: Reader): CheckCanSendGiftResultFail;
|
|
21309
|
+
reason: Api.TypeTextWithEntities;
|
|
21310
|
+
}
|
|
21047
21311
|
}
|
|
21048
21312
|
|
|
21049
21313
|
export namespace phone {
|
|
@@ -21336,6 +21600,28 @@ export namespace Api {
|
|
|
21336
21600
|
count: int;
|
|
21337
21601
|
users: Api.TypeUser[];
|
|
21338
21602
|
}
|
|
21603
|
+
export class SavedMusicNotModified extends VirtualClass<{
|
|
21604
|
+
count: int;
|
|
21605
|
+
}> {
|
|
21606
|
+
CONSTRUCTOR_ID: 3817310884;
|
|
21607
|
+
SUBCLASS_OF_ID: 4162039351;
|
|
21608
|
+
classType: "constructor";
|
|
21609
|
+
className: "users.SavedMusicNotModified";
|
|
21610
|
+
static fromReader(reader: Reader): SavedMusicNotModified;
|
|
21611
|
+
count: int;
|
|
21612
|
+
}
|
|
21613
|
+
export class SavedMusic extends VirtualClass<{
|
|
21614
|
+
count: int;
|
|
21615
|
+
documents: Api.TypeDocument[];
|
|
21616
|
+
}> {
|
|
21617
|
+
CONSTRUCTOR_ID: 883094167;
|
|
21618
|
+
SUBCLASS_OF_ID: 4162039351;
|
|
21619
|
+
classType: "constructor";
|
|
21620
|
+
className: "users.SavedMusic";
|
|
21621
|
+
static fromReader(reader: Reader): SavedMusic;
|
|
21622
|
+
count: int;
|
|
21623
|
+
documents: Api.TypeDocument[];
|
|
21624
|
+
}
|
|
21339
21625
|
}
|
|
21340
21626
|
|
|
21341
21627
|
export namespace chatlists {
|
|
@@ -21922,6 +22208,7 @@ export namespace Api {
|
|
|
21922
22208
|
export type TypeThemes = account.ThemesNotModified | account.Themes;
|
|
21923
22209
|
export type TypeContentSettings = account.ContentSettings;
|
|
21924
22210
|
export type TypeResetPasswordResult = account.ResetPasswordFailedWait | account.ResetPasswordRequestedWait | account.ResetPasswordOk;
|
|
22211
|
+
export type TypeChatThemes = account.ChatThemesNotModified | account.ChatThemes;
|
|
21925
22212
|
export type TypeSavedRingtones = account.SavedRingtonesNotModified | account.SavedRingtones;
|
|
21926
22213
|
export type TypeSavedRingtone = account.SavedRingtone | account.SavedRingtoneConverted;
|
|
21927
22214
|
export type TypeEmojiStatuses = account.EmojiStatusesNotModified | account.EmojiStatuses;
|
|
@@ -21931,6 +22218,7 @@ export namespace Api {
|
|
|
21931
22218
|
export type TypeBusinessChatLinks = account.BusinessChatLinks;
|
|
21932
22219
|
export type TypeResolvedBusinessChatLinks = account.ResolvedBusinessChatLinks;
|
|
21933
22220
|
export type TypePaidMessagesRevenue = account.PaidMessagesRevenue;
|
|
22221
|
+
export type TypeSavedMusicIds = account.SavedMusicIdsNotModified | account.SavedMusicIds;
|
|
21934
22222
|
}
|
|
21935
22223
|
|
|
21936
22224
|
export namespace channels {
|
|
@@ -21964,6 +22252,8 @@ export namespace Api {
|
|
|
21964
22252
|
export type TypeStarGiftWithdrawalUrl = payments.StarGiftWithdrawalUrl;
|
|
21965
22253
|
export type TypeResaleStarGifts = payments.ResaleStarGifts;
|
|
21966
22254
|
export type TypeStarGiftCollections = payments.StarGiftCollectionsNotModified | payments.StarGiftCollections;
|
|
22255
|
+
export type TypeUniqueStarGiftValueInfo = payments.UniqueStarGiftValueInfo;
|
|
22256
|
+
export type TypeCheckCanSendGiftResult = payments.CheckCanSendGiftResultOk | payments.CheckCanSendGiftResultFail;
|
|
21967
22257
|
}
|
|
21968
22258
|
|
|
21969
22259
|
export namespace phone {
|
|
@@ -21991,6 +22281,7 @@ export namespace Api {
|
|
|
21991
22281
|
export namespace users {
|
|
21992
22282
|
export type TypeUserFull = users.UserFull;
|
|
21993
22283
|
export type TypeUsers = users.Users | users.UsersSlice;
|
|
22284
|
+
export type TypeSavedMusic = users.SavedMusicNotModified | users.SavedMusic;
|
|
21994
22285
|
}
|
|
21995
22286
|
|
|
21996
22287
|
export namespace chatlists {
|
|
@@ -23651,6 +23942,56 @@ export namespace Api {
|
|
|
23651
23942
|
parentPeer?: Api.TypeEntityLike;
|
|
23652
23943
|
userId: Api.TypeEntityLike;
|
|
23653
23944
|
}
|
|
23945
|
+
export class SetMainProfileTab extends Request<Partial<{
|
|
23946
|
+
tab: Api.TypeProfileTab;
|
|
23947
|
+
}>, Bool> {
|
|
23948
|
+
CONSTRUCTOR_ID: 1575909552;
|
|
23949
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
23950
|
+
classType: "request";
|
|
23951
|
+
className: "account.SetMainProfileTab";
|
|
23952
|
+
static fromReader(reader: Reader): SetMainProfileTab;
|
|
23953
|
+
tab: Api.TypeProfileTab;
|
|
23954
|
+
}
|
|
23955
|
+
export class SaveMusic extends Request<Partial<{
|
|
23956
|
+
// flags: null;
|
|
23957
|
+
unsave?: boolean;
|
|
23958
|
+
id: Api.TypeInputDocument;
|
|
23959
|
+
afterId?: Api.TypeInputDocument;
|
|
23960
|
+
}>, Bool> {
|
|
23961
|
+
CONSTRUCTOR_ID: 2993107625;
|
|
23962
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
23963
|
+
classType: "request";
|
|
23964
|
+
className: "account.SaveMusic";
|
|
23965
|
+
static fromReader(reader: Reader): SaveMusic;
|
|
23966
|
+
// flags: null;
|
|
23967
|
+
unsave?: boolean;
|
|
23968
|
+
id: Api.TypeInputDocument;
|
|
23969
|
+
afterId?: Api.TypeInputDocument;
|
|
23970
|
+
}
|
|
23971
|
+
export class GetSavedMusicIds extends Request<Partial<{
|
|
23972
|
+
hash: long;
|
|
23973
|
+
}>, account.TypeSavedMusicIds> {
|
|
23974
|
+
CONSTRUCTOR_ID: 3768410031;
|
|
23975
|
+
SUBCLASS_OF_ID: 1263203986;
|
|
23976
|
+
classType: "request";
|
|
23977
|
+
className: "account.GetSavedMusicIds";
|
|
23978
|
+
static fromReader(reader: Reader): GetSavedMusicIds;
|
|
23979
|
+
hash: long;
|
|
23980
|
+
}
|
|
23981
|
+
export class GetUniqueGiftChatThemes extends Request<Partial<{
|
|
23982
|
+
offset: int;
|
|
23983
|
+
limit: int;
|
|
23984
|
+
hash: long;
|
|
23985
|
+
}>, account.TypeChatThemes> {
|
|
23986
|
+
CONSTRUCTOR_ID: 4269076383;
|
|
23987
|
+
SUBCLASS_OF_ID: 364989096;
|
|
23988
|
+
classType: "request";
|
|
23989
|
+
className: "account.GetUniqueGiftChatThemes";
|
|
23990
|
+
static fromReader(reader: Reader): GetUniqueGiftChatThemes;
|
|
23991
|
+
offset: int;
|
|
23992
|
+
limit: int;
|
|
23993
|
+
hash: long;
|
|
23994
|
+
}
|
|
23654
23995
|
}
|
|
23655
23996
|
|
|
23656
23997
|
export namespace users {
|
|
@@ -23696,6 +24037,34 @@ export namespace Api {
|
|
|
23696
24037
|
static fromReader(reader: Reader): GetRequirementsToContact;
|
|
23697
24038
|
id: Api.TypeEntityLike[];
|
|
23698
24039
|
}
|
|
24040
|
+
export class GetSavedMusic extends Request<Partial<{
|
|
24041
|
+
id: Api.TypeEntityLike;
|
|
24042
|
+
offset: int;
|
|
24043
|
+
limit: int;
|
|
24044
|
+
hash: long;
|
|
24045
|
+
}>, users.TypeSavedMusic> {
|
|
24046
|
+
CONSTRUCTOR_ID: 2022539235;
|
|
24047
|
+
SUBCLASS_OF_ID: 4162039351;
|
|
24048
|
+
classType: "request";
|
|
24049
|
+
className: "users.GetSavedMusic";
|
|
24050
|
+
static fromReader(reader: Reader): GetSavedMusic;
|
|
24051
|
+
id: Api.TypeEntityLike;
|
|
24052
|
+
offset: int;
|
|
24053
|
+
limit: int;
|
|
24054
|
+
hash: long;
|
|
24055
|
+
}
|
|
24056
|
+
export class GetSavedMusicByID extends Request<Partial<{
|
|
24057
|
+
id: Api.TypeEntityLike;
|
|
24058
|
+
documents: Api.TypeInputDocument[];
|
|
24059
|
+
}>, users.TypeSavedMusic> {
|
|
24060
|
+
CONSTRUCTOR_ID: 1970513129;
|
|
24061
|
+
SUBCLASS_OF_ID: 4162039351;
|
|
24062
|
+
classType: "request";
|
|
24063
|
+
className: "users.GetSavedMusicByID";
|
|
24064
|
+
static fromReader(reader: Reader): GetSavedMusicByID;
|
|
24065
|
+
id: Api.TypeEntityLike;
|
|
24066
|
+
documents: Api.TypeInputDocument[];
|
|
24067
|
+
}
|
|
23699
24068
|
}
|
|
23700
24069
|
|
|
23701
24070
|
export namespace contacts {
|
|
@@ -26216,15 +26585,15 @@ export namespace Api {
|
|
|
26216
26585
|
}
|
|
26217
26586
|
export class SetChatTheme extends Request<Partial<{
|
|
26218
26587
|
peer: Api.TypeEntityLike;
|
|
26219
|
-
|
|
26588
|
+
theme: Api.TypeInputChatTheme;
|
|
26220
26589
|
}>, Api.TypeUpdates> {
|
|
26221
|
-
CONSTRUCTOR_ID:
|
|
26590
|
+
CONSTRUCTOR_ID: 135398089;
|
|
26222
26591
|
SUBCLASS_OF_ID: 2331323052;
|
|
26223
26592
|
classType: "request";
|
|
26224
26593
|
className: "messages.SetChatTheme";
|
|
26225
26594
|
static fromReader(reader: Reader): SetChatTheme;
|
|
26226
26595
|
peer: Api.TypeEntityLike;
|
|
26227
|
-
|
|
26596
|
+
theme: Api.TypeInputChatTheme;
|
|
26228
26597
|
}
|
|
26229
26598
|
export class GetMessageReadParticipants extends Request<Partial<{
|
|
26230
26599
|
peer: Api.TypeEntityLike;
|
|
@@ -28903,6 +29272,18 @@ export namespace Api {
|
|
|
28903
29272
|
// flags: null;
|
|
28904
29273
|
query?: string;
|
|
28905
29274
|
}
|
|
29275
|
+
export class SetMainProfileTab extends Request<Partial<{
|
|
29276
|
+
channel: Api.TypeEntityLike;
|
|
29277
|
+
tab: Api.TypeProfileTab;
|
|
29278
|
+
}>, Bool> {
|
|
29279
|
+
CONSTRUCTOR_ID: 897842353;
|
|
29280
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
29281
|
+
classType: "request";
|
|
29282
|
+
className: "channels.SetMainProfileTab";
|
|
29283
|
+
static fromReader(reader: Reader): SetMainProfileTab;
|
|
29284
|
+
channel: Api.TypeEntityLike;
|
|
29285
|
+
tab: Api.TypeProfileTab;
|
|
29286
|
+
}
|
|
28906
29287
|
}
|
|
28907
29288
|
|
|
28908
29289
|
export namespace bots {
|
|
@@ -29848,9 +30229,10 @@ export namespace Api {
|
|
|
29848
30229
|
excludeUnsaved?: boolean;
|
|
29849
30230
|
excludeSaved?: boolean;
|
|
29850
30231
|
excludeUnlimited?: boolean;
|
|
29851
|
-
excludeLimited?: boolean;
|
|
29852
30232
|
excludeUnique?: boolean;
|
|
29853
30233
|
sortByValue?: boolean;
|
|
30234
|
+
excludeUpgradable?: boolean;
|
|
30235
|
+
excludeUnupgradable?: boolean;
|
|
29854
30236
|
peer: Api.TypeEntityLike;
|
|
29855
30237
|
collectionId?: int;
|
|
29856
30238
|
offset: string;
|
|
@@ -29865,9 +30247,10 @@ export namespace Api {
|
|
|
29865
30247
|
excludeUnsaved?: boolean;
|
|
29866
30248
|
excludeSaved?: boolean;
|
|
29867
30249
|
excludeUnlimited?: boolean;
|
|
29868
|
-
excludeLimited?: boolean;
|
|
29869
30250
|
excludeUnique?: boolean;
|
|
29870
30251
|
sortByValue?: boolean;
|
|
30252
|
+
excludeUpgradable?: boolean;
|
|
30253
|
+
excludeUnupgradable?: boolean;
|
|
29871
30254
|
peer: Api.TypeEntityLike;
|
|
29872
30255
|
collectionId?: int;
|
|
29873
30256
|
offset: string;
|
|
@@ -30039,6 +30422,26 @@ export namespace Api {
|
|
|
30039
30422
|
peer: Api.TypeEntityLike;
|
|
30040
30423
|
hash: long;
|
|
30041
30424
|
}
|
|
30425
|
+
export class GetUniqueStarGiftValueInfo extends Request<Partial<{
|
|
30426
|
+
slug: string;
|
|
30427
|
+
}>, payments.TypeUniqueStarGiftValueInfo> {
|
|
30428
|
+
CONSTRUCTOR_ID: 1130737515;
|
|
30429
|
+
SUBCLASS_OF_ID: 372595652;
|
|
30430
|
+
classType: "request";
|
|
30431
|
+
className: "payments.GetUniqueStarGiftValueInfo";
|
|
30432
|
+
static fromReader(reader: Reader): GetUniqueStarGiftValueInfo;
|
|
30433
|
+
slug: string;
|
|
30434
|
+
}
|
|
30435
|
+
export class CheckCanSendGift extends Request<Partial<{
|
|
30436
|
+
giftId: long;
|
|
30437
|
+
}>, payments.TypeCheckCanSendGiftResult> {
|
|
30438
|
+
CONSTRUCTOR_ID: 3234131401;
|
|
30439
|
+
SUBCLASS_OF_ID: 1664023088;
|
|
30440
|
+
classType: "request";
|
|
30441
|
+
className: "payments.CheckCanSendGift";
|
|
30442
|
+
static fromReader(reader: Reader): CheckCanSendGift;
|
|
30443
|
+
giftId: long;
|
|
30444
|
+
}
|
|
30042
30445
|
}
|
|
30043
30446
|
|
|
30044
30447
|
export namespace stickers {
|
|
@@ -31886,6 +32289,7 @@ export namespace Api {
|
|
|
31886
32289
|
export type TypeGroupCallParticipantVideoSourceGroup = GroupCallParticipantVideoSourceGroup;
|
|
31887
32290
|
export type TypeGroupCallParticipantVideo = GroupCallParticipantVideo;
|
|
31888
32291
|
export type TypeBotCommandScope = BotCommandScopeDefault | BotCommandScopeUsers | BotCommandScopeChats | BotCommandScopeChatAdmins | BotCommandScopePeer | BotCommandScopePeerAdmins | BotCommandScopePeerUser;
|
|
32292
|
+
export type TypeChatTheme = ChatTheme | ChatThemeUniqueGift;
|
|
31889
32293
|
export type TypeSponsoredMessage = SponsoredMessage;
|
|
31890
32294
|
export type TypeSearchResultsCalendarPeriod = SearchResultsCalendarPeriod;
|
|
31891
32295
|
export type TypeSearchResultsPosition = SearchResultPosition;
|
|
@@ -31904,7 +32308,7 @@ export namespace Api {
|
|
|
31904
32308
|
export type TypeBotMenuButton = BotMenuButtonDefault | BotMenuButtonCommands | BotMenuButton;
|
|
31905
32309
|
export type TypeNotificationSound = NotificationSoundDefault | NotificationSoundNone | NotificationSoundLocal | NotificationSoundRingtone;
|
|
31906
32310
|
export type TypeAttachMenuPeerType = AttachMenuPeerTypeSameBotPM | AttachMenuPeerTypeBotPM | AttachMenuPeerTypePM | AttachMenuPeerTypeChat | AttachMenuPeerTypeBroadcast;
|
|
31907
|
-
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug | InputInvoicePremiumGiftCode | InputInvoiceStars | InputInvoiceChatInviteSubscription | InputInvoiceStarGift | InputInvoiceStarGiftUpgrade | InputInvoiceStarGiftTransfer | InputInvoicePremiumGiftStars | InputInvoiceBusinessBotTransferStars | InputInvoiceStarGiftResale;
|
|
32311
|
+
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug | InputInvoicePremiumGiftCode | InputInvoiceStars | InputInvoiceChatInviteSubscription | InputInvoiceStarGift | InputInvoiceStarGiftUpgrade | InputInvoiceStarGiftTransfer | InputInvoicePremiumGiftStars | InputInvoiceBusinessBotTransferStars | InputInvoiceStarGiftResale | InputInvoiceStarGiftPrepaidUpgrade;
|
|
31908
32312
|
export type TypeInputStorePaymentPurpose = InputStorePaymentPremiumSubscription | InputStorePaymentGiftPremium | InputStorePaymentPremiumGiftCode | InputStorePaymentPremiumGiveaway | InputStorePaymentStarsTopup | InputStorePaymentStarsGift | InputStorePaymentStarsGiveaway | InputStorePaymentAuthCode;
|
|
31909
32313
|
export type TypePaymentFormMethod = PaymentFormMethod;
|
|
31910
32314
|
export type TypeEmojiStatus = EmojiStatusEmpty | EmojiStatus | EmojiStatusCollectible | InputEmojiStatusCollectible;
|
|
@@ -32028,6 +32432,8 @@ export namespace Api {
|
|
|
32028
32432
|
export type TypeStarGiftCollection = StarGiftCollection;
|
|
32029
32433
|
export type TypeStoryAlbum = StoryAlbum;
|
|
32030
32434
|
export type TypeSearchPostsFlood = SearchPostsFlood;
|
|
32435
|
+
export type TypeProfileTab = ProfileTabPosts | ProfileTabGifts | ProfileTabMedia | ProfileTabFiles | ProfileTabMusic | ProfileTabVoice | ProfileTabLinks | ProfileTabGifs;
|
|
32436
|
+
export type TypeInputChatTheme = InputChatThemeEmpty | InputChatTheme | InputChatThemeUniqueGift;
|
|
32031
32437
|
export type TypeResPQ = ResPQ;
|
|
32032
32438
|
export type TypeP_Q_inner_data = PQInnerData | PQInnerDataDc | PQInnerDataTemp | PQInnerDataTempDc;
|
|
32033
32439
|
export type TypeBindAuthKeyInner = BindAuthKeyInner;
|
|
@@ -32058,17 +32464,17 @@ export namespace Api {
|
|
|
32058
32464
|
// All requests
|
|
32059
32465
|
export type AnyRequest = InvokeAfterMsg | InvokeAfterMsgs | InitConnection | InvokeWithLayer | InvokeWithoutUpdates | InvokeWithMessagesRange | InvokeWithTakeout | InvokeWithBusinessConnection | InvokeWithGooglePlayIntegrity | InvokeWithApnsSecret | InvokeWithReCaptcha | ReqPq | ReqPqMulti | ReqDHParams | SetClientDHParams | DestroyAuthKey | RpcDropAnswer | GetFutureSalts | Ping | PingDelayDisconnect | DestroySession
|
|
32060
32466
|
| auth.SendCode | auth.SignUp | auth.SignIn | auth.LogOut | auth.ResetAuthorizations | auth.ExportAuthorization | auth.ImportAuthorization | auth.BindTempAuthKey | auth.ImportBotAuthorization | auth.CheckPassword | auth.RequestPasswordRecovery | auth.RecoverPassword | auth.ResendCode | auth.CancelCode | auth.DropTempAuthKeys | auth.ExportLoginToken | auth.ImportLoginToken | auth.AcceptLoginToken | auth.CheckRecoveryPassword | auth.ImportWebTokenAuthorization | auth.RequestFirebaseSms | auth.ResetLoginEmail | auth.ReportMissingCode
|
|
32061
|
-
| 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 | account.GetCollectibleEmojiStatuses | account.GetPaidMessagesRevenue | account.ToggleNoPaidMessagesException
|
|
32062
|
-
| users.GetUsers | users.GetFullUser | users.SetSecureValueErrors | users.GetRequirementsToContact
|
|
32467
|
+
| 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 | account.GetCollectibleEmojiStatuses | account.GetPaidMessagesRevenue | account.ToggleNoPaidMessagesException | account.SetMainProfileTab | account.SaveMusic | account.GetSavedMusicIds | account.GetUniqueGiftChatThemes
|
|
32468
|
+
| users.GetUsers | users.GetFullUser | users.SetSecureValueErrors | users.GetRequirementsToContact | users.GetSavedMusic | users.GetSavedMusicByID
|
|
32063
32469
|
| 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 | contacts.GetSponsoredPeers
|
|
32064
32470
|
| 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 | messages.GetSavedDialogsByID | messages.ReadSavedHistory | messages.ToggleTodoCompleted | messages.AppendTodoList | messages.ToggleSuggestedPostApproval
|
|
32065
32471
|
| updates.GetState | updates.GetDifference | updates.GetChannelDifference
|
|
32066
32472
|
| photos.UpdateProfilePhoto | photos.UploadProfilePhoto | photos.DeletePhotos | photos.GetUserPhotos | photos.UploadContactProfilePhoto
|
|
32067
32473
|
| upload.SaveFilePart | upload.GetFile | upload.SaveBigFilePart | upload.GetWebFile | upload.GetCdnFile | upload.ReuploadCdnFile | upload.GetCdnFileHashes | upload.GetFileHashes
|
|
32068
32474
|
| 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
|
|
32069
|
-
| 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 | channels.UpdatePaidMessagesPrice | channels.ToggleAutotranslation | channels.GetMessageAuthor | channels.CheckSearchPostsFlood
|
|
32475
|
+
| 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 | channels.UpdatePaidMessagesPrice | channels.ToggleAutotranslation | channels.GetMessageAuthor | channels.CheckSearchPostsFlood | channels.SetMainProfileTab
|
|
32070
32476
|
| 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
|
|
32071
|
-
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | 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.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUniqueStarGift | payments.GetSavedStarGifts | payments.GetSavedStarGift | payments.GetStarGiftWithdrawalUrl | payments.ToggleChatStarGiftNotifications | payments.ToggleStarGiftsPinnedToTop | payments.CanPurchaseStore | payments.GetResaleStarGifts | payments.UpdateStarGiftPrice | payments.CreateStarGiftCollection | payments.UpdateStarGiftCollection | payments.ReorderStarGiftCollections | payments.DeleteStarGiftCollection | payments.GetStarGiftCollections
|
|
32477
|
+
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | 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.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUniqueStarGift | payments.GetSavedStarGifts | payments.GetSavedStarGift | payments.GetStarGiftWithdrawalUrl | payments.ToggleChatStarGiftNotifications | payments.ToggleStarGiftsPinnedToTop | payments.CanPurchaseStore | payments.GetResaleStarGifts | payments.UpdateStarGiftPrice | payments.CreateStarGiftCollection | payments.UpdateStarGiftCollection | payments.ReorderStarGiftCollections | payments.DeleteStarGiftCollection | payments.GetStarGiftCollections | payments.GetUniqueStarGiftValueInfo | payments.CheckCanSendGift
|
|
32072
32478
|
| stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
|
|
32073
32479
|
| 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 | phone.DeleteConferenceCallParticipants | phone.SendConferenceCallBroadcast | phone.InviteConferenceCallParticipant | phone.DeclineConferenceCallInvite | phone.GetGroupCallChainBlocks
|
|
32074
32480
|
| langpack.GetLangPack | langpack.GetStrings | langpack.GetDifference | langpack.GetLanguages | langpack.GetLanguage
|
package/tl/apiTl.js
CHANGED
|
@@ -85,7 +85,7 @@ chatForbidden#6592a1a7 id:long title:string = Chat;
|
|
|
85
85
|
channel#fe685355 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true broadcast_messages_allowed:flags2.16?true monoforum:flags2.17?true forum_tabs:flags2.19?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long linked_monoforum_id:flags2.18?long = Chat;
|
|
86
86
|
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
|
|
87
87
|
chatFull#2633421b flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions reactions_limit:flags.20?int = ChatFull;
|
|
88
|
-
channelFull#
|
|
88
|
+
channelFull#e4e0b29d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true paid_reactions_available:flags2.16?true stargifts_available:flags2.19?true paid_messages_available:flags2.20?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet bot_verification:flags2.17?BotVerification stargifts_count:flags2.18?int send_paid_messages_stars:flags2.21?long main_tab:flags2.22?ProfileTab = ChatFull;
|
|
89
89
|
chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant;
|
|
90
90
|
chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant;
|
|
91
91
|
chatParticipantAdmin#a0933f5b user_id:long inviter_id:long date:int = ChatParticipant;
|
|
@@ -142,7 +142,7 @@ messageActionGroupCall#7a0d7f42 flags:# call:InputGroupCall duration:flags.0?int
|
|
|
142
142
|
messageActionInviteToGroupCall#502f92f7 call:InputGroupCall users:Vector<long> = MessageAction;
|
|
143
143
|
messageActionSetMessagesTTL#3c134d7b flags:# period:int auto_setting_from:flags.0?long = MessageAction;
|
|
144
144
|
messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
|
|
145
|
-
messageActionSetChatTheme#
|
|
145
|
+
messageActionSetChatTheme#b91bbd3a theme:ChatTheme = MessageAction;
|
|
146
146
|
messageActionChatJoinedByRequest#ebbca3cb = MessageAction;
|
|
147
147
|
messageActionWebViewDataSentMe#47dd8079 text:string data:string = MessageAction;
|
|
148
148
|
messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;
|
|
@@ -160,8 +160,8 @@ messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPe
|
|
|
160
160
|
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
|
161
161
|
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
|
162
162
|
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
|
163
|
-
messageActionStarGift#
|
|
164
|
-
messageActionStarGiftUnique#34f762f3 flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true gift:StarGift can_export_at:flags.3?int transfer_stars:flags.4?long from_id:flags.6?Peer peer:flags.7?Peer saved_id:flags.7?long resale_amount:flags.8?StarsAmount can_transfer_at:flags.9?int can_resell_at:flags.10?int = MessageAction;
|
|
163
|
+
messageActionStarGift#f24de7fa flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true upgraded:flags.5?true refunded:flags.9?true can_upgrade:flags.10?true prepaid_upgrade:flags.13?true upgrade_separate:flags.16?true gift:StarGift message:flags.1?TextWithEntities convert_stars:flags.4?long upgrade_msg_id:flags.5?int upgrade_stars:flags.8?long from_id:flags.11?Peer peer:flags.12?Peer saved_id:flags.12?long prepaid_upgrade_hash:flags.14?string gift_msg_id:flags.15?int = MessageAction;
|
|
164
|
+
messageActionStarGiftUnique#34f762f3 flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true prepaid_upgrade:flags.11?true gift:StarGift can_export_at:flags.3?int transfer_stars:flags.4?long from_id:flags.6?Peer peer:flags.7?Peer saved_id:flags.7?long resale_amount:flags.8?StarsAmount can_transfer_at:flags.9?int can_resell_at:flags.10?int = MessageAction;
|
|
165
165
|
messageActionPaidMessagesRefunded#ac1f1fcd count:int stars:long = MessageAction;
|
|
166
166
|
messageActionPaidMessagesPrice#84b88578 flags:# broadcast_messages_allowed:flags.0?true stars:long = MessageAction;
|
|
167
167
|
messageActionConferenceCall#2ffe2f7a flags:# missed:flags.0?true active:flags.1?true video:flags.4?true call_id:long duration:flags.2?int other_participants:flags.3?Vector<Peer> = MessageAction;
|
|
@@ -185,7 +185,7 @@ geoPointEmpty#1117dd5f = GeoPoint;
|
|
|
185
185
|
geoPoint#b2a2f663 flags:# long:double lat:double access_hash:long accuracy_radius:flags.0?int = GeoPoint;
|
|
186
186
|
auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
|
|
187
187
|
auth.sentCodeSuccess#2390fe44 authorization:auth.Authorization = auth.SentCode;
|
|
188
|
-
auth.sentCodePaymentRequired#
|
|
188
|
+
auth.sentCodePaymentRequired#d7a2fcf9 store_product:string phone_code_hash:string support_email_address:string support_email_subject:string = auth.SentCode;
|
|
189
189
|
auth.authorization#2ea2c0d4 flags:# setup_password_required:flags.1?true otherwise_relogin_days:flags.1?int tmp_sessions:flags.0?int future_auth_token:flags.2?bytes user:User = auth.Authorization;
|
|
190
190
|
auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization;
|
|
191
191
|
auth.exportedAuthorization#b434e2b8 id:long bytes:bytes = auth.ExportedAuthorization;
|
|
@@ -209,7 +209,7 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
|
|
|
209
209
|
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|
210
210
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
|
211
211
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
|
212
|
-
userFull#
|
|
212
|
+
userFull#c577b5ad flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true display_gifts_button:flags2.16?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme:flags.15?ChatTheme private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram bot_verification:flags2.12?BotVerification send_paid_messages_stars:flags2.14?long disallowed_gifts:flags2.15?DisallowedGiftsSettings stars_rating:flags2.17?StarsRating stars_my_pending_rating:flags2.18?StarsRating stars_my_pending_rating_date:flags2.18?int main_tab:flags2.20?ProfileTab saved_music:flags2.21?Document = UserFull;
|
|
213
213
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
|
214
214
|
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
|
215
215
|
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
|
@@ -1098,6 +1098,10 @@ botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandSco
|
|
|
1098
1098
|
account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordResult;
|
|
1099
1099
|
account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
|
|
1100
1100
|
account.resetPasswordOk#e926d63e = account.ResetPasswordResult;
|
|
1101
|
+
chatTheme#c3dffc04 emoticon:string = ChatTheme;
|
|
1102
|
+
chatThemeUniqueGift#3458f9c8 gift:StarGift theme_settings:Vector<ThemeSettings> = ChatTheme;
|
|
1103
|
+
account.chatThemesNotModified#e011e1c4 = account.ChatThemes;
|
|
1104
|
+
account.chatThemes#16484857 flags:# hash:long themes:Vector<ChatTheme> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?int = account.ChatThemes;
|
|
1101
1105
|
sponsoredMessage#7dbf8673 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector<MessageEntity> photo:flags.6?Photo media:flags.14?MessageMedia color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string min_display_duration:flags.15?int max_display_duration:flags.15?int = SponsoredMessage;
|
|
1102
1106
|
messages.sponsoredMessages#ffda656d flags:# posts_between:flags.0?int start_delay:flags.1?int between_delay:flags.2?int messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
|
|
1103
1107
|
messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages;
|
|
@@ -1154,6 +1158,7 @@ inputInvoiceStarGiftTransfer#4a5f5bd9 stargift:InputSavedStarGift to_id:InputPee
|
|
|
1154
1158
|
inputInvoicePremiumGiftStars#dabab2ef flags:# user_id:InputUser months:int message:flags.0?TextWithEntities = InputInvoice;
|
|
1155
1159
|
inputInvoiceBusinessBotTransferStars#f4997e42 bot:InputUser stars:long = InputInvoice;
|
|
1156
1160
|
inputInvoiceStarGiftResale#c39f5324 flags:# ton:flags.0?true slug:string to_id:InputPeer = InputInvoice;
|
|
1161
|
+
inputInvoiceStarGiftPrepaidUpgrade#9a0b48b8 peer:InputPeer hash:string = InputInvoice;
|
|
1157
1162
|
payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice;
|
|
1158
1163
|
messages.transcribedAudio#cfb9d957 flags:# pending:flags.0?true transcription_id:long text:string trial_remains_num:flags.1?int trial_remains_until_date:flags.1?int = messages.TranscribedAudio;
|
|
1159
1164
|
help.premiumPromo#5334759c status_text:string status_entities:Vector<MessageEntity> video_sections:Vector<string> videos:Vector<Document> period_options:Vector<PremiumSubscriptionOption> users:Vector<User> = help.PremiumPromo;
|
|
@@ -1161,7 +1166,7 @@ inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgra
|
|
|
1161
1166
|
inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose;
|
|
1162
1167
|
inputStorePaymentPremiumGiftCode#fb790393 flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long message:flags.1?TextWithEntities = InputStorePaymentPurpose;
|
|
1163
1168
|
inputStorePaymentPremiumGiveaway#160544ca flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose;
|
|
1164
|
-
inputStorePaymentStarsTopup#
|
|
1169
|
+
inputStorePaymentStarsTopup#f9a2a6cb flags:# stars:long currency:string amount:long spend_purpose_peer:flags.0?InputPeer = InputStorePaymentPurpose;
|
|
1165
1170
|
inputStorePaymentStarsGift#1d741ef7 user_id:InputUser stars:long currency:string amount:long = InputStorePaymentPurpose;
|
|
1166
1171
|
inputStorePaymentStarsGiveaway#751f08fa flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true stars:long boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long users:int = InputStorePaymentPurpose;
|
|
1167
1172
|
inputStorePaymentAuthCode#9bb2636d flags:# restore:flags.0?true phone_number:string phone_code_hash:string currency:string amount:long = InputStorePaymentPurpose;
|
|
@@ -1369,7 +1374,7 @@ starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
|
|
1369
1374
|
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
|
1370
1375
|
starsTransactionPeerAPI#f9677aad = StarsTransactionPeer;
|
|
1371
1376
|
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
|
1372
|
-
starsTransaction#13659eb0 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true stargift_upgrade:flags.18?true business_transfer:flags.21?true stargift_resale:flags.22?true id:string amount:StarsAmount date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int starref_commission_permille:flags.16?int starref_peer:flags.17?Peer starref_amount:flags.17?StarsAmount paid_messages:flags.19?int premium_gift_months:flags.20?int ads_proceeds_from_date:flags.23?int ads_proceeds_to_date:flags.23?int = StarsTransaction;
|
|
1377
|
+
starsTransaction#13659eb0 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true stargift_upgrade:flags.18?true business_transfer:flags.21?true stargift_resale:flags.22?true posts_search:flags.24?true stargift_prepaid_upgrade:flags.25?true id:string amount:StarsAmount date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int starref_commission_permille:flags.16?int starref_peer:flags.17?Peer starref_amount:flags.17?StarsAmount paid_messages:flags.19?int premium_gift_months:flags.20?int ads_proceeds_from_date:flags.23?int ads_proceeds_to_date:flags.23?int = StarsTransaction;
|
|
1373
1378
|
payments.starsStatus#6c9ce8ed flags:# balance:StarsAmount subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
|
1374
1379
|
foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory;
|
|
1375
1380
|
stories.foundStories#e2de7737 flags:# count:int stories:Vector<FoundStory> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stories.FoundStories;
|
|
@@ -1388,8 +1393,8 @@ starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?t
|
|
|
1388
1393
|
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
|
1389
1394
|
starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;
|
|
1390
1395
|
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
|
1391
|
-
starGift#
|
|
1392
|
-
starGiftUnique#
|
|
1396
|
+
starGift#80ac53c3 flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true require_premium:flags.7?true limited_per_user:flags.8?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int availability_resale:flags.4?long convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long resell_min_stars:flags.4?long title:flags.5?string released_by:flags.6?Peer per_user_total:flags.8?int per_user_remains:flags.8?int locked_until_date:flags.9?int = StarGift;
|
|
1397
|
+
starGiftUnique#1befe865 flags:# require_premium:flags.6?true resale_ton_only:flags.7?true theme_available:flags.9?true id:long gift_id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string resell_amount:flags.4?Vector<StarsAmount> released_by:flags.5?Peer value_amount:flags.8?long value_currency:flags.8?string theme_peer:flags.10?Peer = StarGift;
|
|
1393
1398
|
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
|
1394
1399
|
payments.starGifts#2ed82995 hash:int gifts:Vector<StarGift> chats:Vector<Chat> users:Vector<User> = payments.StarGifts;
|
|
1395
1400
|
messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption;
|
|
@@ -1416,9 +1421,9 @@ starGiftAttributeOriginalDetails#e0bff26c flags:# sender_id:flags.0?Peer recipie
|
|
|
1416
1421
|
payments.starGiftUpgradePreview#167bd90b sample_attributes:Vector<StarGiftAttribute> = payments.StarGiftUpgradePreview;
|
|
1417
1422
|
users.users#62d706b8 users:Vector<User> = users.Users;
|
|
1418
1423
|
users.usersSlice#315a4974 count:int users:Vector<User> = users.Users;
|
|
1419
|
-
payments.uniqueStarGift#
|
|
1420
|
-
messages.webPagePreview#
|
|
1421
|
-
savedStarGift#
|
|
1424
|
+
payments.uniqueStarGift#416c56e8 gift:StarGift chats:Vector<Chat> users:Vector<User> = payments.UniqueStarGift;
|
|
1425
|
+
messages.webPagePreview#8c9a88ac media:MessageMedia chats:Vector<Chat> users:Vector<User> = messages.WebPagePreview;
|
|
1426
|
+
savedStarGift#19a9b572 flags:# name_hidden:flags.0?true unsaved:flags.5?true refunded:flags.9?true can_upgrade:flags.10?true pinned_to_top:flags.12?true upgrade_separate:flags.17?true from_id:flags.1?Peer date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int saved_id:flags.11?long convert_stars:flags.4?long upgrade_stars:flags.6?long can_export_at:flags.7?int transfer_stars:flags.8?long can_transfer_at:flags.13?int can_resell_at:flags.14?int collection_id:flags.15?Vector<int> prepaid_upgrade_hash:flags.16?string = SavedStarGift;
|
|
1422
1427
|
payments.savedStarGifts#95f389b1 flags:# count:int chat_notifications_enabled:flags.1?Bool gifts:Vector<SavedStarGift> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.SavedStarGifts;
|
|
1423
1428
|
inputSavedStarGiftUser#69279795 msg_id:int = InputSavedStarGift;
|
|
1424
1429
|
inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGift;
|
|
@@ -1455,6 +1460,24 @@ storyAlbum#9325705a flags:# album_id:int title:string icon_photo:flags.0?Photo i
|
|
|
1455
1460
|
stories.albumsNotModified#564edaeb = stories.Albums;
|
|
1456
1461
|
stories.albums#c3987a3a hash:long albums:Vector<StoryAlbum> = stories.Albums;
|
|
1457
1462
|
searchPostsFlood#3e0b5b6a flags:# query_is_free:flags.0?true total_daily:int remains:int wait_till:flags.1?int stars_amount:long = SearchPostsFlood;
|
|
1463
|
+
payments.uniqueStarGiftValueInfo#512fe446 flags:# last_sale_on_fragment:flags.1?true value_is_average:flags.6?true currency:string value:long initial_sale_date:int initial_sale_stars:long initial_sale_price:long last_sale_date:flags.0?int last_sale_price:flags.0?long floor_price:flags.2?long average_price:flags.3?long listed_count:flags.4?int fragment_listed_count:flags.5?int fragment_listed_url:flags.5?string = payments.UniqueStarGiftValueInfo;
|
|
1464
|
+
profileTabPosts#b98cd696 = ProfileTab;
|
|
1465
|
+
profileTabGifts#4d4bd46a = ProfileTab;
|
|
1466
|
+
profileTabMedia#72c64955 = ProfileTab;
|
|
1467
|
+
profileTabFiles#ab339c00 = ProfileTab;
|
|
1468
|
+
profileTabMusic#9f27d26e = ProfileTab;
|
|
1469
|
+
profileTabVoice#e477092e = ProfileTab;
|
|
1470
|
+
profileTabLinks#d3656499 = ProfileTab;
|
|
1471
|
+
profileTabGifs#a2c0f695 = ProfileTab;
|
|
1472
|
+
users.savedMusicNotModified#e3878aa4 count:int = users.SavedMusic;
|
|
1473
|
+
users.savedMusic#34a2f297 count:int documents:Vector<Document> = users.SavedMusic;
|
|
1474
|
+
account.savedMusicIdsNotModified#4fc81d6e = account.SavedMusicIds;
|
|
1475
|
+
account.savedMusicIds#998d6636 ids:Vector<long> = account.SavedMusicIds;
|
|
1476
|
+
payments.checkCanSendGiftResultOk#374fa7ad = payments.CheckCanSendGiftResult;
|
|
1477
|
+
payments.checkCanSendGiftResultFail#d5e58274 reason:TextWithEntities = payments.CheckCanSendGiftResult;
|
|
1478
|
+
inputChatThemeEmpty#83268483 = InputChatTheme;
|
|
1479
|
+
inputChatTheme#c93de95c emoticon:string = InputChatTheme;
|
|
1480
|
+
inputChatThemeUniqueGift#87e5dfe4 slug:string = InputChatTheme;
|
|
1458
1481
|
---functions---
|
|
1459
1482
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
|
1460
1483
|
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
|
|
@@ -1605,10 +1628,16 @@ account.setReactionsNotifySettings#316ce548 settings:ReactionsNotifySettings = R
|
|
|
1605
1628
|
account.getCollectibleEmojiStatuses#2e7b4543 hash:long = account.EmojiStatuses;
|
|
1606
1629
|
account.getPaidMessagesRevenue#19ba4a67 flags:# parent_peer:flags.0?InputPeer user_id:InputUser = account.PaidMessagesRevenue;
|
|
1607
1630
|
account.toggleNoPaidMessagesException#fe2eda76 flags:# refund_charged:flags.0?true require_payment:flags.2?true parent_peer:flags.1?InputPeer user_id:InputUser = Bool;
|
|
1631
|
+
account.setMainProfileTab#5dee78b0 tab:ProfileTab = Bool;
|
|
1632
|
+
account.saveMusic#b26732a9 flags:# unsave:flags.0?true id:InputDocument after_id:flags.1?InputDocument = Bool;
|
|
1633
|
+
account.getSavedMusicIds#e09d5faf hash:long = account.SavedMusicIds;
|
|
1634
|
+
account.getUniqueGiftChatThemes#fe74ef9f offset:int limit:int hash:long = account.ChatThemes;
|
|
1608
1635
|
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
|
1609
1636
|
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
|
1610
1637
|
users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector<SecureValueError> = Bool;
|
|
1611
1638
|
users.getRequirementsToContact#d89a83a3 id:Vector<InputUser> = Vector<RequirementToContact>;
|
|
1639
|
+
users.getSavedMusic#788d7fe3 id:InputUser offset:int limit:int hash:long = users.SavedMusic;
|
|
1640
|
+
users.getSavedMusicByID#7573a4e9 id:InputUser documents:Vector<InputDocument> = users.SavedMusic;
|
|
1612
1641
|
contacts.getContactIDs#7adc669d hash:long = Vector<int>;
|
|
1613
1642
|
contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
|
|
1614
1643
|
contacts.getContacts#5dd69e12 hash:long = contacts.Contacts;
|
|
@@ -1776,7 +1805,7 @@ messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithI
|
|
|
1776
1805
|
messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true subscription_expired:flags.3?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
|
|
1777
1806
|
messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
|
|
1778
1807
|
messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;
|
|
1779
|
-
messages.setChatTheme#
|
|
1808
|
+
messages.setChatTheme#81202c9 peer:InputPeer theme:InputChatTheme = Updates;
|
|
1780
1809
|
messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector<ReadParticipantDate>;
|
|
1781
1810
|
messages.getSearchResultsCalendar#6aa3f6bd flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar;
|
|
1782
1811
|
messages.getSearchResultsPositions#9c7f2f10 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;
|
|
@@ -1972,6 +2001,7 @@ channels.updatePaidMessagesPrice#4b12327b flags:# broadcast_messages_allowed:fla
|
|
|
1972
2001
|
channels.toggleAutotranslation#167fc0a1 channel:InputChannel enabled:Bool = Updates;
|
|
1973
2002
|
channels.getMessageAuthor#ece2a0e6 channel:InputChannel id:int = User;
|
|
1974
2003
|
channels.checkSearchPostsFlood#22567115 flags:# query:flags.0?string = SearchPostsFlood;
|
|
2004
|
+
channels.setMainProfileTab#3583fcb1 channel:InputChannel tab:ProfileTab = Bool;
|
|
1975
2005
|
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
|
|
1976
2006
|
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
|
|
1977
2007
|
bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
|
|
@@ -2044,7 +2074,7 @@ payments.getStarGiftUpgradePreview#9c9abcb1 gift_id:long = payments.StarGiftUpgr
|
|
|
2044
2074
|
payments.upgradeStarGift#aed6e4f5 flags:# keep_original_details:flags.0?true stargift:InputSavedStarGift = Updates;
|
|
2045
2075
|
payments.transferStarGift#7f18176a stargift:InputSavedStarGift to_id:InputPeer = Updates;
|
|
2046
2076
|
payments.getUniqueStarGift#a1974d72 slug:string = payments.UniqueStarGift;
|
|
2047
|
-
payments.getSavedStarGifts#a319e569 flags:# exclude_unsaved:flags.0?true exclude_saved:flags.1?true exclude_unlimited:flags.2?true
|
|
2077
|
+
payments.getSavedStarGifts#a319e569 flags:# exclude_unsaved:flags.0?true exclude_saved:flags.1?true exclude_unlimited:flags.2?true exclude_unique:flags.4?true sort_by_value:flags.5?true exclude_upgradable:flags.7?true exclude_unupgradable:flags.8?true peer:InputPeer collection_id:flags.6?int offset:string limit:int = payments.SavedStarGifts;
|
|
2048
2078
|
payments.getSavedStarGift#b455a106 stargift:Vector<InputSavedStarGift> = payments.SavedStarGifts;
|
|
2049
2079
|
payments.getStarGiftWithdrawalUrl#d06e93a8 stargift:InputSavedStarGift password:InputCheckPasswordSRP = payments.StarGiftWithdrawalUrl;
|
|
2050
2080
|
payments.toggleChatStarGiftNotifications#60eaefa1 flags:# enabled:flags.0?true peer:InputPeer = Bool;
|
|
@@ -2057,6 +2087,8 @@ payments.updateStarGiftCollection#4fddbee7 flags:# peer:InputPeer collection_id:
|
|
|
2057
2087
|
payments.reorderStarGiftCollections#c32af4cc peer:InputPeer order:Vector<int> = Bool;
|
|
2058
2088
|
payments.deleteStarGiftCollection#ad5648e8 peer:InputPeer collection_id:int = Bool;
|
|
2059
2089
|
payments.getStarGiftCollections#981b91dd peer:InputPeer hash:long = payments.StarGiftCollections;
|
|
2090
|
+
payments.getUniqueStarGiftValueInfo#4365af6b slug:string = payments.UniqueStarGiftValueInfo;
|
|
2091
|
+
payments.checkCanSendGift#c0c4edc9 gift_id:long = payments.CheckCanSendGiftResult;
|
|
2060
2092
|
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
|
2061
2093
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
|
2062
2094
|
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
|