@mtkruto/node 0.0.821 → 0.0.823

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/tl/2_types.js CHANGED
@@ -3537,10 +3537,10 @@ export class InputChatUploadedPhoto extends TypeInputChatPhoto {
3537
3537
  writable: true,
3538
3538
  value: void 0
3539
3539
  });
3540
- this.file = params.file;
3541
- this.video = params.video;
3542
- this.videoStartTs = params.videoStartTs;
3543
- this.videoEmojiMarkup = params.videoEmojiMarkup;
3540
+ this.file = params?.file;
3541
+ this.video = params?.video;
3542
+ this.videoStartTs = params?.videoStartTs;
3543
+ this.videoEmojiMarkup = params?.videoEmojiMarkup;
3544
3544
  }
3545
3545
  }
3546
3546
  export class InputChatPhoto extends TypeInputChatPhoto {
@@ -6869,9 +6869,9 @@ export class MessageMediaPhoto extends TypeMessageMedia {
6869
6869
  writable: true,
6870
6870
  value: void 0
6871
6871
  });
6872
- this.spoiler = params.spoiler;
6873
- this.photo = params.photo;
6874
- this.ttlSeconds = params.ttlSeconds;
6872
+ this.spoiler = params?.spoiler;
6873
+ this.photo = params?.photo;
6874
+ this.ttlSeconds = params?.ttlSeconds;
6875
6875
  }
6876
6876
  }
6877
6877
  export class MessageMediaGeo extends TypeMessageMedia {
@@ -7022,10 +7022,10 @@ export class MessageMediaDocument extends TypeMessageMedia {
7022
7022
  writable: true,
7023
7023
  value: void 0
7024
7024
  });
7025
- this.nopremium = params.nopremium;
7026
- this.spoiler = params.spoiler;
7027
- this.document = params.document;
7028
- this.ttlSeconds = params.ttlSeconds;
7025
+ this.nopremium = params?.nopremium;
7026
+ this.spoiler = params?.spoiler;
7027
+ this.document = params?.document;
7028
+ this.ttlSeconds = params?.ttlSeconds;
7029
7029
  }
7030
7030
  }
7031
7031
  export class MessageMediaWebPage extends TypeMessageMedia {
@@ -7997,9 +7997,9 @@ export class MessageActionBotAllowed extends TypeMessageAction {
7997
7997
  writable: true,
7998
7998
  value: void 0
7999
7999
  });
8000
- this.attachMenu = params.attachMenu;
8001
- this.domain = params.domain;
8002
- this.app = params.app;
8000
+ this.attachMenu = params?.attachMenu;
8001
+ this.domain = params?.domain;
8002
+ this.app = params?.app;
8003
8003
  }
8004
8004
  }
8005
8005
  export class MessageActionSecureValuesSentMe extends TypeMessageAction {
@@ -8512,10 +8512,10 @@ export class MessageActionTopicEdit extends TypeMessageAction {
8512
8512
  writable: true,
8513
8513
  value: void 0
8514
8514
  });
8515
- this.title = params.title;
8516
- this.iconEmojiId = params.iconEmojiId;
8517
- this.closed = params.closed;
8518
- this.hidden = params.hidden;
8515
+ this.title = params?.title;
8516
+ this.iconEmojiId = params?.iconEmojiId;
8517
+ this.closed = params?.closed;
8518
+ this.hidden = params?.hidden;
8519
8519
  }
8520
8520
  }
8521
8521
  export class MessageActionSuggestProfilePhoto extends TypeMessageAction {
@@ -9459,7 +9459,7 @@ export class AuthAuthorizationSignUpRequired extends TypeAuthAuthorization {
9459
9459
  writable: true,
9460
9460
  value: void 0
9461
9461
  });
9462
- this.termsOfService = params.termsOfService;
9462
+ this.termsOfService = params?.termsOfService;
9463
9463
  }
9464
9464
  }
9465
9465
  export class AuthExportedAuthorization extends TypeAuthExportedAuthorization {
@@ -9645,10 +9645,10 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9645
9645
  writable: true,
9646
9646
  value: void 0
9647
9647
  });
