teleproto 203.1.1 → 204.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -92,4 +92,7 @@ client.addEventHandler(async (event) => {
92
92
  await event.message.reply("Hi there!");
93
93
  }
94
94
  }, new NewMessage({}));
95
- ```
95
+ ```
96
+
97
+ # Ask a question
98
+ If you have any questions or need help, feel free to join our [Telegram group](https://t.me/TeleprotoChat) or open an issue on GitHub
package/Version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "203.1.1";
1
+ export declare const version = "204.1.2";
package/Version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = "203.1.1";
4
+ exports.version = "204.1.2";
package/crypto/IGE.js CHANGED
@@ -61,7 +61,6 @@ class IGE {
61
61
  return Buffer.concat([cipher.update(block), cipher.final()]);
62
62
  }
63
63
  aesDecryptBlock(block) {
64
- // AES-256-ECB без padding
65
64
  const decipher = node_crypto_1.default.createDecipheriv("aes-256-ecb", this.key, null);
66
65
  decipher.setAutoPadding(false);
67
66
  return Buffer.concat([decipher.update(block), decipher.final()]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teleproto",
3
- "version": "203.1.1",
3
+ "version": "204.1.2",
4
4
  "description": "NodeJS MTProto API Telegram client library,",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,3 +1,3 @@
1
- export declare const LAYER = 203;
1
+ export declare const LAYER = 204;
2
2
  declare const tlobjects: any;
3
3
  export { tlobjects };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tlobjects = exports.LAYER = void 0;
4
- exports.LAYER = 203;
4
+ exports.LAYER = 204;
5
5
  const _1 = require(".");
6
6
  const tlobjects = {};
7
7
  exports.tlobjects = tlobjects;
package/tl/api.d.ts CHANGED
@@ -1070,6 +1070,9 @@ export namespace Api {
1070
1070
  storiesUnavailable?: boolean;
1071
1071
  signatureProfiles?: boolean;
1072
1072
  autotranslation?: boolean;
1073
+ broadcastMessagesAllowed?: boolean;
1074
+ monoforum?: boolean;
1075
+ forumTabs?: boolean;
1073
1076
  id: long;
1074
1077
  accessHash?: long;
1075
1078
  title: string;
@@ -1090,8 +1093,9 @@ export namespace Api {
1090
1093
  subscriptionUntilDate?: int;
1091
1094
  botVerificationIcon?: long;
1092
1095
  sendPaidMessagesStars?: long;
1096
+ linkedMonoforumId?: long;
1093
1097
  }> {
1094
- CONSTRUCTOR_ID: 1954681982;
1098
+ CONSTRUCTOR_ID: 4268249941;
1095
1099
  SUBCLASS_OF_ID: 3316604308;
1096
1100
  classType: "constructor";
1097
1101
  className: "Channel";
@@ -1123,6 +1127,9 @@ export namespace Api {
1123
1127
  storiesUnavailable?: boolean;
1124
1128
  signatureProfiles?: boolean;
1125
1129
  autotranslation?: boolean;
1130
+ broadcastMessagesAllowed?: boolean;
1131
+ monoforum?: boolean;
1132
+ forumTabs?: boolean;
1126
1133
  id: long;
1127
1134
  accessHash?: long;
1128
1135
  title: string;
@@ -1143,6 +1150,7 @@ export namespace Api {
1143
1150
  subscriptionUntilDate?: int;
1144
1151
  botVerificationIcon?: long;
1145
1152
  sendPaidMessagesStars?: long;
1153
+ linkedMonoforumId?: long;
1146
1154
  }
1147
1155
  export class ChannelForbidden extends VirtualClass<{
1148
1156
  // flags: null;
@@ -2471,13 +2479,17 @@ export namespace Api {
2471
2479
  stars: long;
2472
2480
  }
2473
2481
  export class MessageActionPaidMessagesPrice extends VirtualClass<{
2482
+ // flags: null;
2483
+ broadcastMessagesAllowed?: boolean;
2474
2484
  stars: long;
2475
2485
  }> {
2476
- CONSTRUCTOR_ID: 3168211993;
2486
+ CONSTRUCTOR_ID: 2226685304;
2477
2487
  SUBCLASS_OF_ID: 2256589094;
2478
2488
  classType: "constructor";
2479
2489
  className: "MessageActionPaidMessagesPrice";
2480
2490
  static fromReader(reader: Reader): MessageActionPaidMessagesPrice;
2491
+ // flags: null;
2492
+ broadcastMessagesAllowed?: boolean;
2481
2493
  stars: long;
2482
2494
  }
2483
2495
  export class MessageActionConferenceCall extends VirtualClass<{
@@ -3873,9 +3885,10 @@ export namespace Api {
3873
3885
  // flags: null;
3874
3886
  peer: Api.TypePeer;
3875
3887
  topMsgId?: int;
3888
+ savedPeerId?: Api.TypePeer;
3876
3889
  draft: Api.TypeDraftMessage;
3877
3890
  }> {
3878
- CONSTRUCTOR_ID: 457829485;
3891
+ CONSTRUCTOR_ID: 3992719646;
3879
3892
  SUBCLASS_OF_ID: 2676568142;
3880
3893
  classType: "constructor";
3881
3894
  className: "UpdateDraftMessage";
@@ -3883,6 +3896,7 @@ export namespace Api {
3883
3896
  // flags: null;
3884
3897
  peer: Api.TypePeer;
3885
3898
  topMsgId?: int;
3899
+ savedPeerId?: Api.TypePeer;
3886
3900
  draft: Api.TypeDraftMessage;
3887
3901
  }
3888
3902
  export class UpdateReadFeaturedStickers extends VirtualClass<void> {
@@ -4064,9 +4078,10 @@ export namespace Api {
4064
4078
  // flags: null;
4065
4079
  channelId: long;
4066
4080
  topMsgId?: int;
4081
+ savedPeerId?: Api.TypePeer;
4067
4082
  messages: int[];
4068
4083
  }> {
4069
- CONSTRUCTOR_ID: 3928556893;
4084
+ CONSTRUCTOR_ID: 636691703;
4070
4085
  SUBCLASS_OF_ID: 2676568142;
4071
4086
  classType: "constructor";
4072
4087
  className: "UpdateChannelReadMessagesContents";
@@ -4074,6 +4089,7 @@ export namespace Api {
4074
4089
  // flags: null;
4075
4090
  channelId: long;
4076
4091
  topMsgId?: int;
4092
+ savedPeerId?: Api.TypePeer;
4077
4093
  messages: int[];
4078
4094
  }
4079
4095
  export class UpdateContactsReset extends VirtualClass<void> {
@@ -4099,8 +4115,9 @@ export namespace Api {
4099
4115
  // flags: null;
4100
4116
  unread?: boolean;
4101
4117
  peer: Api.TypeDialogPeer;
4118
+ savedPeerId?: Api.TypePeer;
4102
4119
  }> {
4103
- CONSTRUCTOR_ID: 3781450179;
4120
+ CONSTRUCTOR_ID: 3059282494;
4104
4121
  SUBCLASS_OF_ID: 2676568142;
4105
4122
  classType: "constructor";
4106
4123
  className: "UpdateDialogUnreadMark";
@@ -4108,6 +4125,7 @@ export namespace Api {
4108
4125
  // flags: null;
4109
4126
  unread?: boolean;
4110
4127
  peer: Api.TypeDialogPeer;
4128
+ savedPeerId?: Api.TypePeer;
4111
4129
  }
4112
4130
  export class UpdateMessagePoll extends VirtualClass<{
4113
4131
  // flags: null;
@@ -4600,9 +4618,10 @@ export namespace Api {
4600
4618
  peer: Api.TypePeer;
4601
4619
  msgId: int;
4602
4620
  topMsgId?: int;
4621
+ savedPeerId?: Api.TypePeer;
4603
4622
  reactions: Api.TypeMessageReactions;
4604
4623
  }> {
4605
- CONSTRUCTOR_ID: 1578843320;
4624
+ CONSTRUCTOR_ID: 506035194;
4606
4625
  SUBCLASS_OF_ID: 2676568142;
4607
4626
  classType: "constructor";
4608
4627
  className: "UpdateMessageReactions";
@@ -4611,6 +4630,7 @@ export namespace Api {
4611
4630
  peer: Api.TypePeer;
4612
4631
  msgId: int;
4613
4632
  topMsgId?: int;
4633
+ savedPeerId?: Api.TypePeer;
4614
4634
  reactions: Api.TypeMessageReactions;
4615
4635
  }
4616
4636
  export class UpdateAttachMenuBots extends VirtualClass<void> {
@@ -5202,6 +5222,34 @@ export namespace Api {
5202
5222
  blocks: bytes[];
5203
5223
  nextOffset: int;
5204
5224
  }
5225
+ export class UpdateReadMonoForumInbox extends VirtualClass<{
5226
+ channelId: long;
5227
+ savedPeerId: Api.TypePeer;
5228
+ readMaxId: int;
5229
+ }> {
5230
+ CONSTRUCTOR_ID: 2008081266;
5231
+ SUBCLASS_OF_ID: 2676568142;
5232
+ classType: "constructor";
5233
+ className: "UpdateReadMonoForumInbox";
5234
+ static fromReader(reader: Reader): UpdateReadMonoForumInbox;
5235
+ channelId: long;
5236
+ savedPeerId: Api.TypePeer;
5237
+ readMaxId: int;
5238
+ }
5239
+ export class UpdateReadMonoForumOutbox extends VirtualClass<{
5240
+ channelId: long;
5241
+ savedPeerId: Api.TypePeer;
5242
+ readMaxId: int;
5243
+ }> {
5244
+ CONSTRUCTOR_ID: 2762445686;
5245
+ SUBCLASS_OF_ID: 2676568142;
5246
+ classType: "constructor";
5247
+ className: "UpdateReadMonoForumOutbox";
5248
+ static fromReader(reader: Reader): UpdateReadMonoForumOutbox;
5249
+ channelId: long;
5250
+ savedPeerId: Api.TypePeer;
5251
+ readMaxId: int;
5252
+ }
5205
5253
  export class UpdatesTooLong extends VirtualClass<void> {
5206
5254
  CONSTRUCTOR_ID: 3809980286;
5207
5255
  SUBCLASS_OF_ID: 2331323052;
@@ -14316,8 +14364,9 @@ export namespace Api {
14316
14364
  quoteText?: string;
14317
14365
  quoteEntities?: Api.TypeMessageEntity[];
14318
14366
  quoteOffset?: int;
14367
+ monoforumPeerId?: Api.TypeInputPeer;
14319
14368
  }> {
14320
- CONSTRUCTOR_ID: 583071445;
14369
+ CONSTRUCTOR_ID: 2960144560;
14321
14370
  SUBCLASS_OF_ID: 2356220701;
14322
14371
  classType: "constructor";
14323
14372
  className: "InputReplyToMessage";
@@ -14329,6 +14378,7 @@ export namespace Api {
14329
14378
  quoteText?: string;
14330
14379
  quoteEntities?: Api.TypeMessageEntity[];
14331
14380
  quoteOffset?: int;
14381
+ monoforumPeerId?: Api.TypeInputPeer;
14332
14382
  }
14333
14383
  export class InputReplyToStory extends VirtualClass<{
14334
14384
  peer: Api.TypeInputPeer;
@@ -14342,6 +14392,16 @@ export namespace Api {
14342
14392
  peer: Api.TypeInputPeer;
14343
14393
  storyId: int;
14344
14394
  }
14395
+ export class InputReplyToMonoForum extends VirtualClass<{
14396
+ monoforumPeerId: Api.TypeInputPeer;
14397
+ }> {
14398
+ CONSTRUCTOR_ID: 1775660101;
14399
+ SUBCLASS_OF_ID: 2356220701;
14400
+ classType: "constructor";
14401
+ className: "InputReplyToMonoForum";
14402
+ static fromReader(reader: Reader): InputReplyToMonoForum;
14403
+ monoforumPeerId: Api.TypeInputPeer;
14404
+ }
14345
14405
  export class ExportedStoryLink extends VirtualClass<{
14346
14406
  link: string;
14347
14407
  }> {
@@ -14788,6 +14848,32 @@ export namespace Api {
14788
14848
  peer: Api.TypePeer;
14789
14849
  topMessage: int;
14790
14850
  }
14851
+ export class MonoForumDialog extends VirtualClass<{
14852
+ // flags: null;
14853
+ unreadMark?: boolean;
14854
+ peer: Api.TypePeer;
14855
+ topMessage: int;
14856
+ readInboxMaxId: int;
14857
+ readOutboxMaxId: int;
14858
+ unreadCount: int;
14859
+ unreadReactionsCount: int;
14860
+ draft?: Api.TypeDraftMessage;
14861
+ }> {
14862
+ CONSTRUCTOR_ID: 1681948327;
14863
+ SUBCLASS_OF_ID: 599418118;
14864
+ classType: "constructor";
14865
+ className: "MonoForumDialog";
14866
+ static fromReader(reader: Reader): MonoForumDialog;
14867
+ // flags: null;
14868
+ unreadMark?: boolean;
14869
+ peer: Api.TypePeer;
14870
+ topMessage: int;
14871
+ readInboxMaxId: int;
14872
+ readOutboxMaxId: int;
14873
+ unreadCount: int;
14874
+ unreadReactionsCount: int;
14875
+ draft?: Api.TypeDraftMessage;
14876
+ }
14791
14877
  export class SavedReactionTag extends VirtualClass<{
14792
14878
  // flags: null;
14793
14879
  reaction: Api.TypeReaction;
@@ -23953,13 +24039,14 @@ export namespace Api {
23953
24039
  randomId: long[];
23954
24040
  toPeer: Api.TypeEntityLike;
23955
24041
  topMsgId?: MessageIDLike;
24042
+ replyTo?: Api.TypeInputReplyTo;
23956
24043
  scheduleDate?: int;
23957
24044
  sendAs?: Api.TypeEntityLike;
23958
24045
  quickReplyShortcut?: Api.TypeInputQuickReplyShortcut;
23959
24046
  videoTimestamp?: int;
23960
24047
  allowPaidStars?: long;
23961
24048
  }>, Api.TypeUpdates> {
23962
- CONSTRUCTOR_ID: 3147801717;
24049
+ CONSTRUCTOR_ID: 955259020;
23963
24050
  SUBCLASS_OF_ID: 2331323052;
23964
24051
  classType: "request";
23965
24052
  className: "messages.ForwardMessages";
@@ -23977,6 +24064,7 @@ export namespace Api {
23977
24064
  randomId: long[];
23978
24065
  toPeer: Api.TypeEntityLike;
23979
24066
  topMsgId?: MessageIDLike;
24067
+ replyTo?: Api.TypeInputReplyTo;
23980
24068
  scheduleDate?: int;
23981
24069
  sendAs?: Api.TypeEntityLike;
23982
24070
  quickReplyShortcut?: Api.TypeInputQuickReplyShortcut;
@@ -25202,24 +25290,31 @@ export namespace Api {
25202
25290
  export class MarkDialogUnread extends Request<Partial<{
25203
25291
  // flags: null;
25204
25292
  unread?: boolean;
25293
+ parentPeer?: Api.TypeEntityLike;
25205
25294
  peer: Api.TypeInputDialogPeer;
25206
25295
  }>, Bool> {
25207
- CONSTRUCTOR_ID: 3263617423;
25296
+ CONSTRUCTOR_ID: 2354054904;
25208
25297
  SUBCLASS_OF_ID: 4122188204;
25209
25298
  classType: "request";
25210
25299
  className: "messages.MarkDialogUnread";
25211
25300
  static fromReader(reader: Reader): MarkDialogUnread;
25212
25301
  // flags: null;
25213
25302
  unread?: boolean;
25303
+ parentPeer?: Api.TypeEntityLike;
25214
25304
  peer: Api.TypeInputDialogPeer;
25215
25305
  }
25216
- export class GetDialogUnreadMarks extends Request<void, Api.TypeDialogPeer[]> {
25217
- CONSTRUCTOR_ID: 585256482;
25306
+ export class GetDialogUnreadMarks extends Request<Partial<{
25307
+ // flags: null;
25308
+ parentPeer?: Api.TypeEntityLike;
25309
+ }>, Api.TypeDialogPeer[]> {
25310
+ CONSTRUCTOR_ID: 555754018;
25218
25311
  SUBCLASS_OF_ID: 3200666329;
25219
25312
  classType: "request";
25220
25313
  className: "messages.GetDialogUnreadMarks";
25221
25314
  static fromReader(reader: Reader): GetDialogUnreadMarks;
25222
- }
25315
+ // flags: null;
25316
+ parentPeer?: Api.TypeEntityLike;
25317
+ }
25223
25318
  export class ClearAllDrafts extends Request<void, Bool> {
25224
25319
  CONSTRUCTOR_ID: 2119757468;
25225
25320
  SUBCLASS_OF_ID: 4122188204;
@@ -25609,8 +25704,9 @@ export namespace Api {
25609
25704
  // flags: null;
25610
25705
  peer: Api.TypeEntityLike;
25611
25706
  topMsgId?: MessageIDLike;
25707
+ savedPeerId?: Api.TypeEntityLike;
25612
25708
  }>, messages.TypeAffectedHistory> {
25613
- CONSTRUCTOR_ID: 3995253160;
25709
+ CONSTRUCTOR_ID: 103667527;
25614
25710
  SUBCLASS_OF_ID: 743031062;
25615
25711
  classType: "request";
25616
25712
  className: "messages.UnpinAllMessages";
@@ -25618,6 +25714,7 @@ export namespace Api {
25618
25714
  // flags: null;
25619
25715
  peer: Api.TypeEntityLike;
25620
25716
  topMsgId?: MessageIDLike;
25717
+ savedPeerId?: Api.TypeEntityLike;
25621
25718
  }
25622
25719
  export class DeleteChat extends Request<Partial<{
25623
25720
  chatId: long;
@@ -26065,13 +26162,14 @@ export namespace Api {
26065
26162
  // flags: null;
26066
26163
  peer: Api.TypeEntityLike;
26067
26164
  topMsgId?: MessageIDLike;
26165
+ savedPeerId?: Api.TypeEntityLike;
26068
26166
  offsetId: int;
26069
26167
  addOffset: int;
26070
26168
  limit: int;
26071
26169
  maxId: int;
26072
26170
  minId: int;
26073
26171
  }>, messages.TypeMessages> {
26074
- CONSTRUCTOR_ID: 841173339;
26172
+ CONSTRUCTOR_ID: 3179253932;
26075
26173
  SUBCLASS_OF_ID: 3568569182;
26076
26174
  classType: "request";
26077
26175
  className: "messages.GetUnreadReactions";
@@ -26079,6 +26177,7 @@ export namespace Api {
26079
26177
  // flags: null;
26080
26178
  peer: Api.TypeEntityLike;
26081
26179
  topMsgId?: MessageIDLike;
26180
+ savedPeerId?: Api.TypeEntityLike;
26082
26181
  offsetId: int;
26083
26182
  addOffset: int;
26084
26183
  limit: int;
@@ -26089,8 +26188,9 @@ export namespace Api {
26089
26188
  // flags: null;
26090
26189
  peer: Api.TypeEntityLike;
26091
26190
  topMsgId?: MessageIDLike;
26191
+ savedPeerId?: Api.TypeEntityLike;
26092
26192
  }>, messages.TypeAffectedHistory> {
26093
- CONSTRUCTOR_ID: 1420459918;
26193
+ CONSTRUCTOR_ID: 2663665555;
26094
26194
  SUBCLASS_OF_ID: 743031062;
26095
26195
  classType: "request";
26096
26196
  className: "messages.ReadReactions";
@@ -26098,6 +26198,7 @@ export namespace Api {
26098
26198
  // flags: null;
26099
26199
  peer: Api.TypeEntityLike;
26100
26200
  topMsgId?: MessageIDLike;
26201
+ savedPeerId?: Api.TypeEntityLike;
26101
26202
  }
26102
26203
  export class SearchSentMedia extends Request<Partial<{
26103
26204
  q: string;
@@ -26544,19 +26645,21 @@ export namespace Api {
26544
26645
  export class GetSavedDialogs extends Request<Partial<{
26545
26646
  // flags: null;
26546
26647
  excludePinned?: boolean;
26648
+ parentPeer?: Api.TypeEntityLike;
26547
26649
  offsetDate: int;
26548
26650
  offsetId: int;
26549
26651
  offsetPeer: Api.TypeEntityLike;
26550
26652
  limit: int;
26551
26653
  hash: long;
26552
26654
  }>, messages.TypeSavedDialogs> {
26553
- CONSTRUCTOR_ID: 1401016858;
26655
+ CONSTRUCTOR_ID: 512883865;
26554
26656
  SUBCLASS_OF_ID: 1632352382;
26555
26657
  classType: "request";
26556
26658
  className: "messages.GetSavedDialogs";
26557
26659
  static fromReader(reader: Reader): GetSavedDialogs;
26558
26660
  // flags: null;
26559
26661
  excludePinned?: boolean;
26662
+ parentPeer?: Api.TypeEntityLike;
26560
26663
  offsetDate: int;
26561
26664
  offsetId: int;
26562
26665
  offsetPeer: Api.TypeEntityLike;
@@ -26564,6 +26667,8 @@ export namespace Api {
26564
26667
  hash: long;
26565
26668
  }
26566
26669
  export class GetSavedHistory extends Request<Partial<{
26670
+ // flags: null;
26671
+ parentPeer?: Api.TypeEntityLike;
26567
26672
  peer: Api.TypeEntityLike;
26568
26673
  offsetId: int;
26569
26674
  offsetDate: int;
@@ -26573,11 +26678,13 @@ export namespace Api {
26573
26678
  minId: int;
26574
26679
  hash: long;
26575
26680
  }>, messages.TypeMessages> {
26576
- CONSTRUCTOR_ID: 1033519437;
26681
+ CONSTRUCTOR_ID: 2576003081;
26577
26682
  SUBCLASS_OF_ID: 3568569182;
26578
26683
  classType: "request";
26579
26684
  className: "messages.GetSavedHistory";
26580
26685
  static fromReader(reader: Reader): GetSavedHistory;
26686
+ // flags: null;
26687
+ parentPeer?: Api.TypeEntityLike;
26581
26688
  peer: Api.TypeEntityLike;
26582
26689
  offsetId: int;
26583
26690
  offsetDate: int;
@@ -26589,17 +26696,19 @@ export namespace Api {
26589
26696
  }
26590
26697
  export class DeleteSavedHistory extends Request<Partial<{
26591
26698
  // flags: null;
26699
+ parentPeer?: Api.TypeEntityLike;
26592
26700
  peer: Api.TypeEntityLike;
26593
26701
  maxId: int;
26594
26702
  minDate?: int;
26595
26703
  maxDate?: int;
26596
26704
  }>, messages.TypeAffectedHistory> {
26597
- CONSTRUCTOR_ID: 1855459371;
26705
+ CONSTRUCTOR_ID: 1304758367;
26598
26706
  SUBCLASS_OF_ID: 743031062;
26599
26707
  classType: "request";
26600
26708
  className: "messages.DeleteSavedHistory";
26601
26709
  static fromReader(reader: Reader): DeleteSavedHistory;
26602
26710
  // flags: null;
26711
+ parentPeer?: Api.TypeEntityLike;
26603
26712
  peer: Api.TypeEntityLike;
26604
26713
  maxId: int;
26605
26714
  minDate?: int;
@@ -27047,6 +27156,34 @@ export namespace Api {
27047
27156
  peer: Api.TypeEntityLike;
27048
27157
  id: int[];
27049
27158
  }
27159
+ export class GetSavedDialogsByID extends Request<Partial<{
27160
+ // flags: null;
27161
+ parentPeer?: Api.TypeEntityLike;
27162
+ ids: Api.TypeEntityLike[];
27163
+ }>, messages.TypeSavedDialogs> {
27164
+ CONSTRUCTOR_ID: 1869585558;
27165
+ SUBCLASS_OF_ID: 1632352382;
27166
+ classType: "request";
27167
+ className: "messages.GetSavedDialogsByID";
27168
+ static fromReader(reader: Reader): GetSavedDialogsByID;
27169
+ // flags: null;
27170
+ parentPeer?: Api.TypeEntityLike;
27171
+ ids: Api.TypeEntityLike[];
27172
+ }
27173
+ export class ReadSavedHistory extends Request<Partial<{
27174
+ parentPeer: Api.TypeEntityLike;
27175
+ peer: Api.TypeEntityLike;
27176
+ maxId: int;
27177
+ }>, Bool> {
27178
+ CONSTRUCTOR_ID: 3125427035;
27179
+ SUBCLASS_OF_ID: 4122188204;
27180
+ classType: "request";
27181
+ className: "messages.ReadSavedHistory";
27182
+ static fromReader(reader: Reader): ReadSavedHistory;
27183
+ parentPeer: Api.TypeEntityLike;
27184
+ peer: Api.TypeEntityLike;
27185
+ maxId: int;
27186
+ }
27050
27187
  }
27051
27188
 
27052
27189
  export namespace updates {
@@ -28095,14 +28232,16 @@ export namespace Api {
28095
28232
  export class ToggleForum extends Request<Partial<{
28096
28233
  channel: Api.TypeEntityLike;
28097
28234
  enabled: Bool;
28235
+ tabs: Bool;
28098
28236
  }>, Api.TypeUpdates> {
28099
- CONSTRUCTOR_ID: 2754186025;
28237
+ CONSTRUCTOR_ID: 1073174324;
28100
28238
  SUBCLASS_OF_ID: 2331323052;
28101
28239
  classType: "request";
28102
28240
  className: "channels.ToggleForum";
28103
28241
  static fromReader(reader: Reader): ToggleForum;
28104
28242
  channel: Api.TypeEntityLike;
28105
28243
  enabled: Bool;
28244
+ tabs: Bool;
28106
28245
  }
28107
28246
  export class CreateForumTopic extends Request<Partial<{
28108
28247
  // flags: null;
@@ -28369,14 +28508,18 @@ export namespace Api {
28369
28508
  limit: int;
28370
28509
  }
28371
28510
  export class UpdatePaidMessagesPrice extends Request<Partial<{
28511
+ // flags: null;
28512
+ broadcastMessagesAllowed?: boolean;
28372
28513
  channel: Api.TypeEntityLike;
28373
28514
  sendPaidMessagesStars: long;
28374
28515
  }>, Api.TypeUpdates> {
28375
- CONSTRUCTOR_ID: 4236535103;
28516
+ CONSTRUCTOR_ID: 1259483771;
28376
28517
  SUBCLASS_OF_ID: 2331323052;
28377
28518
  classType: "request";
28378
28519
  className: "channels.UpdatePaidMessagesPrice";
28379
28520
  static fromReader(reader: Reader): UpdatePaidMessagesPrice;
28521
+ // flags: null;
28522
+ broadcastMessagesAllowed?: boolean;
28380
28523
  channel: Api.TypeEntityLike;
28381
28524
  sendPaidMessagesStars: long;
28382
28525
  }
@@ -28392,6 +28535,18 @@ export namespace Api {
28392
28535
  channel: Api.TypeEntityLike;
28393
28536
  enabled: Bool;
28394
28537
  }
28538
+ export class GetMessageAuthor extends Request<Partial<{
28539
+ channel: Api.TypeEntityLike;
28540
+ id: int;
28541
+ }>, Api.TypeUser> {
28542
+ CONSTRUCTOR_ID: 3974275302;
28543
+ SUBCLASS_OF_ID: 765557111;
28544
+ classType: "request";
28545
+ className: "channels.GetMessageAuthor";
28546
+ static fromReader(reader: Reader): GetMessageAuthor;
28547
+ channel: Api.TypeEntityLike;
28548
+ id: int;
28549
+ }
28395
28550
  }
28396
28551
 
28397
28552
  export namespace bots {
@@ -31061,7 +31216,7 @@ export namespace Api {
31061
31216
  export type TypeImportedContact = ImportedContact;
31062
31217
  export type TypeContactStatus = ContactStatus;
31063
31218
  export type TypeMessagesFilter = InputMessagesFilterEmpty | InputMessagesFilterPhotos | InputMessagesFilterVideo | InputMessagesFilterPhotoVideo | InputMessagesFilterDocument | InputMessagesFilterUrl | InputMessagesFilterGif | InputMessagesFilterVoice | InputMessagesFilterMusic | InputMessagesFilterChatPhotos | InputMessagesFilterPhoneCalls | InputMessagesFilterRoundVoice | InputMessagesFilterRoundVideo | InputMessagesFilterMyMentions | InputMessagesFilterGeo | InputMessagesFilterContacts | InputMessagesFilterPinned;
31064
- export type TypeUpdate = UpdateNewMessage | UpdateMessageID | UpdateDeleteMessages | UpdateUserTyping | UpdateChatUserTyping | UpdateChatParticipants | UpdateUserStatus | UpdateUserName | UpdateNewAuthorization | UpdateNewEncryptedMessage | UpdateEncryptedChatTyping | UpdateEncryption | UpdateEncryptedMessagesRead | UpdateChatParticipantAdd | UpdateChatParticipantDelete | UpdateDcOptions | UpdateNotifySettings | UpdateServiceNotification | UpdatePrivacy | UpdateUserPhone | UpdateReadHistoryInbox | UpdateReadHistoryOutbox | UpdateWebPage | UpdateReadMessagesContents | UpdateChannelTooLong | UpdateChannel | UpdateNewChannelMessage | UpdateReadChannelInbox | UpdateDeleteChannelMessages | UpdateChannelMessageViews | UpdateChatParticipantAdmin | UpdateNewStickerSet | UpdateStickerSetsOrder | UpdateStickerSets | UpdateSavedGifs | UpdateBotInlineQuery | UpdateBotInlineSend | UpdateEditChannelMessage | UpdateBotCallbackQuery | UpdateEditMessage | UpdateInlineBotCallbackQuery | UpdateReadChannelOutbox | UpdateDraftMessage | UpdateReadFeaturedStickers | UpdateRecentStickers | UpdateConfig | UpdatePtsChanged | UpdateChannelWebPage | UpdateDialogPinned | UpdatePinnedDialogs | UpdateBotWebhookJSON | UpdateBotWebhookJSONQuery | UpdateBotShippingQuery | UpdateBotPrecheckoutQuery | UpdatePhoneCall | UpdateLangPackTooLong | UpdateLangPack | UpdateFavedStickers | UpdateChannelReadMessagesContents | UpdateContactsReset | UpdateChannelAvailableMessages | UpdateDialogUnreadMark | UpdateMessagePoll | UpdateChatDefaultBannedRights | UpdateFolderPeers | UpdatePeerSettings | UpdatePeerLocated | UpdateNewScheduledMessage | UpdateDeleteScheduledMessages | UpdateTheme | UpdateGeoLiveViewed | UpdateLoginToken | UpdateMessagePollVote | UpdateDialogFilter | UpdateDialogFilterOrder | UpdateDialogFilters | UpdatePhoneCallSignalingData | UpdateChannelMessageForwards | UpdateReadChannelDiscussionInbox | UpdateReadChannelDiscussionOutbox | UpdatePeerBlocked | UpdateChannelUserTyping | UpdatePinnedMessages | UpdatePinnedChannelMessages | UpdateChat | UpdateGroupCallParticipants | UpdateGroupCall | UpdatePeerHistoryTTL | UpdateChatParticipant | UpdateChannelParticipant | UpdateBotStopped | UpdateGroupCallConnection | UpdateBotCommands | UpdatePendingJoinRequests | UpdateBotChatInviteRequester | UpdateMessageReactions | UpdateAttachMenuBots | UpdateWebViewResultSent | UpdateBotMenuButton | UpdateSavedRingtones | UpdateTranscribedAudio | UpdateReadFeaturedEmojiStickers | UpdateUserEmojiStatus | UpdateRecentEmojiStatuses | UpdateRecentReactions | UpdateMoveStickerSetToTop | UpdateMessageExtendedMedia | UpdateChannelPinnedTopic | UpdateChannelPinnedTopics | UpdateUser | UpdateAutoSaveSettings | UpdateStory | UpdateReadStories | UpdateStoryID | UpdateStoriesStealthMode | UpdateSentStoryReaction | UpdateBotChatBoost | UpdateChannelViewForumAsMessages | UpdatePeerWallpaper | UpdateBotMessageReaction | UpdateBotMessageReactions | UpdateSavedDialogPinned | UpdatePinnedSavedDialogs | UpdateSavedReactionTags | UpdateSmsJob | UpdateQuickReplies | UpdateNewQuickReply | UpdateDeleteQuickReply | UpdateQuickReplyMessage | UpdateDeleteQuickReplyMessages | UpdateBotBusinessConnect | UpdateBotNewBusinessMessage | UpdateBotEditBusinessMessage | UpdateBotDeleteBusinessMessage | UpdateNewStoryReaction | UpdateBroadcastRevenueTransactions | UpdateStarsBalance | UpdateBusinessBotCallbackQuery | UpdateStarsRevenueStatus | UpdateBotPurchasedPaidMedia | UpdatePaidReactionPrivacy | UpdateSentPhoneCode | UpdateGroupCallChainBlocks;
31219
+ export type TypeUpdate = UpdateNewMessage | UpdateMessageID | UpdateDeleteMessages | UpdateUserTyping | UpdateChatUserTyping | UpdateChatParticipants | UpdateUserStatus | UpdateUserName | UpdateNewAuthorization | UpdateNewEncryptedMessage | UpdateEncryptedChatTyping | UpdateEncryption | UpdateEncryptedMessagesRead | UpdateChatParticipantAdd | UpdateChatParticipantDelete | UpdateDcOptions | UpdateNotifySettings | UpdateServiceNotification | UpdatePrivacy | UpdateUserPhone | UpdateReadHistoryInbox | UpdateReadHistoryOutbox | UpdateWebPage | UpdateReadMessagesContents | UpdateChannelTooLong | UpdateChannel | UpdateNewChannelMessage | UpdateReadChannelInbox | UpdateDeleteChannelMessages | UpdateChannelMessageViews | UpdateChatParticipantAdmin | UpdateNewStickerSet | UpdateStickerSetsOrder | UpdateStickerSets | UpdateSavedGifs | UpdateBotInlineQuery | UpdateBotInlineSend | UpdateEditChannelMessage | UpdateBotCallbackQuery | UpdateEditMessage | UpdateInlineBotCallbackQuery | UpdateReadChannelOutbox | UpdateDraftMessage | UpdateReadFeaturedStickers | UpdateRecentStickers | UpdateConfig | UpdatePtsChanged | UpdateChannelWebPage | UpdateDialogPinned | UpdatePinnedDialogs | UpdateBotWebhookJSON | UpdateBotWebhookJSONQuery | UpdateBotShippingQuery | UpdateBotPrecheckoutQuery | UpdatePhoneCall | UpdateLangPackTooLong | UpdateLangPack | UpdateFavedStickers | UpdateChannelReadMessagesContents | UpdateContactsReset | UpdateChannelAvailableMessages | UpdateDialogUnreadMark | UpdateMessagePoll | UpdateChatDefaultBannedRights | UpdateFolderPeers | UpdatePeerSettings | UpdatePeerLocated | UpdateNewScheduledMessage | UpdateDeleteScheduledMessages | UpdateTheme | UpdateGeoLiveViewed | UpdateLoginToken | UpdateMessagePollVote | UpdateDialogFilter | UpdateDialogFilterOrder | UpdateDialogFilters | UpdatePhoneCallSignalingData | UpdateChannelMessageForwards | UpdateReadChannelDiscussionInbox | UpdateReadChannelDiscussionOutbox | UpdatePeerBlocked | UpdateChannelUserTyping | UpdatePinnedMessages | UpdatePinnedChannelMessages | UpdateChat | UpdateGroupCallParticipants | UpdateGroupCall | UpdatePeerHistoryTTL | UpdateChatParticipant | UpdateChannelParticipant | UpdateBotStopped | UpdateGroupCallConnection | UpdateBotCommands | UpdatePendingJoinRequests | UpdateBotChatInviteRequester | UpdateMessageReactions | UpdateAttachMenuBots | UpdateWebViewResultSent | UpdateBotMenuButton | UpdateSavedRingtones | UpdateTranscribedAudio | UpdateReadFeaturedEmojiStickers | UpdateUserEmojiStatus | UpdateRecentEmojiStatuses | UpdateRecentReactions | UpdateMoveStickerSetToTop | UpdateMessageExtendedMedia | UpdateChannelPinnedTopic | UpdateChannelPinnedTopics | UpdateUser | UpdateAutoSaveSettings | UpdateStory | UpdateReadStories | UpdateStoryID | UpdateStoriesStealthMode | UpdateSentStoryReaction | UpdateBotChatBoost | UpdateChannelViewForumAsMessages | UpdatePeerWallpaper | UpdateBotMessageReaction | UpdateBotMessageReactions | UpdateSavedDialogPinned | UpdatePinnedSavedDialogs | UpdateSavedReactionTags | UpdateSmsJob | UpdateQuickReplies | UpdateNewQuickReply | UpdateDeleteQuickReply | UpdateQuickReplyMessage | UpdateDeleteQuickReplyMessages | UpdateBotBusinessConnect | UpdateBotNewBusinessMessage | UpdateBotEditBusinessMessage | UpdateBotDeleteBusinessMessage | UpdateNewStoryReaction | UpdateBroadcastRevenueTransactions | UpdateStarsBalance | UpdateBusinessBotCallbackQuery | UpdateStarsRevenueStatus | UpdateBotPurchasedPaidMedia | UpdatePaidReactionPrivacy | UpdateSentPhoneCode | UpdateGroupCallChainBlocks | UpdateReadMonoForumInbox | UpdateReadMonoForumOutbox;
31065
31220
  export type TypeUpdates = UpdatesTooLong | UpdateShortMessage | UpdateShortChatMessage | UpdateShort | UpdatesCombined | Updates | UpdateShortSentMessage;
31066
31221
  export type TypeDcOption = DcOption;
31067
31222
  export type TypeConfig = Config;
@@ -31285,7 +31440,7 @@ export namespace Api {
31285
31440
  export type TypeStoryViews = StoryViews;
31286
31441
  export type TypeStoryItem = StoryItemDeleted | StoryItemSkipped | StoryItem;
31287
31442
  export type TypeStoryView = StoryView | StoryViewPublicForward | StoryViewPublicRepost;
31288
- export type TypeInputReplyTo = InputReplyToMessage | InputReplyToStory;
31443
+ export type TypeInputReplyTo = InputReplyToMessage | InputReplyToStory | InputReplyToMonoForum;
31289
31444
  export type TypeExportedStoryLink = ExportedStoryLink;
31290
31445
  export type TypeStoriesStealthMode = StoriesStealthMode;
31291
31446
  export type TypeMediaAreaCoordinates = MediaAreaCoordinates;
@@ -31300,7 +31455,7 @@ export namespace Api {
31300
31455
  export type TypePublicForward = PublicForwardMessage | PublicForwardStory;
31301
31456
  export type TypePeerColor = PeerColor;
31302
31457
  export type TypeStoryReaction = StoryReaction | StoryReactionPublicForward | StoryReactionPublicRepost;
31303
- export type TypeSavedDialog = SavedDialog;
31458
+ export type TypeSavedDialog = SavedDialog | MonoForumDialog;
31304
31459
  export type TypeSavedReactionTag = SavedReactionTag;
31305
31460
  export type TypeOutboxReadDate = OutboxReadDate;
31306
31461
  export type TypeSmsJob = SmsJob;
@@ -31404,12 +31559,12 @@ export namespace Api {
31404
31559
  | 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.AddNoPaidMessagesException | account.GetPaidMessagesRevenue
31405
31560
  | users.GetUsers | users.GetFullUser | users.SetSecureValueErrors | users.GetRequirementsToContact
31406
31561
  | 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
31407
- | 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
31562
+ | 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
31408
31563
  | updates.GetState | updates.GetDifference | updates.GetChannelDifference
31409
31564
  | photos.UpdateProfilePhoto | photos.UploadProfilePhoto | photos.DeletePhotos | photos.GetUserPhotos | photos.UploadContactProfilePhoto
31410
31565
  | upload.SaveFilePart | upload.GetFile | upload.SaveBigFilePart | upload.GetWebFile | upload.GetCdnFile | upload.ReuploadCdnFile | upload.GetCdnFileHashes | upload.GetFileHashes
31411
31566
  | 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
31412
- | 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
31567
+ | 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
31413
31568
  | 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
31414
31569
  | 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
31415
31570
  | stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
package/tl/apiTl.js CHANGED
@@ -81,7 +81,7 @@ userStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus;
81
81
  chatEmpty#29562865 id:long = Chat;
82
82
  chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
83
83
  chatForbidden#6592a1a7 id:long title:string = Chat;
84
- channel#7482147e 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 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 = Chat;
84
+ 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;
85
85
  channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
86
86
  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;
87
87
  channelFull#52d6806b 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 = ChatFull;
@@ -161,7 +161,7 @@ messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long trans
161
161
  messageActionStarGift#4717e8a4 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 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 = MessageAction;
162
162
  messageActionStarGiftUnique#2e3ae60e 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_stars:flags.8?long can_transfer_at:flags.9?int can_resell_at:flags.10?int = MessageAction;
163
163
  messageActionPaidMessagesRefunded#ac1f1fcd count:int stars:long = MessageAction;
164
- messageActionPaidMessagesPrice#bcd71419 stars:long = MessageAction;
164
+ messageActionPaidMessagesPrice#84b88578 flags:# broadcast_messages_allowed:flags.0?true stars:long = MessageAction;
165
165
  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;
166
166
  dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
167
167
  dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
@@ -280,7 +280,7 @@ updateBotCallbackQuery#b9cfc48d flags:# query_id:long user_id:long peer:Peer msg
280
280
  updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;
281
281
  updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;
282
282
  updateReadChannelOutbox#b75f99a9 channel_id:long max_id:int = Update;
283
- updateDraftMessage#1b49ec6d flags:# peer:Peer top_msg_id:flags.0?int draft:DraftMessage = Update;
283
+ updateDraftMessage#edfc111e flags:# peer:Peer top_msg_id:flags.0?int saved_peer_id:flags.1?Peer draft:DraftMessage = Update;
284
284
  updateReadFeaturedStickers#571d2742 = Update;
285
285
  updateRecentStickers#9a422c20 = Update;
286
286
  updateConfig#a229dd06 = Update;
@@ -296,10 +296,10 @@ updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;
296
296
  updateLangPackTooLong#46560264 lang_code:string = Update;
297
297
  updateLangPack#56022f4d difference:LangPackDifference = Update;
298
298
  updateFavedStickers#e511996d = Update;
299
- updateChannelReadMessagesContents#ea29055d flags:# channel_id:long top_msg_id:flags.0?int messages:Vector<int> = Update;
299
+ updateChannelReadMessagesContents#25f324f7 flags:# channel_id:long top_msg_id:flags.0?int saved_peer_id:flags.1?Peer messages:Vector<int> = Update;
300
300
  updateContactsReset#7084a7be = Update;
301
301
  updateChannelAvailableMessages#b23fc698 channel_id:long available_min_id:int = Update;
302
- updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update;
302
+ updateDialogUnreadMark#b658f23e flags:# unread:flags.0?true peer:DialogPeer saved_peer_id:flags.1?Peer = Update;
303
303
  updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update;
304
304
  updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update;
305
305
  updateFolderPeers#19360dc0 folder_peers:Vector<FolderPeer> pts:int pts_count:int = Update;
@@ -333,7 +333,7 @@ updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJ
333
333
  updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = Update;
334
334
  updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector<long> = Update;
335
335
  updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update;
336
- updateMessageReactions#5e1b3cb8 flags:# peer:Peer msg_id:int top_msg_id:flags.0?int reactions:MessageReactions = Update;
336
+ updateMessageReactions#1e297bfa flags:# peer:Peer msg_id:int top_msg_id:flags.0?int saved_peer_id:flags.1?Peer reactions:MessageReactions = Update;
337
337
  updateAttachMenuBots#17b7a20b = Update;
338
338
  updateWebViewResultSent#1592b79d query_id:long = Update;
339
339
  updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update;
@@ -381,6 +381,8 @@ updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Updat
381
381
  updatePaidReactionPrivacy#8b725fce private:PaidReactionPrivacy = Update;
382
382
  updateSentPhoneCode#504aa18f sent_code:auth.SentCode = Update;
383
383
  updateGroupCallChainBlocks#a477288f call:InputGroupCall sub_chain_id:int blocks:Vector<bytes> next_offset:int = Update;
384
+ updateReadMonoForumInbox#77b0e372 channel_id:long saved_peer_id:Peer read_max_id:int = Update;
385
+ updateReadMonoForumOutbox#a4a79376 channel_id:long saved_peer_id:Peer read_max_id:int = Update;
384
386
  updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
385
387
  updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
386
388
  updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
@@ -1235,8 +1237,9 @@ storyViewPublicForward#9083670b flags:# blocked:flags.0?true blocked_my_stories_
1235
1237
  storyViewPublicRepost#bd74cf49 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer story:StoryItem = StoryView;
1236
1238
  stories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count:int reactions_count:int views:Vector<StoryView> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = stories.StoryViewsList;
1237
1239
  stories.storyViews#de9eed1d views:Vector<StoryViews> users:Vector<User> = stories.StoryViews;
1238
- inputReplyToMessage#22c0f6d5 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> quote_offset:flags.4?int = InputReplyTo;
1240
+ inputReplyToMessage#b07038b0 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> quote_offset:flags.4?int monoforum_peer_id:flags.5?InputPeer = InputReplyTo;
1239
1241
  inputReplyToStory#5881323a peer:InputPeer story_id:int = InputReplyTo;
1242
+ inputReplyToMonoForum#69d66c45 monoforum_peer_id:InputPeer = InputReplyTo;
1240
1243
  exportedStoryLink#3fc9053b link:string = ExportedStoryLink;
1241
1244
  storiesStealthMode#712e27fd flags:# active_until_date:flags.0?int cooldown_until_date:flags.1?int = StoriesStealthMode;
1242
1245
  mediaAreaCoordinates#cfc9e002 flags:# x:double y:double w:double h:double rotation:double radius:flags.0?double = MediaAreaCoordinates;
@@ -1281,6 +1284,7 @@ storyReactionPublicForward#bbab2643 message:Message = StoryReaction;
1281
1284
  storyReactionPublicRepost#cfcd0f13 peer_id:Peer story:StoryItem = StoryReaction;
1282
1285
  stories.storyReactionsList#aa5f789c flags:# count:int reactions:Vector<StoryReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = stories.StoryReactionsList;
1283
1286
  savedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialog;
1287
+ monoForumDialog#64407ea7 flags:# unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_reactions_count:int draft:flags.1?DraftMessage = SavedDialog;
1284
1288
  messages.savedDialogs#f83ae221 dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs;
1285
1289
  messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs;
1286
1290
  messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs;
@@ -1627,7 +1631,7 @@ messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
1627
1631
  messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
1628
1632
  messages.sendMessage#fbf2340a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long allow_paid_stars:flags.21?long = Updates;
1629
1633
  messages.sendMedia#a550cd78 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long allow_paid_stars:flags.21?long = Updates;
1630
- messages.forwardMessages#bb9fa475 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut video_timestamp:flags.20?int allow_paid_stars:flags.21?long = Updates;
1634
+ messages.forwardMessages#38f0188c flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int reply_to:flags.22?InputReplyTo schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut video_timestamp:flags.20?int allow_paid_stars:flags.21?long = Updates;
1631
1635
  messages.reportSpam#cf1592db peer:InputPeer = Bool;
1632
1636
  messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
1633
1637
  messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
@@ -1709,8 +1713,8 @@ messages.sendMultiMedia#1bf89d74 flags:# silent:flags.5?true background:flags.6?
1709
1713
  messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
1710
1714
  messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
1711
1715
  messages.getSplitRanges#1cff7e08 = Vector<MessageRange>;
1712
- messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;
1713
- messages.getDialogUnreadMarks#22e24e22 = Vector<DialogPeer>;
1716
+ messages.markDialogUnread#8c5006f8 flags:# unread:flags.0?true parent_peer:flags.1?InputPeer peer:InputDialogPeer = Bool;
1717
+ messages.getDialogUnreadMarks#21202222 flags:# parent_peer:flags.0?InputPeer = Vector<DialogPeer>;
1714
1718
  messages.clearAllDrafts#7e58ee9c = Bool;
1715
1719
  messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = Updates;
1716
1720
  messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector<bytes> = Updates;
@@ -1740,7 +1744,7 @@ messages.getOldFeaturedStickers#7ed094a1 offset:int limit:int hash:long = messag
1740
1744
  messages.getReplies#22ddd30c peer:InputPeer msg_id:int offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
1741
1745
  messages.getDiscussionMessage#446972fd peer:InputPeer msg_id:int = messages.DiscussionMessage;
1742
1746
  messages.readDiscussion#f731a9f4 peer:InputPeer msg_id:int read_max_id:int = Bool;
1743
- messages.unpinAllMessages#ee22b9a8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
1747
+ messages.unpinAllMessages#62dd747 flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer = messages.AffectedHistory;
1744
1748
  messages.deleteChat#5bd0ee50 chat_id:long = Bool;
1745
1749
  messages.deletePhoneCallHistory#f9cbe409 flags:# revoke:flags.0?true = messages.AffectedFoundMessages;
1746
1750
  messages.checkHistoryImport#43fe19f3 import_head:string = messages.HistoryImportParsed;
@@ -1771,8 +1775,8 @@ messages.setChatAvailableReactions#864b2581 flags:# peer:InputPeer available_rea
1771
1775
  messages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions;
1772
1776
  messages.setDefaultReaction#4f47a016 reaction:Reaction = Bool;
1773
1777
  messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector<int> text:flags.1?Vector<TextWithEntities> to_lang:string = messages.TranslatedText;
1774
- messages.getUnreadReactions#3223495b flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
1775
- messages.readReactions#54aa7f8e flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
1778
+ messages.getUnreadReactions#bd7f90ac flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
1779
+ messages.readReactions#9ec44f93 flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer = messages.AffectedHistory;
1776
1780
  messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;
1777
1781
  messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
1778
1782
  messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
@@ -1804,9 +1808,9 @@ messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
1804
1808
  messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
1805
1809
  messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;
1806
1810
  messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
1807
- messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
1808
- messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
1809
- messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
1811
+ messages.getSavedDialogs#1e91fc99 flags:# exclude_pinned:flags.0?true parent_peer:flags.1?InputPeer offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
1812
+ messages.getSavedHistory#998ab009 flags:# parent_peer:flags.0?InputPeer peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
1813
+ messages.deleteSavedHistory#4dc5085f flags:# parent_peer:flags.0?InputPeer peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
1810
1814
  messages.getPinnedSavedDialogs#d63d94e0 = messages.SavedDialogs;
1811
1815
  messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;
1812
1816
  messages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector<InputDialogPeer> = Bool;
@@ -1841,6 +1845,8 @@ messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult
1841
1845
  messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
1842
1846
  messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:string lang_code:Vector<string> offset:int limit:int hash:long = messages.FoundStickers;
1843
1847
  messages.reportMessagesDelivery#5a6d7395 flags:# push:flags.0?true peer:InputPeer id:Vector<int> = Bool;
1848
+ messages.getSavedDialogsByID#6f6f9c96 flags:# parent_peer:flags.1?InputPeer ids:Vector<InputPeer> = messages.SavedDialogs;
1849
+ messages.readSavedHistory#ba4a3b5b parent_peer:InputPeer peer:InputPeer max_id:int = Bool;
1844
1850
  updates.getState#edd4882a = updates.State;
1845
1851
  updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
1846
1852
  updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
@@ -1924,7 +1930,7 @@ channels.toggleJoinRequest#4c2985b6 channel:InputChannel enabled:Bool = Updates;
1924
1930
  channels.reorderUsernames#b45ced1d channel:InputChannel order:Vector<string> = Bool;
1925
1931
  channels.toggleUsername#50f24105 channel:InputChannel username:string active:Bool = Bool;
1926
1932
  channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool;
1927
- channels.toggleForum#a4298b29 channel:InputChannel enabled:Bool = Updates;
1933
+ channels.toggleForum#3ff75734 channel:InputChannel enabled:Bool tabs:Bool = Updates;
1928
1934
  channels.createForumTopic#f40c0224 flags:# channel:InputChannel title:string icon_color:flags.0?int icon_emoji_id:flags.3?long random_id:long send_as:flags.2?InputPeer = Updates;
1929
1935
  channels.getForumTopics#de560d1 flags:# channel:InputChannel q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;
1930
1936
  channels.getForumTopicsByID#b0831eb9 channel:InputChannel topics:Vector<int> = messages.ForumTopics;
@@ -1943,8 +1949,9 @@ channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int
1943
1949
  channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool;
1944
1950
  channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates;
1945
1951
  channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
1946
- channels.updatePaidMessagesPrice#fc84653f channel:InputChannel send_paid_messages_stars:long = Updates;
1952
+ channels.updatePaidMessagesPrice#4b12327b flags:# broadcast_messages_allowed:flags.0?true channel:InputChannel send_paid_messages_stars:long = Updates;
1947
1953
  channels.toggleAutotranslation#167fc0a1 channel:InputChannel enabled:Bool = Updates;
1954
+ channels.getMessageAuthor#ece2a0e6 channel:InputChannel id:int = User;
1948
1955
  bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
1949
1956
  bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
1950
1957
  bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;