9648
- this.showPreviews = params.showPreviews;
9649
- this.silent = params.silent;
9650
- this.muteUntil = params.muteUntil;
9651
- this.sound = params.sound;
9648
+ this.showPreviews = params?.showPreviews;
9649
+ this.silent = params?.silent;
9650
+ this.muteUntil = params?.muteUntil;
9651
+ this.sound = params?.sound;
9652
9652
  }
9653
9653
  }
9654
9654
  export class PeerNotifySettings extends TypePeerNotifySettings {
@@ -9715,12 +9715,12 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9715
9715
  writable: true,
9716
9716
  value: void 0
9717
9717
  });
9718
- this.showPreviews = params.showPreviews;
9719
- this.silent = params.silent;
9720
- this.muteUntil = params.muteUntil;
9721
- this.iosSound = params.iosSound;
9722
- this.androidSound = params.androidSound;
9723
- this.otherSound = params.otherSound;
9718
+ this.showPreviews = params?.showPreviews;
9719
+ this.silent = params?.silent;
9720
+ this.muteUntil = params?.muteUntil;
9721
+ this.iosSound = params?.iosSound;
9722
+ this.androidSound = params?.androidSound;
9723
+ this.otherSound = params?.otherSound;
9724
9724
  }
9725
9725
  }
9726
9726
  export class PeerSettings extends TypePeerSettings {
@@ -9835,18 +9835,18 @@ export class PeerSettings extends TypePeerSettings {
9835
9835
  writable: true,
9836
9836
  value: void 0
9837
9837
  });
9838
- this.reportSpam = params.reportSpam;
9839
- this.addContact = params.addContact;
9840
- this.blockContact = params.blockContact;
9841
- this.shareContact = params.shareContact;
9842
- this.needContactsException = params.needContactsException;
9843
- this.reportGeo = params.reportGeo;
9844
- this.autoarchived = params.autoarchived;
9845
- this.inviteMembers = params.inviteMembers;
9846
- this.requestChatBroadcast = params.requestChatBroadcast;
9847
- this.geoDistance = params.geoDistance;
9848
- this.requestChatTitle = params.requestChatTitle;
9849
- this.requestChatDate = params.requestChatDate;
9838
+ this.reportSpam = params?.reportSpam;
9839
+ this.addContact = params?.addContact;
9840
+ this.blockContact = params?.blockContact;
9841
+ this.shareContact = params?.shareContact;
9842
+ this.needContactsException = params?.needContactsException;
9843
+ this.reportGeo = params?.reportGeo;
9844
+ this.autoarchived = params?.autoarchived;
9845
+ this.inviteMembers = params?.inviteMembers;
9846
+ this.requestChatBroadcast = params?.requestChatBroadcast;
9847
+ this.geoDistance = params?.geoDistance;
9848
+ this.requestChatTitle = params?.requestChatTitle;
9849
+ this.requestChatDate = params?.requestChatDate;
9850
9850
  }
9851
9851
  }
9852
9852
  export class WallPaper extends TypeWallPaper {
@@ -11386,7 +11386,7 @@ export class InputMessagesFilterPhoneCalls extends TypeMessagesFilter {
11386
11386
  writable: true,
11387
11387
  value: void 0
11388
11388
  });
11389
- this.missed = params.missed;
11389
+ this.missed = params?.missed;
11390
11390
  }
11391
11391
  }
11392
11392
  export class InputMessagesFilterRoundVoice extends TypeMessagesFilter {
@@ -12846,8 +12846,8 @@ export class UpdateStickerSets extends TypeUpdate {
12846
12846
  writable: true,
12847
12847
  value: void 0
12848
12848
  });
12849
- this.masks = params.masks;
12850
- this.emojis = params.emojis;
12849
+ this.masks = params?.masks;
12850
+ this.emojis = params?.emojis;
12851
12851
  }
12852
12852
  }
12853
12853
  export class UpdateSavedGifs extends TypeUpdate {
@@ -13502,8 +13502,8 @@ export class UpdatePinnedDialogs extends TypeUpdate {
13502
13502
  writable: true,
13503
13503
  value: void 0
13504
13504
  });
13505
- this.folderId = params.folderId;
13506
- this.order = params.order;
13505
+ this.folderId = params?.folderId;
13506
+ this.order = params?.order;
13507
13507
  }
13508
13508
  }
13509
13509
  export class UpdateBotWebhookJSON extends TypeUpdate {
@@ -20533,7 +20533,7 @@ export class WebPageNotModified extends TypeWebPage {
20533
20533
  writable: true,
20534
20534
  value: void 0
20535
20535
  });
20536
- this.cachedPageViews = params.cachedPageViews;
20536
+ this.cachedPageViews = params?.cachedPageViews;
20537
20537
  }
20538
20538
  }
20539
20539
  export class Authorization extends TypeAuthorization {
@@ -20908,8 +20908,8 @@ export class AccountPasswordSettings extends TypeAccountPasswordSettings {
20908
20908
  writable: true,
20909
20909
  value: void 0
20910
20910
  });
20911
- this.email = params.email;
20912
- this.secureSettings = params.secureSettings;
20911
+ this.email = params?.email;
20912
+ this.secureSettings = params?.secureSettings;
20913
20913
  }
20914
20914
  }
20915
20915
  export class AccountPasswordInputSettings extends TypeAccountPasswordInputSettings {
@@ -20968,11 +20968,11 @@ export class AccountPasswordInputSettings extends TypeAccountPasswordInputSettin
20968
20968
  writable: true,
20969
20969
  value: void 0
20970
20970
  });
20971
- this.newAlgo = params.newAlgo;
20972
- this.newPasswordHash = params.newPasswordHash;
20973
- this.hint = params.hint;
20974
- this.email = params.email;
20975
- this.newSecureSettings = params.newSecureSettings;
20971
+ this.newAlgo = params?.newAlgo;
20972
+ this.newPasswordHash = params?.newPasswordHash;
20973
+ this.hint = params?.hint;
20974
+ this.email = params?.email;
20975
+ this.newSecureSettings = params?.newSecureSettings;
20976
20976
  }
20977
20977
  }
20978
20978
  export class AuthPasswordRecovery extends TypeAuthPasswordRecovery {
@@ -21858,12 +21858,12 @@ export class BotInfo extends TypeBotInfo {
21858
21858
  writable: true,
21859
21859
  value: void 0
21860
21860
  });
21861
- this.userId = params.userId;
21862
- this.description = params.description;
21863
- this.descriptionPhoto = params.descriptionPhoto;
21864
- this.descriptionDocument = params.descriptionDocument;
21865
- this.commands = params.commands;
21866
- this.menuButton = params.menuButton;
21861
+ this.userId = params?.userId;
21862
+ this.description = params?.description;
21863
+ this.descriptionPhoto = params?.descriptionPhoto;
21864
+ this.descriptionDocument = params?.descriptionDocument;
21865
+ this.commands = params?.commands;
21866
+ this.menuButton = params?.menuButton;
21867
21867
  }
21868
21868
  }
21869
21869
  export class KeyboardButton extends TypeKeyboardButton {
@@ -22505,7 +22505,7 @@ export class ReplyKeyboardHide extends TypeReplyMarkup {
22505
22505
  writable: true,
22506
22506
  value: void 0
22507
22507
  });
22508
- this.selective = params.selective;
22508
+ this.selective = params?.selective;
22509
22509
  }
22510
22510
  }
22511
22511
  export class ReplyKeyboardForceReply extends TypeReplyMarkup {
@@ -22548,9 +22548,9 @@ export class ReplyKeyboardForceReply extends TypeReplyMarkup {
22548
22548
  writable: true,
22549
22549
  value: void 0
22550
22550
  });
22551
- this.singleUse = params.singleUse;
22552
- this.selective = params.selective;
22553
- this.placeholder = params.placeholder;
22551
+ this.singleUse = params?.singleUse;
22552
+ this.selective = params?.selective;
22553
+ this.placeholder = params?.placeholder;
22554
22554
  }
22555
22555
  }
22556
22556
  export class ReplyKeyboardMarkup extends TypeReplyMarkup {
@@ -24310,8 +24310,8 @@ export class ChannelParticipantsMentions extends TypeChannelParticipantsFilter {
24310
24310
  writable: true,
24311
24311
  value: void 0
24312
24312
  });
24313
- this.q = params.q;
24314
- this.topMsgId = params.topMsgId;
24313
+ this.q = params?.q;
24314
+ this.topMsgId = params?.topMsgId;
24315
24315
  }
24316
24316
  }
24317
24317
  export class ChannelsChannelParticipants extends TypeChannelsChannelParticipants {
@@ -24864,7 +24864,7 @@ export class InputBotInlineMessageGame extends TypeInputBotInlineMessage {
24864
24864
  writable: true,
24865
24865
  value: void 0
24866
24866
  });
24867
- this.replyMarkup = params.replyMarkup;
24867
+ this.replyMarkup = params?.replyMarkup;
24868
24868
  }
24869
24869
  }
24870
24870
  export class InputBotInlineMessageMediaInvoice extends TypeInputBotInlineMessage {
@@ -26312,8 +26312,8 @@ export class AuthSentCodeTypeSetUpEmailRequired extends TypeAuthSentCodeType {
26312
26312
  writable: true,
26313
26313
  value: void 0
26314
26314
  });
26315
- this.appleSigninAllowed = params.appleSigninAllowed;
26316
- this.googleSigninAllowed = params.googleSigninAllowed;
26315
+ this.appleSigninAllowed = params?.appleSigninAllowed;
26316
+ this.googleSigninAllowed = params?.googleSigninAllowed;
26317
26317
  }
26318
26318
  }
26319
26319
  export class AuthSentCodeTypeFragmentSms extends TypeAuthSentCodeType {
@@ -26500,7 +26500,7 @@ export class MessagesMessageEditData extends TypeMessagesMessageEditData {
26500
26500
  writable: true,
26501
26501
  value: void 0
26502
26502
  });
26503
- this.caption = params.caption;
26503
+ this.caption = params?.caption;
26504
26504
  }
26505
26505
  }
26506
26506
  export class InputBotInlineMessageID extends TypeInputBotInlineMessageID {
@@ -26977,7 +26977,7 @@ export class DraftMessageEmpty extends TypeDraftMessage {
26977
26977
  writable: true,
26978
26978
  value: void 0
26979
26979
  });
26980
- this.date = params.date;
26980
+ this.date = params?.date;
26981
26981
  }
26982
26982
  }
26983
26983
  export class DraftMessage extends TypeDraftMessage {
@@ -29643,10 +29643,10 @@ export class PaymentRequestedInfo extends TypePaymentRequestedInfo {
29643
29643
  writable: true,
29644
29644
  value: void 0
29645
29645
  });
29646
- this.name = params.name;
29647
- this.phone = params.phone;
29648
- this.email = params.email;
29649
- this.shippingAddress = params.shippingAddress;
29646
+ this.name = params?.name;
29647
+ this.phone = params?.phone;
29648
+ this.email = params?.email;
29649
+ this.shippingAddress = params?.shippingAddress;
29650
29650
  }
29651
29651
  }
29652
29652
  export class PaymentSavedCredentialsCard extends TypePaymentSavedCredentials {
@@ -30000,10 +30000,10 @@ export class InputWebFileAudioAlbumThumbLocation extends TypeInputWebFileLocatio
30000
30000
  writable: true,
30001
30001
  value: void 0
30002
30002
  });
30003
- this.small = params.small;
30004
- this.document = params.document;
30005
- this.title = params.title;
30006
- this.performer = params.performer;
30003
+ this.small = params?.small;
30004
+ this.document = params?.document;
30005
+ this.title = params?.title;
30006
+ this.performer = params?.performer;
30007
30007
  }
30008
30008
  }
30009
30009
  export class UploadWebFile extends TypeUploadWebFile {
@@ -30261,8 +30261,8 @@ export class PaymentsValidatedRequestedInfo extends TypePaymentsValidatedRequest
30261
30261
  writable: true,
30262
30262
  value: void 0
30263
30263
  });
30264
- this.id = params.id;
30265
- this.shippingOptions = params.shippingOptions;
30264
+ this.id = params?.id;
30265
+ this.shippingOptions = params?.shippingOptions;
30266
30266
  }
30267
30267
  }
30268
30268
  export class PaymentsPaymentResult extends TypePaymentsPaymentResult {
@@ -30491,8 +30491,8 @@ export class PaymentsSavedInfo extends TypePaymentsSavedInfo {
30491
30491
  writable: true,
30492
30492
  value: void 0
30493
30493
  });
30494
- this.hasSavedCredentials = params.hasSavedCredentials;
30495
- this.savedInfo = params.savedInfo;
30494
+ this.hasSavedCredentials = params?.hasSavedCredentials;
30495
+ this.savedInfo = params?.savedInfo;
30496
30496
  }
30497
30497
  }
30498
30498
  export class InputPaymentCredentialsSaved extends TypeInputPaymentCredentials {
@@ -33158,8 +33158,8 @@ export class ChannelAdminLogEventActionPinTopic extends TypeChannelAdminLogEvent
33158
33158
  writable: true,
33159
33159
  value: void 0
33160
33160
  });
33161
- this.prevTopic = params.prevTopic;
33162
- this.newTopic = params.newTopic;
33161
+ this.prevTopic = params?.prevTopic;
33162
+ this.newTopic = params?.newTopic;
33163
33163
  }
33164
33164
  }
33165
33165
  export class ChannelAdminLogEventActionToggleAntiSpam extends TypeChannelAdminLogEventAction {
@@ -33442,24 +33442,24 @@ export class ChannelAdminLogEventsFilter extends TypeChannelAdminLogEventsFilter
33442
33442
  writable: true,
33443
33443
  value: void 0
33444
33444
  });
33445
- this.join = params.join;
33446
- this.leave = params.leave;
33447
- this.invite = params.invite;
33448
- this.ban = params.ban;
33449
- this.unban = params.unban;
33450
- this.kick = params.kick;
33451
- this.unkick = params.unkick;
33452
- this.promote = params.promote;
33453
- this.demote = params.demote;
33454
- this.info = params.info;
33455
- this.settings = params.settings;
33456
- this.pinned = params.pinned;
33457
- this.edit = params.edit;
33458
- this.delete = params.delete;
33459
- this.groupCall = params.groupCall;
33460
- this.invites = params.invites;
33461
- this.send = params.send;
33462
- this.forums = params.forums;
33445
+ this.join = params?.join;
33446
+ this.leave = params?.leave;
33447
+ this.invite = params?.invite;
33448
+ this.ban = params?.ban;
33449
+ this.unban = params?.unban;
33450
+ this.kick = params?.kick;
33451
+ this.unkick = params?.unkick;
33452
+ this.promote = params?.promote;
33453
+ this.demote = params?.demote;
33454
+ this.info = params?.info;
33455
+ this.settings = params?.settings;
33456
+ this.pinned = params?.pinned;
33457
+ this.edit = params?.edit;
33458
+ this.delete = params?.delete;
33459
+ this.groupCall = params?.groupCall;
33460
+ this.invites = params?.invites;
33461
+ this.send = params?.send;
33462
+ this.forums = params?.forums;
33463
33463
  }
33464
33464
  }
33465
33465
  export class PopularContact extends TypePopularContact {
@@ -36344,14 +36344,14 @@ export class PageTableCell extends TypePageTableCell {
36344
36344
  writable: true,
36345
36345
  value: void 0
36346
36346
  });
36347
- this.header = params.header;
36348
- this.alignCenter = params.alignCenter;
36349
- this.alignRight = params.alignRight;
36350
- this.valignMiddle = params.valignMiddle;
36351
- this.valignBottom = params.valignBottom;
36352
- this.text = params.text;
36353
- this.colspan = params.colspan;
36354
- this.rowspan = params.rowspan;
36347
+ this.header = params?.header;
36348
+ this.alignCenter = params?.alignCenter;
36349
+ this.alignRight = params?.alignRight;
36350
+ this.valignMiddle = params?.valignMiddle;
36351
+ this.valignBottom = params?.valignBottom;
36352
+ this.text = params?.text;
36353
+ this.colspan = params?.colspan;
36354
+ this.rowspan = params?.rowspan;
36355
36355
  }
36356
36356
  }
36357
36357
  export class PageTableRow extends TypePageTableRow {
@@ -37044,12 +37044,12 @@ export class PollResults extends TypePollResults {
37044
37044
  writable: true,
37045
37045
  value: void 0
37046
37046
  });
37047
- this.min = params.min;
37048
- this.results = params.results;
37049
- this.totalVoters = params.totalVoters;
37050
- this.recentVoters = params.recentVoters;
37051
- this.solution = params.solution;
37052
- this.solutionEntities = params.solutionEntities;
37047
+ this.min = params?.min;
37048
+ this.results = params?.results;
37049
+ this.totalVoters = params?.totalVoters;
37050
+ this.recentVoters = params?.recentVoters;
37051
+ this.solution = params?.solution;
37052
+ this.solutionEntities = params?.solutionEntities;
37053
37053
  }
37054
37054
  }
37055
37055
  export class ChatOnlines extends TypeChatOnlines {
@@ -37214,18 +37214,18 @@ export class ChatAdminRights extends TypeChatAdminRights {
37214
37214
  writable: true,
37215
37215
  value: void 0
37216
37216
  });
37217
- this.changeInfo = params.changeInfo;
37218
- this.postMessages = params.postMessages;
37219
- this.editMessages = params.editMessages;
37220
- this.deleteMessages = params.deleteMessages;
37221
- this.banUsers = params.banUsers;
37222
- this.inviteUsers = params.inviteUsers;
37223
- this.pinMessages = params.pinMessages;
37224
- this.addAdmins = params.addAdmins;
37225
- this.anonymous = params.anonymous;
37226
- this.manageCall = params.manageCall;
37227
- this.other = params.other;
37228
- this.manageTopics = params.manageTopics;
37217
+ this.changeInfo = params?.changeInfo;
37218
+ this.postMessages = params?.postMessages;
37219
+ this.editMessages = params?.editMessages;
37220
+ this.deleteMessages = params?.deleteMessages;
37221
+ this.banUsers = params?.banUsers;
37222
+ this.inviteUsers = params?.inviteUsers;
37223
+ this.pinMessages = params?.pinMessages;
37224
+ this.addAdmins = params?.addAdmins;
37225
+ this.anonymous = params?.anonymous;
37226
+ this.manageCall = params?.manageCall;
37227
+ this.other = params?.other;
37228
+ this.manageTopics = params?.manageTopics;
37229
37229
  }
37230
37230
  }
37231
37231
  export class ChatBannedRights extends TypeChatBannedRights {
@@ -37647,14 +37647,14 @@ export class CodeSettings extends TypeCodeSettings {
37647
37647
  writable: true,
37648
37648
  value: void 0
37649
37649
  });
37650
- this.allowFlashcall = params.allowFlashcall;
37651
- this.currentNumber = params.currentNumber;
37652
- this.allowAppHash = params.allowAppHash;
37653
- this.allowMissedCall = params.allowMissedCall;
37654
- this.allowFirebase = params.allowFirebase;
37655
- this.logoutTokens = params.logoutTokens;
37656
- this.token = params.token;
37657
- this.appSandbox = params.appSandbox;
37650
+ this.allowFlashcall = params?.allowFlashcall;
37651
+ this.currentNumber = params?.currentNumber;
37652
+ this.allowAppHash = params?.allowAppHash;
37653
+ this.allowMissedCall = params?.allowMissedCall;
37654
+ this.allowFirebase = params?.allowFirebase;
37655
+ this.logoutTokens = params?.logoutTokens;
37656
+ this.token = params?.token;
37657
+ this.appSandbox = params?.appSandbox;
37658
37658
  }
37659
37659
  }
37660
37660
  export class WallPaperSettings extends TypeWallPaperSettings {
@@ -37737,14 +37737,14 @@ export class WallPaperSettings extends TypeWallPaperSettings {
37737
37737
  writable: true,
37738
37738
  value: void 0
37739
37739
  });
37740
- this.blur = params.blur;
37741
- this.motion = params.motion;
37742
- this.backgroundColor = params.backgroundColor;
37743
- this.secondBackgroundColor = params.secondBackgroundColor;
37744
- this.thirdBackgroundColor = params.thirdBackgroundColor;
37745
- this.fourthBackgroundColor = params.fourthBackgroundColor;
37746
- this.intensity = params.intensity;
37747
- this.rotation = params.rotation;
37740
+ this.blur = params?.blur;
37741
+ this.motion = params?.motion;
37742
+ this.backgroundColor = params?.backgroundColor;
37743
+ this.secondBackgroundColor = params?.secondBackgroundColor;
37744
+ this.thirdBackgroundColor = params?.thirdBackgroundColor;
37745
+ this.fourthBackgroundColor = params?.fourthBackgroundColor;
37746
+ this.intensity = params?.intensity;
37747
+ this.rotation = params?.rotation;
37748
37748
  }
37749
37749
  }
37750
37750
  export class AutoDownloadSettings extends TypeAutoDownloadSettings {
@@ -38827,8 +38827,8 @@ export class AccountContentSettings extends TypeAccountContentSettings {
38827
38827
  writable: true,
38828
38828
  value: void 0
38829
38829
  });
38830
- this.sensitiveEnabled = params.sensitiveEnabled;
38831
- this.sensitiveCanChange = params.sensitiveCanChange;
38830
+ this.sensitiveEnabled = params?.sensitiveEnabled;
38831
+ this.sensitiveCanChange = params?.sensitiveCanChange;
38832
38832
  }
38833
38833
  }
38834
38834
  export class MessagesInactiveChats extends TypeMessagesInactiveChats {
@@ -39129,8 +39129,8 @@ export class WebPageAttributeTheme extends TypeWebPageAttribute {
39129
39129
  writable: true,
39130
39130
  value: void 0
39131
39131
  });
39132
- this.documents = params.documents;
39133
- this.settings = params.settings;
39132
+ this.documents = params?.documents;
39133
+ this.settings = params?.settings;
39134
39134
  }
39135
39135
  }
39136
39136
  export class MessageUserVote extends TypeMessageUserVote {
@@ -40589,7 +40589,7 @@ export class GlobalPrivacySettings extends TypeGlobalPrivacySettings {
40589
40589
  writable: true,
40590
40590
  value: void 0
40591
40591
  });
40592
- this.archiveAndMuteNewNoncontactPeers = params.archiveAndMuteNewNoncontactPeers;
40592
+ this.archiveAndMuteNewNoncontactPeers = params?.archiveAndMuteNewNoncontactPeers;
40593
40593
  }
40594
40594
  }
40595
40595
  export class HelpCountryCode extends TypeHelpCountryCode {
@@ -40788,9 +40788,9 @@ export class MessageViews extends TypeMessageViews {
40788
40788
  writable: true,
40789
40789
  value: void 0
40790
40790
  });
40791
- this.views = params.views;
40792
- this.forwards = params.forwards;
40793
- this.replies = params.replies;
40791
+ this.views = params?.views;
40792
+ this.forwards = params?.forwards;
40793
+ this.replies = params?.replies;
40794
40794
  }
40795
40795
  }
40796
40796
  export class MessagesMessageViews extends TypeMessagesMessageViews {
@@ -41846,9 +41846,9 @@ export class MessagesHistoryImportParsed extends TypeMessagesHistoryImportParsed
41846
41846
  writable: true,
41847
41847
  value: void 0
41848
41848
  });
41849
- this.pm = params.pm;
41850
- this.group = params.group;
41851
- this.title = params.title;
41849
+ this.pm = params?.pm;
41850
+ this.group = params?.group;
41851
+ this.title = params?.title;
41852
41852
  }
41853
41853
  }
41854
41854
  export class MessagesAffectedFoundMessages extends TypeMessagesAffectedFoundMessages {
@@ -43200,7 +43200,7 @@ export class AuthLoggedOut extends TypeAuthLoggedOut {
43200
43200
  writable: true,
43201
43201
  value: void 0
43202
43202
  });
43203
- this.futureAuthToken = params.futureAuthToken;
43203
+ this.futureAuthToken = params?.futureAuthToken;
43204
43204
  }
43205
43205
  }
43206
43206
  export class ReactionCount extends TypeReactionCount {
@@ -44029,7 +44029,7 @@ export class WebViewMessageSent extends TypeWebViewMessageSent {
44029
44029
  writable: true,
44030
44030
  value: void 0
44031
44031
  });
44032
- this.msgId = params.msgId;
44032
+ this.msgId = params?.msgId;
44033
44033
  }
44034
44034
  }
44035
44035
  export class BotMenuButtonDefault extends TypeBotMenuButton {
@@ -44569,8 +44569,8 @@ export class InputStorePaymentPremiumSubscription extends TypeInputStorePaymentP
44569
44569
  writable: true,
44570
44570
  value: void 0
44571
44571
  });
44572
- this.restore = params.restore;
44573
- this.upgrade = params.upgrade;
44572
+ this.restore = params?.restore;
44573
+ this.upgrade = params?.upgrade;
44574
44574
  }
44575
44575
  }
44576
44576
  export class InputStorePaymentGiftPremium extends TypeInputStorePaymentPurpose {
@@ -44936,7 +44936,7 @@ export class ChatReactionsAll extends TypeChatReactions {
44936
44936
  writable: true,
44937
44937
  value: void 0
44938
44938
  });
44939
- this.allowCustom = params.allowCustom;
44939
+ this.allowCustom = params?.allowCustom;
44940
44940
  }
44941
44941
  }
44942
44942
  export class ChatReactionsSome extends TypeChatReactions {
@@ -45382,10 +45382,10 @@ export class MessageExtendedMediaPreview extends TypeMessageExtendedMedia {
45382
45382
  writable: true,
45383
45383
  value: void 0
45384
45384
  });
45385
- this.w = params.w;
45386
- this.h = params.h;
45387
- this.thumb = params.thumb;
45388
- this.videoDuration = params.videoDuration;
45385
+ this.w = params?.w;
45386
+ this.h = params?.h;
45387
+ this.thumb = params?.thumb;
45388
+ this.videoDuration = params?.videoDuration;
45389
45389
  }
45390
45390
  }
45391
45391
  export class MessageExtendedMedia extends TypeMessageExtendedMedia {
@@ -45878,8 +45878,8 @@ export class RequestPeerTypeUser extends TypeRequestPeerType {
45878
45878
  writable: true,
45879
45879
  value: void 0
45880
45880
  });
45881
- this.bot = params.bot;
45882
- this.premium = params.premium;
45881
+ this.bot = params?.bot;
45882
+ this.premium = params?.premium;
45883
45883
  }
45884
45884
  }
45885
45885
  export class RequestPeerTypeChat extends TypeRequestPeerType {
@@ -45946,12 +45946,12 @@ export class RequestPeerTypeChat extends TypeRequestPeerType {
45946
45946
  writable: true,
45947
45947
  value: void 0
45948
45948
  });
45949
- this.creator = params.creator;
45950
- this.botParticipant = params.botParticipant;
45951
- this.hasUsername = params.hasUsername;
45952
- this.forum = params.forum;
45953
- this.userAdminRights = params.userAdminRights;
45954
- this.botAdminRights = params.botAdminRights;
45949
+ this.creator = params?.creator;
45950
+ this.botParticipant = params?.botParticipant;
45951
+ this.hasUsername = params?.hasUsername;
45952
+ this.forum = params?.forum;
45953
+ this.userAdminRights = params?.userAdminRights;
45954
+ this.botAdminRights = params?.botAdminRights;
45955
45955
  }
45956
45956
  }
45957
45957
  export class RequestPeerTypeBroadcast extends TypeRequestPeerType {
@@ -46002,10 +46002,10 @@ export class RequestPeerTypeBroadcast extends TypeRequestPeerType {
46002
46002
  writable: true,
46003
46003
  value: void 0
46004
46004
  });
46005
- this.creator = params.creator;
46006
- this.hasUsername = params.hasUsername;
46007
- this.userAdminRights = params.userAdminRights;
46008
- this.botAdminRights = params.botAdminRights;
46005
+ this.creator = params?.creator;
46006
+ this.hasUsername = params?.hasUsername;
46007
+ this.userAdminRights = params?.userAdminRights;
46008
+ this.botAdminRights = params?.botAdminRights;
46009
46009
  }
46010
46010
  }
46011
46011
  export class EmojiListNotModified extends TypeEmojiList {
@@ -46246,9 +46246,9 @@ export class AutoSaveSettings extends TypeAutoSaveSettings {
46246
46246
  writable: true,
46247
46247
  value: void 0
46248
46248
  });
46249
- this.photos = params.photos;
46250
- this.videos = params.videos;
46251
- this.videoMaxSize = params.videoMaxSize;
46249
+ this.photos = params?.photos;
46250
+ this.videos = params?.videos;
46251
+ this.videoMaxSize = params?.videoMaxSize;
46252
46252
  }
46253
46253
  }
46254
46254
  export class AutoSaveException extends TypeAutoSaveException {