From 605f36872db2048bdd1e12b0841b651de0c4220c Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 3 Apr 2020 11:53:02 +0430 Subject: [PATCH 01/12] api: Update to Layer 108 --- .../{TLAbsPassword.cs => TLAbsThemes.cs} | 2 +- .../TL/Account/TLAbsWallPapers.cs | 13 ++ .../TL/Account/TLAuthorizationForm.cs | 62 ++++++++ .../TL/Account/TLAutoDownloadSettings.cs | 48 ++++++ .../{TLNoPassword.cs => TLContentSettings.cs} | 21 +-- src/TeleSharp.TL/TL/Account/TLPassword.cs | 78 +++++++-- .../TL/Account/TLPasswordInputSettings.cs | 26 +-- .../TL/Account/TLPasswordSettings.cs | 24 ++- src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs | 7 +- .../Account/TLRequestAcceptAuthorization.cs | 60 +++++++ .../Account/TLRequestCancelPasswordEmail.cs | 45 ++++++ .../Account/TLRequestConfirmPasswordEmail.cs | 48 ++++++ .../TL/Account/TLRequestCreateTheme.cs | 70 ++++++++ .../TLRequestDeleteSecureValue.cs} | 17 +- .../Account/TLRequestFinishTakeoutSession.cs | 51 ++++++ .../TL/Account/TLRequestGetAllSecureValues.cs | 45 ++++++ .../Account/TLRequestGetAuthorizationForm.cs | 54 +++++++ .../TLRequestGetAutoDownloadSettings.cs | 45 ++++++ .../TLRequestGetContactSignUpNotification.cs | 45 ++++++ .../TL/Account/TLRequestGetContentSettings.cs | 45 ++++++ .../TL/Account/TLRequestGetMultiWallPapers.cs | 48 ++++++ .../Account/TLRequestGetNotifyExceptions.cs | 59 +++++++ .../TL/Account/TLRequestGetNotifySettings.cs | 4 +- .../TL/Account/TLRequestGetPassword.cs | 4 +- .../Account/TLRequestGetPasswordSettings.cs | 10 +- .../TL/Account/TLRequestGetSecureValue.cs | 48 ++++++ .../TL/Account/TLRequestGetTheme.cs | 54 +++++++ .../TL/Account/TLRequestGetThemes.cs | 51 ++++++ .../TL/Account/TLRequestGetTmpPassword.cs | 10 +- .../TL/Account/TLRequestGetWallPaper.cs | 48 ++++++ .../TL/Account/TLRequestGetWallPapers.cs | 11 +- .../Account/TLRequestGetWebAuthorizations.cs | 45 ++++++ .../TL/Account/TLRequestInitTakeoutSession.cs | 74 +++++++++ .../TL/Account/TLRequestInstallTheme.cs | 67 ++++++++ .../TL/Account/TLRequestInstallWallPaper.cs | 51 ++++++ .../TL/Account/TLRequestRegisterDevice.cs | 19 ++- .../Account/TLRequestResendPasswordEmail.cs | 45 ++++++ .../TL/Account/TLRequestResetWallPapers.cs | 45 ++++++ .../Account/TLRequestResetWebAuthorization.cs | 48 ++++++ .../TLRequestResetWebAuthorizations.cs | 45 ++++++ .../TLRequestSaveAutoDownloadSettings.cs | 57 +++++++ .../TL/Account/TLRequestSaveSecureValue.cs | 51 ++++++ .../TL/Account/TLRequestSaveTheme.cs | 51 ++++++ .../TL/Account/TLRequestSaveWallPaper.cs | 54 +++++++ .../Account/TLRequestSendChangePhoneCode.cs | 25 +-- .../Account/TLRequestSendConfirmPhoneCode.cs | 25 +-- .../Account/TLRequestSendVerifyEmailCode.cs | 48 ++++++ .../TLRequestSendVerifyPhoneCode.cs} | 15 +- .../TLRequestSetContactSignUpNotification.cs | 48 ++++++ .../TL/Account/TLRequestSetContentSettings.cs | 51 ++++++ .../TL/Account/TLRequestUnregisterDevice.cs | 7 +- .../TLRequestUpdatePasswordSettings.cs | 10 +- .../TL/Account/TLRequestUpdateProfile.cs | 5 - .../TL/Account/TLRequestUpdateTheme.cs | 86 ++++++++++ .../TLRequestUploadTheme.cs} | 39 +++-- .../TL/Account/TLRequestUploadWallPaper.cs | 54 +++++++ .../TL/Account/TLRequestVerifyEmail.cs | 51 ++++++ .../TL/Account/TLRequestVerifyPhone.cs | 54 +++++++ .../TL/Account/TLSentEmailCode.cs | 45 ++++++ src/TeleSharp.TL/TL/Account/TLTakeout.cs | 42 +++++ src/TeleSharp.TL/TL/Account/TLThemes.cs | 45 ++++++ .../TL/Account/TLThemesNotModified.cs | 39 +++++ src/TeleSharp.TL/TL/Account/TLWallPapers.cs | 45 ++++++ .../TL/Account/TLWallPapersNotModified.cs | 39 +++++ .../TL/Account/TLWebAuthorizations.cs | 45 ++++++ .../TL/Auth/TLAbsAuthorization.cs | 13 ++ src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs | 13 ++ src/TeleSharp.TL/TL/Auth/TLAuthorization.cs | 5 +- .../TL/Auth/TLAuthorizationSignUpRequired.cs | 50 ++++++ src/TeleSharp.TL/TL/Auth/TLLoginToken.cs | 45 ++++++ .../TL/Auth/TLLoginTokenMigrateTo.cs | 45 ++++++ ...CheckedPhone.cs => TLLoginTokenSuccess.cs} | 12 +- .../TL/Auth/TLRequestAcceptLoginToken.cs | 48 ++++++ .../TL/Auth/TLRequestCheckPassword.cs | 14 +- .../TL/Auth/TLRequestExportLoginToken.cs | 54 +++++++ .../TL/Auth/TLRequestImportAuthorization.cs | 4 +- .../Auth/TLRequestImportBotAuthorization.cs | 6 +- .../TL/Auth/TLRequestImportLoginToken.cs | 48 ++++++ .../TL/Auth/TLRequestRecoverPassword.cs | 4 +- src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs | 25 +-- src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs | 4 +- src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs | 7 +- src/TeleSharp.TL/TL/Auth/TLSentCode.cs | 8 - .../TL/Channels/TLAbsChannelParticipants.cs | 13 ++ .../TL/Channels/TLAdminLogResults.cs | 48 ++++++ .../TL/Channels/TLChannelParticipants.cs | 2 +- .../TLChannelParticipantsNotModified.cs | 39 +++++ .../TL/Channels/TLRequestCreateChannel.cs | 24 ++- ...EditAbout.cs => TLRequestDeleteHistory.cs} | 12 +- .../TL/Channels/TLRequestEditAdmin.cs | 13 +- ...kFromChannel.cs => TLRequestEditBanned.cs} | 12 +- .../TL/Channels/TLRequestEditCreator.cs | 54 +++++++ .../TL/Channels/TLRequestEditLocation.cs | 54 +++++++ .../TL/Channels/TLRequestExportMessageLink.cs | 7 +- .../TL/Channels/TLRequestGetAdminLog.cs | 79 ++++++++++ .../TLRequestGetAdminedPublicChannels.cs | 13 +- .../TLRequestGetGroupsForDiscussion.cs | 45 ++++++ .../Channels/TLRequestGetInactiveChannels.cs | 45 ++++++ .../TL/Channels/TLRequestGetLeftChannels.cs | 48 ++++++ .../TL/Channels/TLRequestGetMessages.cs | 8 +- .../TL/Channels/TLRequestGetParticipants.cs | 11 +- .../Channels/TLRequestReadMessageContents.cs | 51 ++++++ .../Channels/TLRequestSetDiscussionGroup.cs | 51 ++++++ .../TL/Channels/TLRequestSetStickers.cs | 51 ++++++ ....cs => TLRequestTogglePreHistoryHidden.cs} | 6 +- ...rtInvite.cs => TLRequestToggleSlowMode.cs} | 13 +- src/TeleSharp.TL/TL/Contacts/TLContacts.cs | 7 +- src/TeleSharp.TL/TL/Contacts/TLFound.cs | 7 +- .../TL/Contacts/TLImportedContacts.cs | 7 +- src/TeleSharp.TL/TL/Contacts/TLLink.cs | 48 ------ ...teContact.cs => TLRequestAcceptContact.cs} | 10 +- .../TL/Contacts/TLRequestAddContact.cs | 63 ++++++++ ...portCard.cs => TLRequestDeleteByPhones.cs} | 16 +- .../TL/Contacts/TLRequestDeleteContacts.cs | 8 +- ...xportCard.cs => TLRequestGetContactIDs.cs} | 9 +- .../TL/Contacts/TLRequestGetContacts.cs | 10 +- .../TL/Contacts/TLRequestGetLocated.cs | 48 ++++++ .../TL/Contacts/TLRequestGetSaved.cs | 45 ++++++ .../TL/Contacts/TLRequestGetTopPeers.cs | 14 +- .../TL/Contacts/TLRequestImportContacts.cs | 7 +- .../TL/Contacts/TLRequestResetSaved.cs | 45 ++++++ .../TLRequestToggleTopPeers.cs} | 15 +- .../TL/Contacts/TLTopPeersDisabled.cs | 39 +++++ .../TL/Folders/TLRequestDeleteFolder.cs | 48 ++++++ .../TL/Folders/TLRequestEditPeerFolders.cs | 48 ++++++ src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs | 13 ++ .../TL/Help/TLAbsPassportConfig.cs | 13 ++ src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs | 13 ++ .../TL/Help/TLAbsTermsOfServiceUpdate.cs | 13 ++ src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs | 13 ++ src/TeleSharp.TL/TL/Help/TLAppUpdate.cs | 38 ++++- src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs | 56 +++++++ .../TL/Help/TLDeepLinkInfoEmpty.cs | 39 +++++ src/TeleSharp.TL/TL/Help/TLPassportConfig.cs | 45 ++++++ .../TL/Help/TLPassportConfigNotModified.cs | 39 +++++ src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs | 42 +++++ src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs | 51 ++++++ src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs | 48 ++++++ .../TL/Help/TLRequestAcceptTermsOfService.cs | 48 ++++++ .../TL/Help/TLRequestEditUserInfo.cs | 54 +++++++ ...sOfService.cs => TLRequestGetAppConfig.cs} | 10 +- .../TL/Help/TLRequestGetAppUpdate.cs | 7 +- .../TL/Help/TLRequestGetDeepLinkInfo.cs | 48 ++++++ .../TL/Help/TLRequestGetPassportConfig.cs | 48 ++++++ .../TL/Help/TLRequestGetProxyData.cs | 45 ++++++ .../TL/Help/TLRequestGetRecentMeUrls.cs | 48 ++++++ .../TL/Help/TLRequestGetSupportName.cs | 45 ++++++ .../Help/TLRequestGetTermsOfServiceUpdate.cs | 45 ++++++ .../TL/Help/TLRequestGetUserInfo.cs | 48 ++++++ src/TeleSharp.TL/TL/Help/TLSupportName.cs | 42 +++++ src/TeleSharp.TL/TL/Help/TLTermsOfService.cs | 24 ++- .../TL/Help/TLTermsOfServiceUpdate.cs | 45 ++++++ .../TL/Help/TLTermsOfServiceUpdateEmpty.cs | 42 +++++ src/TeleSharp.TL/TL/Help/TLUserInfo.cs | 51 ++++++ src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs | 39 +++++ .../TL/Langpack/TLRequestGetDifference.cs | 54 +++++++ .../TL/Langpack/TLRequestGetLangPack.cs | 51 ++++++ .../TL/Langpack/TLRequestGetLanguage.cs | 51 ++++++ .../TL/Langpack/TLRequestGetLanguages.cs | 48 ++++++ .../TL/Langpack/TLRequestGetStrings.cs | 54 +++++++ .../TL/Messages/TLAbsFavedStickers.cs | 13 ++ .../TL/Messages/TLAbsFoundStickerSets.cs | 13 ++ .../TL/Messages/TLBotCallbackAnswer.cs | 9 +- src/TeleSharp.TL/TL/Messages/TLBotResults.cs | 12 +- .../TL/Messages/TLChannelMessages.cs | 5 +- src/TeleSharp.TL/TL/Messages/TLDialogs.cs | 4 +- .../TL/Messages/TLDialogsNotModified.cs | 42 +++++ .../TL/Messages/TLDialogsSlice.cs | 4 +- .../TL/Messages/TLFavedStickers.cs | 48 ++++++ .../TLFavedStickersNotModified.cs} | 8 +- .../TL/Messages/TLFoundStickerSets.cs | 45 ++++++ .../Messages/TLFoundStickerSetsNotModified.cs | 39 +++++ .../TL/Messages/TLInactiveChats.cs | 48 ++++++ .../TL/Messages/TLMessageEditData.cs | 3 - .../TL/Messages/TLMessagesNotModified.cs | 42 +++++ .../TL/Messages/TLMessagesSlice.cs | 18 ++- src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs | 4 +- .../TL/Messages/TLRecentStickers.cs | 10 +- .../TL/Messages/TLRequestAcceptUrlAuth.cs | 60 +++++++ .../TL/Messages/TLRequestClearAllDrafts.cs | 45 ++++++ .../Messages/TLRequestClearRecentStickers.cs | 3 - .../TL/Messages/TLRequestDeleteHistory.cs | 6 +- .../TL/Messages/TLRequestDeleteMessages.cs | 3 - .../TLRequestDeleteScheduledMessages.cs | 51 ++++++ .../TL/Messages/TLRequestEditChatAbout.cs | 51 ++++++ .../TLRequestEditChatDefaultBannedRights.cs | 51 ++++++ .../Messages/TLRequestEditInlineBotMessage.cs | 18 ++- .../TL/Messages/TLRequestEditMessage.cs | 26 ++- .../TL/Messages/TLRequestExportChatInvite.cs | 10 +- .../TL/Messages/TLRequestFaveSticker.cs | 51 ++++++ .../TL/Messages/TLRequestForwardMessages.cs | 20 ++- .../Messages/TLRequestGetArchivedStickers.cs | 3 - .../Messages/TLRequestGetBotCallbackAnswer.cs | 4 - .../Messages/TLRequestGetDialogUnreadMarks.cs | 45 ++++++ .../TL/Messages/TLRequestGetDialogs.cs | 18 ++- .../TL/Messages/TLRequestGetEmojiKeywords.cs | 48 ++++++ .../TLRequestGetEmojiKeywordsDifference.cs | 51 ++++++ .../TLRequestGetEmojiKeywordsLanguages.cs | 48 ++++++ .../TL/Messages/TLRequestGetEmojiURL.cs | 48 ++++++ .../TL/Messages/TLRequestGetFavedStickers.cs | 48 ++++++ .../TL/Messages/TLRequestGetHistory.cs | 7 +- .../Messages/TLRequestGetInlineBotResults.cs | 3 - .../TL/Messages/TLRequestGetMessages.cs | 8 +- .../TL/Messages/TLRequestGetOnlines.cs | 48 ++++++ .../TL/Messages/TLRequestGetPeerDialogs.cs | 8 +- .../TL/Messages/TLRequestGetPinnedDialogs.cs | 7 +- .../TL/Messages/TLRequestGetPollResults.cs | 51 ++++++ .../Messages/TLRequestGetRecentLocations.cs | 54 +++++++ .../TL/Messages/TLRequestGetRecentStickers.cs | 3 - .../Messages/TLRequestGetScheduledHistory.cs | 51 ++++++ .../Messages/TLRequestGetScheduledMessages.cs | 51 ++++++ .../TL/Messages/TLRequestGetSearchCounters.cs | 51 ++++++ .../TL/Messages/TLRequestGetSplitRanges.cs | 45 ++++++ .../TL/Messages/TLRequestGetStatsURL.cs | 57 +++++++ .../TL/Messages/TLRequestGetStickers.cs | 51 ++++++ .../TL/Messages/TLRequestGetUnreadMentions.cs | 63 ++++++++ .../TL/Messages/TLRequestGetWebPagePreview.cs | 15 +- ...pam.cs => TLRequestHidePeerSettingsBar.cs} | 6 +- .../TL/Messages/TLRequestMarkDialogUnread.cs | 54 +++++++ .../TL/Messages/TLRequestReadMentions.cs | 48 ++++++ .../Messages/TLRequestReorderPinnedDialogs.cs | 14 +- .../Messages/TLRequestReorderStickerSets.cs | 3 - .../TL/Messages/TLRequestReport.cs | 54 +++++++ .../TL/Messages/TLRequestRequestUrlAuth.cs | 54 +++++++ .../TL/Messages/TLRequestSaveDraft.cs | 5 - .../TL/Messages/TLRequestSaveRecentSticker.cs | 3 - .../TL/Messages/TLRequestSearch.cs | 35 ++-- .../TL/Messages/TLRequestSearchGlobal.cs | 21 ++- .../TL/Messages/TLRequestSearchStickerSets.cs | 57 +++++++ .../Messages/TLRequestSendInlineBotResult.cs | 21 ++- .../TL/Messages/TLRequestSendMedia.cs | 30 ++-- .../TL/Messages/TLRequestSendMessage.cs | 21 ++- .../TL/Messages/TLRequestSendMultiMedia.cs | 79 ++++++++++ .../TLRequestSendScheduledMessages.cs | 51 ++++++ ...=> TLRequestSendScreenshotNotification.cs} | 12 +- .../TL/Messages/TLRequestSendVote.cs | 54 +++++++ .../Messages/TLRequestSetBotCallbackAnswer.cs | 5 - .../TLRequestSetBotPrecheckoutResults.cs | 4 - .../TLRequestSetBotShippingResults.cs | 4 - .../TL/Messages/TLRequestSetGameScore.cs | 4 - .../Messages/TLRequestSetInlineBotResults.cs | 6 - .../Messages/TLRequestSetInlineGameScore.cs | 4 - .../TL/Messages/TLRequestToggleDialogPin.cs | 11 +- .../TLRequestUpdatePinnedMessage.cs | 15 +- .../Messages/TLRequestUploadEncryptedFile.cs | 51 ++++++ .../TL/Messages/TLSearchCounter.cs | 51 ++++++ src/TeleSharp.TL/TL/Messages/TLStickerSet.cs | 4 +- src/TeleSharp.TL/TL/Messages/TLStickers.cs | 10 +- src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs | 8 - .../TL/Payments/TLPaymentReceipt.cs | 4 - ...eded.cs => TLPaymentVerificationNeeded.cs} | 6 +- .../TL/Payments/TLRequestClearSavedInfo.cs | 4 - .../TL/Payments/TLRequestSendPaymentForm.cs | 4 - .../TLRequestValidateRequestedInfo.cs | 3 - src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs | 4 - .../TL/Payments/TLValidatedRequestedInfo.cs | 4 - .../TL/Phone/TLRequestDiscardCall.cs | 10 +- .../TL/Phone/TLRequestRequestCall.cs | 10 +- .../TL/Phone/TLRequestSetCallRating.cs | 10 +- .../TLRequestChangeStickerPosition.cs | 8 +- .../TL/Stickers/TLRequestCreateStickerSet.cs | 3 - .../Stickers/TLRequestRemoveStickerFromSet.cs | 8 +- ...{TLAbsContactLink.cs => TLAbsBaseTheme.cs} | 2 +- ....cs => TLAbsChannelAdminLogEventAction.cs} | 2 +- ...otifyEvents.cs => TLAbsChannelLocation.cs} | 2 +- .../TL/{TLAbsPage.cs => TLAbsDialog.cs} | 2 +- ...LAbsFileLocation.cs => TLAbsDialogPeer.cs} | 2 +- src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs | 13 ++ ...vents.cs => TLAbsInputCheckPasswordSRP.cs} | 2 +- src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsInputMessage.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsInputTheme.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs | 13 ++ .../TL/TLAbsInputWebFileLocation.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsJSONValue.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsLangPackString.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsPageListItem.cs | 13 ++ .../TL/TLAbsPageListOrderedItem.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs | 13 ++ .../TL/TLAbsPeerNotifySettings.cs | 13 -- src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsSecureFile.cs | 13 ++ .../TL/TLAbsSecurePasswordKdfAlgo.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs | 13 ++ .../TL/TLAbsSecureRequiredType.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsSecureValueError.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsSecureValueType.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs | 13 ++ src/TeleSharp.TL/TL/TLAbsWebDocument.cs | 13 ++ src/TeleSharp.TL/TL/TLAuthorization.cs | 19 ++- src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs | 66 ++++++++ ...ontactLinkNone.cs => TLBaseThemeArctic.cs} | 6 +- ...tLinkHasPhone.cs => TLBaseThemeClassic.cs} | 6 +- .../TL/{TLNotifyAll.cs => TLBaseThemeDay.cs} | 6 +- ...tactLinkContact.cs => TLBaseThemeNight.cs} | 6 +- src/TeleSharp.TL/TL/TLBaseThemeTinted.cs | 39 +++++ src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs | 6 - .../TL/TLBotInlineMessageMediaAuto.cs | 21 ++- .../TL/TLBotInlineMessageMediaContact.cs | 10 +- .../TL/TLBotInlineMessageMediaGeo.cs | 10 +- .../TL/TLBotInlineMessageMediaVenue.cs | 10 +- src/TeleSharp.TL/TL/TLBotInlineMessageText.cs | 5 - src/TeleSharp.TL/TL/TLBotInlineResult.cs | 63 ++------ src/TeleSharp.TL/TL/TLChannel.cs | 75 +++++---- ...antEditor.cs => TLChannelAdminLogEvent.cs} | 21 +-- ...TLChannelAdminLogEventActionChangeAbout.cs | 45 ++++++ ...nnelAdminLogEventActionChangeLinkedChat.cs | 45 ++++++ ...hannelAdminLogEventActionChangeLocation.cs | 45 ++++++ ...TLChannelAdminLogEventActionChangePhoto.cs | 45 ++++++ ...nnelAdminLogEventActionChangeStickerSet.cs | 45 ++++++ ...TLChannelAdminLogEventActionChangeTitle.cs | 45 ++++++ ...hannelAdminLogEventActionChangeUsername.cs | 45 ++++++ ...lAdminLogEventActionDefaultBannedRights.cs | 45 ++++++ ...ChannelAdminLogEventActionDeleteMessage.cs | 42 +++++ ...TLChannelAdminLogEventActionEditMessage.cs | 45 ++++++ ...nelAdminLogEventActionParticipantInvite.cs | 42 +++++ ...annelAdminLogEventActionParticipantJoin.cs | 39 +++++ ...nnelAdminLogEventActionParticipantLeave.cs | 39 +++++ ...minLogEventActionParticipantToggleAdmin.cs | 45 ++++++ ...AdminLogEventActionParticipantToggleBan.cs | 45 ++++++ .../TLChannelAdminLogEventActionStopPoll.cs | 42 +++++ ...ChannelAdminLogEventActionToggleInvites.cs | 42 +++++ ...minLogEventActionTogglePreHistoryHidden.cs | 42 +++++ ...nnelAdminLogEventActionToggleSignatures.cs | 42 +++++ ...hannelAdminLogEventActionToggleSlowMode.cs | 45 ++++++ ...LChannelAdminLogEventActionUpdatePinned.cs | 42 +++++ .../TL/TLChannelAdminLogEventsFilter.cs | 84 ++++++++++ src/TeleSharp.TL/TL/TLChannelForbidden.cs | 16 +- src/TeleSharp.TL/TL/TLChannelFull.cs | 108 +++++++++++-- src/TeleSharp.TL/TL/TLChannelLocation.cs | 45 ++++++ src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs | 39 +++++ .../TL/TLChannelMessagesFilter.cs | 3 - .../TL/TLChannelParticipantAdmin.cs | 76 +++++++++ .../TL/TLChannelParticipantBanned.cs | 57 +++++++ .../TL/TLChannelParticipantCreator.cs | 15 +- .../TL/TLChannelParticipantsBanned.cs | 42 +++++ .../TL/TLChannelParticipantsContacts.cs | 42 +++++ .../TL/TLChannelParticipantsKicked.cs | 7 +- .../TL/TLChannelParticipantsSearch.cs | 42 +++++ src/TeleSharp.TL/TL/TLChat.cs | 35 ++-- src/TeleSharp.TL/TL/TLChatAdminRights.cs | 66 ++++++++ src/TeleSharp.TL/TL/TLChatBannedRights.cs | 81 ++++++++++ src/TeleSharp.TL/TL/TLChatFull.cs | 54 ++++++- src/TeleSharp.TL/TL/TLChatInvite.cs | 15 +- src/TeleSharp.TL/TL/TLChatOnlines.cs | 42 +++++ .../TL/TLChatParticipantsForbidden.cs | 3 - src/TeleSharp.TL/TL/TLChatPhoto.cs | 15 +- src/TeleSharp.TL/TL/TLCodeSettings.cs | 51 ++++++ src/TeleSharp.TL/TL/TLConfig.cs | 123 +++++++++++++-- src/TeleSharp.TL/TL/TLDcOption.cs | 21 ++- src/TeleSharp.TL/TL/TLDialog.cs | 29 ++-- src/TeleSharp.TL/TL/TLDialogFolder.cs | 66 ++++++++ src/TeleSharp.TL/TL/TLDialogPeer.cs | 42 +++++ src/TeleSharp.TL/TL/TLDialogPeerFolder.cs | 42 +++++ src/TeleSharp.TL/TL/TLDisabledFeature.cs | 45 ------ src/TeleSharp.TL/TL/TLDocument.cs | 24 ++- .../TL/TLDocumentAttributeAudio.cs | 6 - .../TL/TLDocumentAttributeSticker.cs | 4 - .../TL/TLDocumentAttributeVideo.cs | 6 +- src/TeleSharp.TL/TL/TLDraftMessage.cs | 5 - src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs | 15 +- src/TeleSharp.TL/TL/TLEmojiKeyword.cs | 45 ++++++ src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs | 45 ++++++ .../TL/TLEmojiKeywordsDifference.cs | 51 ++++++ src/TeleSharp.TL/TL/TLEmojiLanguage.cs | 42 +++++ src/TeleSharp.TL/TL/TLEmojiURL.cs | 42 +++++ src/TeleSharp.TL/TL/TLExportedMessageLink.cs | 7 +- src/TeleSharp.TL/TL/TLFileHash.cs | 48 ++++++ ...ble.cs => TLFileLocationToBeDeprecated.cs} | 9 +- src/TeleSharp.TL/TL/TLFolder.cs | 65 ++++++++ src/TeleSharp.TL/TL/TLFolderPeer.cs | 45 ++++++ src/TeleSharp.TL/TL/TLGame.cs | 3 - src/TeleSharp.TL/TL/TLGeoPoint.cs | 7 +- src/TeleSharp.TL/TL/TLInputAppEvent.cs | 10 +- .../TL/TLInputBotInlineMessageGame.cs | 3 - .../TL/TLInputBotInlineMessageMediaAuto.cs | 21 ++- .../TL/TLInputBotInlineMessageMediaContact.cs | 10 +- .../TL/TLInputBotInlineMessageMediaGeo.cs | 10 +- .../TL/TLInputBotInlineMessageMediaVenue.cs | 10 +- .../TL/TLInputBotInlineMessageText.cs | 5 - src/TeleSharp.TL/TL/TLInputBotInlineResult.cs | 63 ++------ .../TL/TLInputBotInlineResultDocument.cs | 4 - .../TL/TLInputChannelFromMessage.cs | 48 ++++++ .../TL/TLInputCheckPasswordEmpty.cs | 39 +++++ .../TL/TLInputCheckPasswordSRP.cs | 48 ++++++ src/TeleSharp.TL/TL/TLInputClientProxy.cs | 45 ++++++ src/TeleSharp.TL/TL/TLInputDialogPeer.cs | 42 +++++ .../TL/TLInputDialogPeerFolder.cs | 42 +++++ src/TeleSharp.TL/TL/TLInputDocument.cs | 7 +- .../TL/TLInputDocumentFileLocation.cs | 13 +- src/TeleSharp.TL/TL/TLInputFileLocation.cs | 7 +- src/TeleSharp.TL/TL/TLInputFolderPeer.cs | 45 ++++++ .../TL/TLInputKeyboardButtonUrlAuth.cs | 62 ++++++++ src/TeleSharp.TL/TL/TLInputMediaContact.cs | 7 +- src/TeleSharp.TL/TL/TLInputMediaDocument.cs | 18 ++- .../TL/TLInputMediaDocumentExternal.cs | 18 ++- src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs | 56 +++++++ src/TeleSharp.TL/TL/TLInputMediaInvoice.cs | 10 +- src/TeleSharp.TL/TL/TLInputMediaPhoto.cs | 18 ++- .../TL/TLInputMediaPhotoExternal.cs | 18 ++- src/TeleSharp.TL/TL/TLInputMediaPoll.cs | 42 +++++ .../TL/TLInputMediaUploadedDocument.cs | 29 +++- .../TL/TLInputMediaUploadedPhoto.cs | 18 ++- src/TeleSharp.TL/TL/TLInputMediaVenue.cs | 7 +- src/TeleSharp.TL/TL/TLInputMessageID.cs | 42 +++++ src/TeleSharp.TL/TL/TLInputMessagePinned.cs | 39 +++++ src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs | 42 +++++ ...or.cs => TLInputMessagesFilterContacts.cs} | 6 +- .../TL/TLInputMessagesFilterGeo.cs | 39 +++++ .../TL/TLInputMessagesFilterMyMentions.cs | 39 +++++ .../TL/TLInputMessagesFilterPhoneCalls.cs | 3 - ...LInputMessagesFilterPhotoVideoDocuments.cs | 39 ----- src/TeleSharp.TL/TL/TLInputNotifyAll.cs | 39 ----- .../TL/TLInputNotifyBroadcasts.cs | 39 +++++ .../TL/TLInputPaymentCredentials.cs | 3 - .../TL/TLInputPaymentCredentialsAndroidPay.cs | 45 ++++++ .../TL/TLInputPaymentCredentialsApplePay.cs | 42 +++++ .../TL/TLInputPeerChannelFromMessage.cs | 48 ++++++ .../TL/TLInputPeerNotifyEventsAll.cs | 39 ----- .../TL/TLInputPeerNotifyEventsEmpty.cs | 39 ----- .../TL/TLInputPeerNotifySettings.cs | 50 ++++-- .../TL/TLInputPeerPhotoFileLocation.cs | 54 +++++++ .../TL/TLInputPeerUserFromMessage.cs | 48 ++++++ src/TeleSharp.TL/TL/TLInputPhoto.cs | 7 +- .../TL/TLInputPhotoFileLocation.cs | 51 ++++++ .../TL/TLInputPhotoLegacyFileLocation.cs | 57 +++++++ .../TL/TLInputPrivacyKeyAddedByPhone.cs | 39 +++++ .../TL/TLInputPrivacyKeyForwards.cs | 39 +++++ .../TL/TLInputPrivacyKeyPhoneNumber.cs | 39 +++++ .../TL/TLInputPrivacyKeyPhoneP2P.cs | 39 +++++ .../TL/TLInputPrivacyKeyProfilePhoto.cs | 39 +++++ ...LInputPrivacyValueAllowChatParticipants.cs | 42 +++++ ...putPrivacyValueDisallowChatParticipants.cs | 42 +++++ .../TL/TLInputReportReasonChildAbuse.cs | 39 +++++ .../TL/TLInputReportReasonCopyright.cs | 39 +++++ .../TL/TLInputReportReasonGeoIrrelevant.cs | 39 +++++ src/TeleSharp.TL/TL/TLInputSecureFile.cs | 45 ++++++ .../TL/TLInputSecureFileLocation.cs | 45 ++++++ .../TL/TLInputSecureFileUploaded.cs | 54 +++++++ src/TeleSharp.TL/TL/TLInputSecureValue.cs | 101 ++++++++++++ src/TeleSharp.TL/TL/TLInputSingleMedia.cs | 59 +++++++ .../TL/TLInputStickerSetAnimatedEmoji.cs | 39 +++++ src/TeleSharp.TL/TL/TLInputStickerSetItem.cs | 3 - ...eLocation.cs => TLInputStickerSetThumb.cs} | 15 +- .../TL/TLInputTakeoutFileLocation.cs | 39 +++++ src/TeleSharp.TL/TL/TLInputTheme.cs | 45 ++++++ src/TeleSharp.TL/TL/TLInputThemeSettings.cs | 80 ++++++++++ src/TeleSharp.TL/TL/TLInputThemeSlug.cs | 42 +++++ ...Moderator.cs => TLInputUserFromMessage.cs} | 18 +-- src/TeleSharp.TL/TL/TLInputWallPaper.cs | 45 ++++++ src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs | 39 +++++ src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs | 42 +++++ .../TL/TLInputWebFileGeoPointLocation.cs | 57 +++++++ src/TeleSharp.TL/TL/TLInputWebFileLocation.cs | 2 +- src/TeleSharp.TL/TL/TLInvoice.cs | 14 +- src/TeleSharp.TL/TL/TLJsonArray.cs | 42 +++++ src/TeleSharp.TL/TL/TLJsonBool.cs | 42 +++++ src/TeleSharp.TL/TL/TLJsonNull.cs | 39 +++++ src/TeleSharp.TL/TL/TLJsonNumber.cs | 42 +++++ src/TeleSharp.TL/TL/TLJsonObject.cs | 42 +++++ src/TeleSharp.TL/TL/TLJsonObjectValue.cs | 45 ++++++ src/TeleSharp.TL/TL/TLJsonString.cs | 42 +++++ .../TL/TLKeyboardButtonSwitchInline.cs | 3 - .../TL/TLKeyboardButtonUrlAuth.cs | 59 +++++++ src/TeleSharp.TL/TL/TLLangPackDifference.cs | 51 ++++++ src/TeleSharp.TL/TL/TLLangPackLanguage.cs | 80 ++++++++++ src/TeleSharp.TL/TL/TLLangPackString.cs | 45 ++++++ .../TL/TLLangPackStringDeleted.cs | 42 +++++ .../TL/TLLangPackStringPluralized.cs | 88 +++++++++++ src/TeleSharp.TL/TL/TLMessage.cs | 53 ++++--- .../TL/TLMessageActionBotAllowed.cs | 42 +++++ .../TL/TLMessageActionContactSignUp.cs | 39 +++++ .../TL/TLMessageActionCustomAction.cs | 42 +++++ .../TL/TLMessageActionPaymentSentMe.cs | 4 - .../TL/TLMessageActionPhoneCall.cs | 7 +- .../TL/TLMessageActionScreenshotTaken.cs | 39 +++++ .../TL/TLMessageActionSecureValuesSent.cs | 42 +++++ .../TL/TLMessageActionSecureValuesSentMe.cs | 45 ++++++ .../TL/TLMessageEntityBlockquote.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageEntityPhone.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageEntityStrike.cs | 45 ++++++ .../TL/TLMessageEntityUnderline.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageFwdHeader.cs | 41 ++++- src/TeleSharp.TL/TL/TLMessageMediaContact.cs | 7 +- src/TeleSharp.TL/TL/TLMessageMediaDocument.cs | 27 +++- src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs | 10 +- src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs | 27 +++- src/TeleSharp.TL/TL/TLMessageMediaPoll.cs | 45 ++++++ src/TeleSharp.TL/TL/TLMessageMediaVenue.cs | 7 +- src/TeleSharp.TL/TL/TLMessageService.cs | 12 +- src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs | 39 +++++ src/TeleSharp.TL/TL/TLPage.cs | 63 ++++++++ src/TeleSharp.TL/TL/TLPageBlockAudio.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPageBlockCollage.cs | 8 +- .../{TLPageFull.cs => TLPageBlockDetails.cs} | 21 +-- src/TeleSharp.TL/TL/TLPageBlockEmbed.cs | 37 +++-- src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs | 8 +- src/TeleSharp.TL/TL/TLPageBlockKicker.cs | 42 +++++ src/TeleSharp.TL/TL/TLPageBlockList.cs | 11 +- src/TeleSharp.TL/TL/TLPageBlockMap.cs | 54 +++++++ src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs | 42 +++++ src/TeleSharp.TL/TL/TLPageBlockPhoto.cs | 27 +++- .../TL/TLPageBlockRelatedArticles.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs | 8 +- src/TeleSharp.TL/TL/TLPageBlockTable.cs | 54 +++++++ src/TeleSharp.TL/TL/TLPageBlockVideo.cs | 12 +- src/TeleSharp.TL/TL/TLPageCaption.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPageListItemBlocks.cs | 42 +++++ src/TeleSharp.TL/TL/TLPageListItemText.cs | 42 +++++ ...Part.cs => TLPageListOrderedItemBlocks.cs} | 15 +- .../TL/TLPageListOrderedItemText.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPageRelatedArticle.cs | 88 +++++++++++ src/TeleSharp.TL/TL/TLPageTableCell.cs | 81 ++++++++++ src/TeleSharp.TL/TL/TLPageTableRow.cs | 42 +++++ ...6PBKDF2HMACSHA512iter100000SHA256ModPow.cs | 51 ++++++ .../TL/TLPasswordKdfAlgoUnknown.cs | 39 +++++ src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs | 6 - src/TeleSharp.TL/TL/TLPeerLocated.cs | 48 ++++++ src/TeleSharp.TL/TL/TLPeerNotifyEventsAll.cs | 39 ----- src/TeleSharp.TL/TL/TLPeerNotifySettings.cs | 52 +++--- .../TL/TLPeerNotifySettingsEmpty.cs | 39 ----- src/TeleSharp.TL/TL/TLPeerSettings.cs | 18 ++- src/TeleSharp.TL/TL/TLPhoneCall.cs | 19 ++- src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs | 10 +- src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs | 9 +- src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs | 4 - src/TeleSharp.TL/TL/TLPhoneCallRequested.cs | 10 +- src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs | 6 +- src/TeleSharp.TL/TL/TLPhoto.cs | 13 +- src/TeleSharp.TL/TL/TLPhotoCachedSize.cs | 4 +- src/TeleSharp.TL/TL/TLPhotoSize.cs | 4 +- src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPoll.cs | 63 ++++++++ src/TeleSharp.TL/TL/TLPollAnswer.cs | 45 ++++++ src/TeleSharp.TL/TL/TLPollAnswerVoters.cs | 54 +++++++ src/TeleSharp.TL/TL/TLPollResults.cs | 61 +++++++ src/TeleSharp.TL/TL/TLPopularContact.cs | 45 ++++++ .../TL/TLPrivacyKeyAddedByPhone.cs | 39 +++++ src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs | 39 +++++ ...kUnknown.cs => TLPrivacyKeyPhoneNumber.cs} | 6 +- src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs | 39 +++++ .../TL/TLPrivacyKeyProfilePhoto.cs | 39 +++++ .../TL/TLPrivacyValueAllowChatParticipants.cs | 42 +++++ .../TLPrivacyValueDisallowChatParticipants.cs | 42 +++++ .../TL/TLReceivedNotifyMessage.cs | 4 +- src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs | 45 ++++++ .../TL/TLRecentMeUrlChatInvite.cs | 45 ++++++ .../TL/TLRecentMeUrlStickerSet.cs | 45 ++++++ src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs | 42 +++++ ...ticipantKicked.cs => TLRecentMeUrlUser.cs} | 15 +- .../TL/TLReplyKeyboardForceReply.cs | 4 - src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs | 3 - src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs | 5 - .../TL/TLRequestInitConnection.cs | 29 +++- .../TL/TLRequestInvokeWithMessagesRange.cs | 51 ++++++ .../TL/TLRequestInvokeWithTakeout.cs | 51 ++++++ src/TeleSharp.TL/TL/TLRestrictionReason.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSavedPhoneContact.cs | 51 ++++++ .../TL/TLSecureCredentialsEncrypted.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSecureData.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSecureFile.cs | 60 +++++++ src/TeleSharp.TL/TL/TLSecureFileEmpty.cs | 39 +++++ ...sswordKdfAlgoPBKDF2HMACSHA512iter100000.cs | 42 +++++ .../TL/TLSecurePasswordKdfAlgoSHA512.cs | 42 +++++ .../TL/TLSecurePasswordKdfAlgoUnknown.cs | 39 +++++ src/TeleSharp.TL/TL/TLSecurePlainEmail.cs | 42 +++++ src/TeleSharp.TL/TL/TLSecurePlainPhone.cs | 42 +++++ src/TeleSharp.TL/TL/TLSecureRequiredType.cs | 54 +++++++ .../TL/TLSecureRequiredTypeOneOf.cs | 42 +++++ src/TeleSharp.TL/TL/TLSecureSecretSettings.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSecureValue.cs | 104 ++++++++++++ src/TeleSharp.TL/TL/TLSecureValueError.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSecureValueErrorData.cs | 51 ++++++ src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs | 48 ++++++ .../TL/TLSecureValueErrorFiles.cs | 48 ++++++ .../TL/TLSecureValueErrorFrontSide.cs | 48 ++++++ .../TL/TLSecureValueErrorReverseSide.cs | 48 ++++++ .../TL/TLSecureValueErrorSelfie.cs | 48 ++++++ .../TL/TLSecureValueErrorTranslationFile.cs | 48 ++++++ .../TL/TLSecureValueErrorTranslationFiles.cs | 48 ++++++ src/TeleSharp.TL/TL/TLSecureValueHash.cs | 45 ++++++ .../TL/TLSecureValueTypeAddress.cs | 39 +++++ .../TL/TLSecureValueTypeBankStatement.cs | 39 +++++ .../TL/TLSecureValueTypeDriverLicense.cs | 39 +++++ src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs | 39 +++++ ...or.cs => TLSecureValueTypeIdentityCard.cs} | 6 +- .../TL/TLSecureValueTypeInternalPassport.cs | 39 +++++ ...eEmpty.cs => TLSecureValueTypePassport.cs} | 6 +- .../TLSecureValueTypePassportRegistration.cs | 39 +++++ .../TL/TLSecureValueTypePersonalDetails.cs | 39 +++++ src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs | 39 +++++ .../TL/TLSecureValueTypeRentalAgreement.cs | 39 +++++ .../TLSecureValueTypeTemporaryRegistration.cs | 39 +++++ .../TL/TLSecureValueTypeUtilityBill.cs | 39 +++++ src/TeleSharp.TL/TL/TLStatsURL.cs | 42 +++++ src/TeleSharp.TL/TL/TLStickerSet.cs | 38 +++-- src/TeleSharp.TL/TL/TLTextAnchor.cs | 45 ++++++ src/TeleSharp.TL/TL/TLTextImage.cs | 48 ++++++ src/TeleSharp.TL/TL/TLTextMarked.cs | 42 +++++ src/TeleSharp.TL/TL/TLTextPhone.cs | 45 ++++++ src/TeleSharp.TL/TL/TLTextSubscript.cs | 42 +++++ src/TeleSharp.TL/TL/TLTextSuperscript.cs | 42 +++++ src/TeleSharp.TL/TL/TLTheme.cs | 79 ++++++++++ src/TeleSharp.TL/TL/TLThemeSettings.cs | 72 +++++++++ .../TL/TLTopPeerCategoryForwardChats.cs | 39 +++++ .../TL/TLTopPeerCategoryForwardUsers.cs | 39 +++++ .../TL/TLTopPeerCategoryPhoneCalls.cs | 39 +++++ .../TL/TLUpdateBotCallbackQuery.cs | 4 - src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs | 3 - src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs | 4 - .../TL/TLUpdateBotPrecheckoutQuery.cs | 4 - .../TL/TLUpdateChannelAvailableMessages.cs | 45 ++++++ .../TL/TLUpdateChannelReadMessagesContents.cs | 45 ++++++ src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs | 3 - .../TL/TLUpdateChatDefaultBannedRights.cs | 48 ++++++ ...Admins.cs => TLUpdateChatPinnedMessage.cs} | 12 +- src/TeleSharp.TL/TL/TLUpdateContactLink.cs | 48 ------ src/TeleSharp.TL/TL/TLUpdateContactsReset.cs | 39 +++++ .../TL/TLUpdateDeleteScheduledMessages.cs | 45 ++++++ src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs | 19 ++- .../TL/TLUpdateDialogUnreadMark.cs | 48 ++++++ src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs | 39 +++++ src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs | 48 ++++++ src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs | 45 ++++++ .../TL/TLUpdateInlineBotCallbackQuery.cs | 4 - src/TeleSharp.TL/TL/TLUpdateLangPack.cs | 42 +++++ .../TL/TLUpdateLangPackTooLong.cs | 42 +++++ src/TeleSharp.TL/TL/TLUpdateLoginToken.cs | 39 +++++ src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs | 56 +++++++ .../TL/TLUpdateNewScheduledMessage.cs | 42 +++++ src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs | 4 +- src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs | 42 +++++ src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs | 45 ++++++ src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs | 19 ++- .../TL/TLUpdateReadChannelInbox.cs | 21 ++- .../TL/TLUpdateReadHistoryInbox.cs | 18 ++- .../TL/TLUpdateServiceNotification.cs | 4 - .../TL/TLUpdateShortChatMessage.cs | 10 -- src/TeleSharp.TL/TL/TLUpdateShortMessage.cs | 10 -- .../TL/TLUpdateShortSentMessage.cs | 5 - .../TL/TLUpdateStickerSetsOrder.cs | 3 - src/TeleSharp.TL/TL/TLUpdateTheme.cs | 42 +++++ ...stered.cs => TLUpdateUserPinnedMessage.cs} | 12 +- .../TL/TLUrlAuthResultAccepted.cs | 42 +++++ src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs | 39 +++++ src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs | 51 ++++++ src/TeleSharp.TL/TL/TLUser.cs | 40 ++--- src/TeleSharp.TL/TL/TLUserFull.cs | 44 ++++-- src/TeleSharp.TL/TL/TLUserProfilePhoto.cs | 15 +- src/TeleSharp.TL/TL/TLVector.cs | 18 +-- src/TeleSharp.TL/TL/TLWallPaper.cs | 49 ++++-- src/TeleSharp.TL/TL/TLWallPaperNoFile.cs | 56 +++++++ src/TeleSharp.TL/TL/TLWallPaperSettings.cs | 80 ++++++++++ src/TeleSharp.TL/TL/TLWallPaperSolid.cs | 51 ------ src/TeleSharp.TL/TL/TLWebAuthorization.cs | 66 ++++++++ src/TeleSharp.TL/TL/TLWebDocument.cs | 9 +- src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs | 51 ++++++ src/TeleSharp.TL/TL/TLWebPage.cs | 31 ++-- .../TL/TLWebPageAttributeTheme.cs | 58 +++++++ .../TL/Updates/TLChannelDifference.cs | 4 - .../TL/Updates/TLChannelDifferenceEmpty.cs | 4 - .../TL/Updates/TLChannelDifferenceTooLong.cs | 26 +-- .../Updates/TLRequestGetChannelDifference.cs | 3 - .../TL/Updates/TLRequestGetDifference.cs | 3 - .../TL/Upload/TLFileCdnRedirect.cs | 7 +- .../TL/Upload/TLRequestGetCdnFileHashes.cs | 51 ++++++ .../TL/Upload/TLRequestGetFile.cs | 13 +- .../TL/Upload/TLRequestGetFileHashes.cs | 51 ++++++ .../TL/Upload/TLRequestGetWebFile.cs | 4 +- .../TL/Upload/TLRequestReuploadCdnFile.cs | 8 +- .../TL/Users/TLRequestSetSecureValueErrors.cs | 51 ++++++ src/TeleSharp.TL/TeleSharp.TL.csproj | 2 +- src/TgSharp.Core/TelegramClient.cs | 149 ++++++------------ src/TgSharp.Tests.NUnit/Test.cs | 13 -- src/TgSharp.Tests.VS/TgSharpTestsVs.cs | 12 -- src/TgSharp.Tests/TgSharpTests.cs | 60 ++----- 679 files changed, 20063 insertions(+), 2180 deletions(-) rename src/TeleSharp.TL/TL/Account/{TLAbsPassword.cs => TLAbsThemes.cs} (79%) create mode 100644 src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs rename src/TeleSharp.TL/TL/Account/{TLNoPassword.cs => TLContentSettings.cs} (56%) create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs rename src/TeleSharp.TL/TL/{Auth/TLRequestSendInvites.cs => Account/TLRequestDeleteSecureValue.cs} (59%) create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs rename src/TeleSharp.TL/TL/{Auth/TLRequestCheckPhone.cs => Account/TLRequestSendVerifyPhoneCode.cs} (62%) create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs rename src/TeleSharp.TL/TL/{TLInputMediaUploadedThumbDocument.cs => Account/TLRequestUploadTheme.cs} (50%) create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLTakeout.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLThemes.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLWallPapers.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs rename src/TeleSharp.TL/TL/Auth/{TLCheckedPhone.cs => TLLoginTokenSuccess.cs} (62%) create mode 100644 src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs rename src/TeleSharp.TL/TL/Channels/{TLRequestEditAbout.cs => TLRequestDeleteHistory.cs} (79%) rename src/TeleSharp.TL/TL/Channels/{TLRequestKickFromChannel.cs => TLRequestEditBanned.cs} (78%) create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs create mode 100644 src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs rename src/TeleSharp.TL/TL/Channels/{TLRequestToggleInvites.cs => TLRequestTogglePreHistoryHidden.cs} (89%) rename src/TeleSharp.TL/TL/Channels/{TLRequestExportInvite.cs => TLRequestToggleSlowMode.cs} (70%) delete mode 100644 src/TeleSharp.TL/TL/Contacts/TLLink.cs rename src/TeleSharp.TL/TL/Contacts/{TLRequestDeleteContact.cs => TLRequestAcceptContact.cs} (76%) create mode 100644 src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs rename src/TeleSharp.TL/TL/Contacts/{TLRequestImportCard.cs => TLRequestDeleteByPhones.cs} (60%) rename src/TeleSharp.TL/TL/Contacts/{TLRequestExportCard.cs => TLRequestGetContactIDs.cs} (78%) create mode 100644 src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs create mode 100644 src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs create mode 100644 src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs rename src/TeleSharp.TL/TL/{Messages/TLRequestToggleChatAdmins.cs => Contacts/TLRequestToggleTopPeers.cs} (66%) create mode 100644 src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs create mode 100644 src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs create mode 100644 src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLPassportConfig.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs rename src/TeleSharp.TL/TL/Help/{TLRequestGetTermsOfService.cs => TLRequestGetAppConfig.cs} (71%) create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLSupportName.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLUserInfo.cs create mode 100644 src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs create mode 100644 src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs create mode 100644 src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs create mode 100644 src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs create mode 100644 src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs create mode 100644 src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs rename src/TeleSharp.TL/TL/{TLPeerNotifyEventsEmpty.cs => Messages/TLFavedStickersNotModified.cs} (76%) create mode 100644 src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs rename src/TeleSharp.TL/TL/Messages/{TLRequestHideReportSpam.cs => TLRequestHidePeerSettingsBar.cs} (88%) create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestReport.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs rename src/TeleSharp.TL/TL/Messages/{TLRequestForwardMessage.cs => TLRequestSendScreenshotNotification.cs} (80%) create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs rename src/TeleSharp.TL/TL/{Channels => Messages}/TLRequestUpdatePinnedMessage.cs (73%) create mode 100644 src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs create mode 100644 src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs rename src/TeleSharp.TL/TL/Payments/{TLPaymentVerficationNeeded.cs => TLPaymentVerificationNeeded.cs} (84%) rename src/TeleSharp.TL/TL/{TLAbsContactLink.cs => TLAbsBaseTheme.cs} (78%) rename src/TeleSharp.TL/TL/{TLAbsChannelParticipantRole.cs => TLAbsChannelAdminLogEventAction.cs} (73%) rename src/TeleSharp.TL/TL/{TLAbsPeerNotifyEvents.cs => TLAbsChannelLocation.cs} (76%) rename src/TeleSharp.TL/TL/{TLAbsPage.cs => TLAbsDialog.cs} (79%) rename src/TeleSharp.TL/TL/{TLAbsFileLocation.cs => TLAbsDialogPeer.cs} (77%) create mode 100644 src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs rename src/TeleSharp.TL/TL/{TLAbsInputPeerNotifyEvents.cs => TLAbsInputCheckPasswordSRP.cs} (75%) create mode 100644 src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsInputMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsInputTheme.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsJSONValue.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsLangPackString.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsPageListItem.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs delete mode 100644 src/TeleSharp.TL/TL/TLAbsPeerNotifySettings.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecureFile.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecureValueError.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsSecureValueType.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs create mode 100644 src/TeleSharp.TL/TL/TLAbsWebDocument.cs create mode 100644 src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs rename src/TeleSharp.TL/TL/{TLContactLinkNone.cs => TLBaseThemeArctic.cs} (82%) rename src/TeleSharp.TL/TL/{TLContactLinkHasPhone.cs => TLBaseThemeClassic.cs} (82%) rename src/TeleSharp.TL/TL/{TLNotifyAll.cs => TLBaseThemeDay.cs} (83%) rename src/TeleSharp.TL/TL/{TLContactLinkContact.cs => TLBaseThemeNight.cs} (82%) create mode 100644 src/TeleSharp.TL/TL/TLBaseThemeTinted.cs rename src/TeleSharp.TL/TL/{TLChannelParticipantEditor.cs => TLChannelAdminLogEvent.cs} (64%) create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs create mode 100644 src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs create mode 100644 src/TeleSharp.TL/TL/TLChatAdminRights.cs create mode 100644 src/TeleSharp.TL/TL/TLChatBannedRights.cs create mode 100644 src/TeleSharp.TL/TL/TLChatOnlines.cs create mode 100644 src/TeleSharp.TL/TL/TLCodeSettings.cs create mode 100644 src/TeleSharp.TL/TL/TLDialogFolder.cs create mode 100644 src/TeleSharp.TL/TL/TLDialogPeer.cs create mode 100644 src/TeleSharp.TL/TL/TLDialogPeerFolder.cs delete mode 100644 src/TeleSharp.TL/TL/TLDisabledFeature.cs create mode 100644 src/TeleSharp.TL/TL/TLEmojiKeyword.cs create mode 100644 src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs create mode 100644 src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs create mode 100644 src/TeleSharp.TL/TL/TLEmojiLanguage.cs create mode 100644 src/TeleSharp.TL/TL/TLEmojiURL.cs create mode 100644 src/TeleSharp.TL/TL/TLFileHash.cs rename src/TeleSharp.TL/TL/{TLFileLocationUnavailable.cs => TLFileLocationToBeDeprecated.cs} (76%) create mode 100644 src/TeleSharp.TL/TL/TLFolder.cs create mode 100644 src/TeleSharp.TL/TL/TLFolderPeer.cs create mode 100644 src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs create mode 100644 src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs create mode 100644 src/TeleSharp.TL/TL/TLInputClientProxy.cs create mode 100644 src/TeleSharp.TL/TL/TLInputDialogPeer.cs create mode 100644 src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs create mode 100644 src/TeleSharp.TL/TL/TLInputFolderPeer.cs create mode 100644 src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMediaPoll.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMessageID.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMessagePinned.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs rename src/TeleSharp.TL/TL/{TLChannelRoleEditor.cs => TLInputMessagesFilterContacts.cs} (80%) create mode 100644 src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs create mode 100644 src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs delete mode 100644 src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideoDocuments.cs delete mode 100644 src/TeleSharp.TL/TL/TLInputNotifyAll.cs create mode 100644 src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs delete mode 100644 src/TeleSharp.TL/TL/TLInputPeerNotifyEventsAll.cs delete mode 100644 src/TeleSharp.TL/TL/TLInputPeerNotifyEventsEmpty.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs create mode 100644 src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs create mode 100644 src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs create mode 100644 src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs create mode 100644 src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs create mode 100644 src/TeleSharp.TL/TL/TLInputSecureFile.cs create mode 100644 src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs create mode 100644 src/TeleSharp.TL/TL/TLInputSecureValue.cs create mode 100644 src/TeleSharp.TL/TL/TLInputSingleMedia.cs create mode 100644 src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs rename src/TeleSharp.TL/TL/{TLFileLocation.cs => TLInputStickerSetThumb.cs} (70%) create mode 100644 src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLInputTheme.cs create mode 100644 src/TeleSharp.TL/TL/TLInputThemeSettings.cs create mode 100644 src/TeleSharp.TL/TL/TLInputThemeSlug.cs rename src/TeleSharp.TL/TL/{TLChannelParticipantModerator.cs => TLInputUserFromMessage.cs} (62%) create mode 100644 src/TeleSharp.TL/TL/TLInputWallPaper.cs create mode 100644 src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs create mode 100644 src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs create mode 100644 src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonArray.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonBool.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonNull.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonNumber.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonObject.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonObjectValue.cs create mode 100644 src/TeleSharp.TL/TL/TLJsonString.cs create mode 100644 src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs create mode 100644 src/TeleSharp.TL/TL/TLLangPackDifference.cs create mode 100644 src/TeleSharp.TL/TL/TLLangPackLanguage.cs create mode 100644 src/TeleSharp.TL/TL/TLLangPackString.cs create mode 100644 src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs create mode 100644 src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageEntityPhone.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageEntityStrike.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs create mode 100644 src/TeleSharp.TL/TL/TLMessageMediaPoll.cs create mode 100644 src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs create mode 100644 src/TeleSharp.TL/TL/TLPage.cs create mode 100644 src/TeleSharp.TL/TL/TLPageBlockAudio.cs rename src/TeleSharp.TL/TL/{TLPageFull.cs => TLPageBlockDetails.cs} (60%) create mode 100644 src/TeleSharp.TL/TL/TLPageBlockKicker.cs create mode 100644 src/TeleSharp.TL/TL/TLPageBlockMap.cs create mode 100644 src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs create mode 100644 src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs create mode 100644 src/TeleSharp.TL/TL/TLPageBlockTable.cs create mode 100644 src/TeleSharp.TL/TL/TLPageCaption.cs create mode 100644 src/TeleSharp.TL/TL/TLPageListItemBlocks.cs create mode 100644 src/TeleSharp.TL/TL/TLPageListItemText.cs rename src/TeleSharp.TL/TL/{TLPagePart.cs => TLPageListOrderedItemBlocks.cs} (59%) create mode 100644 src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs create mode 100644 src/TeleSharp.TL/TL/TLPageRelatedArticle.cs create mode 100644 src/TeleSharp.TL/TL/TLPageTableCell.cs create mode 100644 src/TeleSharp.TL/TL/TLPageTableRow.cs create mode 100644 src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs create mode 100644 src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs create mode 100644 src/TeleSharp.TL/TL/TLPeerLocated.cs delete mode 100644 src/TeleSharp.TL/TL/TLPeerNotifyEventsAll.cs delete mode 100644 src/TeleSharp.TL/TL/TLPeerNotifySettingsEmpty.cs create mode 100644 src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs create mode 100644 src/TeleSharp.TL/TL/TLPoll.cs create mode 100644 src/TeleSharp.TL/TL/TLPollAnswer.cs create mode 100644 src/TeleSharp.TL/TL/TLPollAnswerVoters.cs create mode 100644 src/TeleSharp.TL/TL/TLPollResults.cs create mode 100644 src/TeleSharp.TL/TL/TLPopularContact.cs create mode 100644 src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs create mode 100644 src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs rename src/TeleSharp.TL/TL/{TLContactLinkUnknown.cs => TLPrivacyKeyPhoneNumber.cs} (82%) create mode 100644 src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs create mode 100644 src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs create mode 100644 src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs create mode 100644 src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs create mode 100644 src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs create mode 100644 src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs create mode 100644 src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs create mode 100644 src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs rename src/TeleSharp.TL/TL/{TLChannelParticipantKicked.cs => TLRecentMeUrlUser.cs} (65%) create mode 100644 src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs create mode 100644 src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs create mode 100644 src/TeleSharp.TL/TL/TLRestrictionReason.cs create mode 100644 src/TeleSharp.TL/TL/TLSavedPhoneContact.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureData.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureFile.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureFileEmpty.cs create mode 100644 src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs create mode 100644 src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs create mode 100644 src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs create mode 100644 src/TeleSharp.TL/TL/TLSecurePlainEmail.cs create mode 100644 src/TeleSharp.TL/TL/TLSecurePlainPhone.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureRequiredType.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureSecretSettings.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValue.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueError.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorData.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueHash.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs rename src/TeleSharp.TL/TL/{TLChannelRoleModerator.cs => TLSecureValueTypeIdentityCard.cs} (80%) create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs rename src/TeleSharp.TL/TL/{TLChannelRoleEmpty.cs => TLSecureValueTypePassport.cs} (81%) create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs create mode 100644 src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs create mode 100644 src/TeleSharp.TL/TL/TLStatsURL.cs create mode 100644 src/TeleSharp.TL/TL/TLTextAnchor.cs create mode 100644 src/TeleSharp.TL/TL/TLTextImage.cs create mode 100644 src/TeleSharp.TL/TL/TLTextMarked.cs create mode 100644 src/TeleSharp.TL/TL/TLTextPhone.cs create mode 100644 src/TeleSharp.TL/TL/TLTextSubscript.cs create mode 100644 src/TeleSharp.TL/TL/TLTextSuperscript.cs create mode 100644 src/TeleSharp.TL/TL/TLTheme.cs create mode 100644 src/TeleSharp.TL/TL/TLThemeSettings.cs create mode 100644 src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs create mode 100644 src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs create mode 100644 src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs rename src/TeleSharp.TL/TL/{TLUpdateChatAdmins.cs => TLUpdateChatPinnedMessage.cs} (75%) delete mode 100644 src/TeleSharp.TL/TL/TLUpdateContactLink.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateContactsReset.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateLangPack.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateLoginToken.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs create mode 100644 src/TeleSharp.TL/TL/TLUpdateTheme.cs rename src/TeleSharp.TL/TL/{TLUpdateContactRegistered.cs => TLUpdateUserPinnedMessage.cs} (75%) create mode 100644 src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs create mode 100644 src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs create mode 100644 src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs create mode 100644 src/TeleSharp.TL/TL/TLWallPaperNoFile.cs create mode 100644 src/TeleSharp.TL/TL/TLWallPaperSettings.cs delete mode 100644 src/TeleSharp.TL/TL/TLWallPaperSolid.cs create mode 100644 src/TeleSharp.TL/TL/TLWebAuthorization.cs create mode 100644 src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs create mode 100644 src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs create mode 100644 src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs create mode 100644 src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs create mode 100644 src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAbsPassword.cs b/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs similarity index 79% rename from src/TeleSharp.TL/TL/Account/TLAbsPassword.cs rename to src/TeleSharp.TL/TL/Account/TLAbsThemes.cs index 9bfacafa..76584abc 100644 --- a/src/TeleSharp.TL/TL/Account/TLAbsPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - public abstract class TLAbsPassword : TLObject + public abstract class TLAbsThemes : TLObject { } } diff --git a/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs new file mode 100644 index 00000000..7c4d6b02 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + public abstract class TLAbsWallPapers : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs b/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs new file mode 100644 index 00000000..2efc6694 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1389486888)] + public class TLAuthorizationForm : TLObject + { + public override int Constructor + { + get + { + return -1389486888; + } + } + + public int Flags { get; set; } + public TLVector RequiredTypes { get; set; } + public TLVector Values { get; set; } + public TLVector Errors { get; set; } + public TLVector Users { get; set; } + public string PrivacyPolicyUrl { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + RequiredTypes = (TLVector)ObjectUtils.DeserializeVector(br); + Values = (TLVector)ObjectUtils.DeserializeVector(br); + Errors = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 1) != 0) + PrivacyPolicyUrl = StringUtil.Deserialize(br); + else + PrivacyPolicyUrl = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(RequiredTypes, bw); + ObjectUtils.SerializeObject(Values, bw); + ObjectUtils.SerializeObject(Errors, bw); + ObjectUtils.SerializeObject(Users, bw); + if ((Flags & 1) != 0) + StringUtil.Serialize(PrivacyPolicyUrl, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs new file mode 100644 index 00000000..012726f7 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1674235686)] + public class TLAutoDownloadSettings : TLObject + { + public override int Constructor + { + get + { + return 1674235686; + } + } + + public TLAutoDownloadSettings Low { get; set; } + public TLAutoDownloadSettings Medium { get; set; } + public TLAutoDownloadSettings High { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Low = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); + Medium = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); + High = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Low, bw); + ObjectUtils.SerializeObject(Medium, bw); + ObjectUtils.SerializeObject(High, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLNoPassword.cs b/src/TeleSharp.TL/TL/Account/TLContentSettings.cs similarity index 56% rename from src/TeleSharp.TL/TL/Account/TLNoPassword.cs rename to src/TeleSharp.TL/TL/Account/TLContentSettings.cs index 6a712e00..cc0b3af5 100644 --- a/src/TeleSharp.TL/TL/Account/TLNoPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLContentSettings.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-1764049896)] - public class TLNoPassword : TLAbsPassword + [TLObject(1474462241)] + public class TLContentSettings : TLObject { public override int Constructor { get { - return -1764049896; + return 1474462241; } } - public byte[] NewSalt { get; set; } - public string EmailUnconfirmedPattern { get; set; } + public int Flags { get; set; } + public bool SensitiveEnabled { get; set; } + public bool SensitiveCanChange { get; set; } public void ComputeFlags() @@ -29,16 +30,18 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - NewSalt = BytesUtil.Deserialize(br); - EmailUnconfirmedPattern = StringUtil.Deserialize(br); + Flags = br.ReadInt32(); + SensitiveEnabled = (Flags & 1) != 0; + SensitiveCanChange = (Flags & 2) != 0; } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(NewSalt, bw); - StringUtil.Serialize(EmailUnconfirmedPattern, bw); + bw.Write(Flags); + + } } diff --git a/src/TeleSharp.TL/TL/Account/TLPassword.cs b/src/TeleSharp.TL/TL/Account/TLPassword.cs index 8748aa43..b7267955 100644 --- a/src/TeleSharp.TL/TL/Account/TLPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLPassword.cs @@ -7,22 +7,29 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(2081952796)] - public class TLPassword : TLAbsPassword + [TLObject(-1390001672)] + public class TLPassword : TLObject { public override int Constructor { get { - return 2081952796; + return -1390001672; } } - public byte[] CurrentSalt { get; set; } - public byte[] NewSalt { get; set; } - public string Hint { get; set; } + public int Flags { get; set; } public bool HasRecovery { get; set; } + public bool HasSecureValues { get; set; } + public bool HasPassword { get; set; } + public TLAbsPasswordKdfAlgo CurrentAlgo { get; set; } + public byte[] SrpB { get; set; } + public long? SrpId { get; set; } + public string Hint { get; set; } public string EmailUnconfirmedPattern { get; set; } + public TLAbsPasswordKdfAlgo NewAlgo { get; set; } + public TLAbsSecurePasswordKdfAlgo NewSecureAlgo { get; set; } + public byte[] SecureRandom { get; set; } public void ComputeFlags() @@ -32,22 +39,61 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - CurrentSalt = BytesUtil.Deserialize(br); - NewSalt = BytesUtil.Deserialize(br); - Hint = StringUtil.Deserialize(br); - HasRecovery = BoolUtil.Deserialize(br); - EmailUnconfirmedPattern = StringUtil.Deserialize(br); + Flags = br.ReadInt32(); + HasRecovery = (Flags & 1) != 0; + HasSecureValues = (Flags & 2) != 0; + HasPassword = (Flags & 4) != 0; + if ((Flags & 4) != 0) + CurrentAlgo = (TLAbsPasswordKdfAlgo)ObjectUtils.DeserializeObject(br); + else + CurrentAlgo = null; + + if ((Flags & 4) != 0) + SrpB = BytesUtil.Deserialize(br); + else + SrpB = null; + + if ((Flags & 4) != 0) + SrpId = br.ReadInt64(); + else + SrpId = null; + + if ((Flags & 8) != 0) + Hint = StringUtil.Deserialize(br); + else + Hint = null; + + if ((Flags & 16) != 0) + EmailUnconfirmedPattern = StringUtil.Deserialize(br); + else + EmailUnconfirmedPattern = null; + + NewAlgo = (TLAbsPasswordKdfAlgo)ObjectUtils.DeserializeObject(br); + NewSecureAlgo = (TLAbsSecurePasswordKdfAlgo)ObjectUtils.DeserializeObject(br); + SecureRandom = BytesUtil.Deserialize(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(CurrentSalt, bw); - BytesUtil.Serialize(NewSalt, bw); - StringUtil.Serialize(Hint, bw); - BoolUtil.Serialize(HasRecovery, bw); - StringUtil.Serialize(EmailUnconfirmedPattern, bw); + bw.Write(Flags); + + + + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(CurrentAlgo, bw); + if ((Flags & 4) != 0) + BytesUtil.Serialize(SrpB, bw); + if ((Flags & 4) != 0) + bw.Write(SrpId.Value); + if ((Flags & 8) != 0) + StringUtil.Serialize(Hint, bw); + if ((Flags & 16) != 0) + StringUtil.Serialize(EmailUnconfirmedPattern, bw); + ObjectUtils.SerializeObject(NewAlgo, bw); + ObjectUtils.SerializeObject(NewSecureAlgo, bw); + BytesUtil.Serialize(SecureRandom, bw); } } diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs b/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs index d7368a33..fc188760 100644 --- a/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs @@ -7,31 +7,27 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-2037289493)] + [TLObject(-1036572727)] public class TLPasswordInputSettings : TLObject { public override int Constructor { get { - return -2037289493; + return -1036572727; } } public int Flags { get; set; } - public byte[] NewSalt { get; set; } + public TLAbsPasswordKdfAlgo NewAlgo { get; set; } public byte[] NewPasswordHash { get; set; } public string Hint { get; set; } public string Email { get; set; } + public TLSecureSecretSettings NewSecureSettings { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = NewSalt != null ? (Flags | 1) : (Flags & ~1); - Flags = NewPasswordHash != null ? (Flags | 1) : (Flags & ~1); - Flags = Hint != null ? (Flags | 1) : (Flags & ~1); - Flags = Email != null ? (Flags | 2) : (Flags & ~2); } @@ -39,9 +35,9 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); if ((Flags & 1) != 0) - NewSalt = BytesUtil.Deserialize(br); + NewAlgo = (TLAbsPasswordKdfAlgo)ObjectUtils.DeserializeObject(br); else - NewSalt = null; + NewAlgo = null; if ((Flags & 1) != 0) NewPasswordHash = BytesUtil.Deserialize(br); @@ -58,22 +54,28 @@ public override void DeserializeBody(BinaryReader br) else Email = null; + if ((Flags & 4) != 0) + NewSecureSettings = (TLSecureSecretSettings)ObjectUtils.DeserializeObject(br); + else + NewSecureSettings = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) - BytesUtil.Serialize(NewSalt, bw); + ObjectUtils.SerializeObject(NewAlgo, bw); if ((Flags & 1) != 0) BytesUtil.Serialize(NewPasswordHash, bw); if ((Flags & 1) != 0) StringUtil.Serialize(Hint, bw); if ((Flags & 2) != 0) StringUtil.Serialize(Email, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(NewSecureSettings, bw); } } diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs index 0b609e57..0210630e 100644 --- a/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs @@ -7,18 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-1212732749)] + [TLObject(-1705233435)] public class TLPasswordSettings : TLObject { public override int Constructor { get { - return -1212732749; + return -1705233435; } } + public int Flags { get; set; } public string Email { get; set; } + public TLSecureSecretSettings SecureSettings { get; set; } public void ComputeFlags() @@ -28,14 +30,28 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Email = StringUtil.Deserialize(br); + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + Email = StringUtil.Deserialize(br); + else + Email = null; + + if ((Flags & 2) != 0) + SecureSettings = (TLSecureSecretSettings)ObjectUtils.DeserializeObject(br); + else + SecureSettings = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - StringUtil.Serialize(Email, bw); + bw.Write(Flags); + if ((Flags & 1) != 0) + StringUtil.Serialize(Email, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(SecureSettings, bw); } } diff --git a/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs b/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs index cc31cb06..cf957c6f 100644 --- a/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs +++ b/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs @@ -7,18 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(1430961007)] + [TLObject(1352683077)] public class TLPrivacyRules : TLObject { public override int Constructor { get { - return 1430961007; + return 1352683077; } } public TLVector Rules { get; set; } + public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -30,6 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Rules = (TLVector)ObjectUtils.DeserializeVector(br); + Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -38,6 +40,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Rules, bw); + ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs b/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs new file mode 100644 index 00000000..656a7249 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-419267436)] + public class TLRequestAcceptAuthorization : TLMethod + { + public override int Constructor + { + get + { + return -419267436; + } + } + + public int BotId { get; set; } + public string Scope { get; set; } + public string PublicKey { get; set; } + public TLVector ValueHashes { get; set; } + public TLSecureCredentialsEncrypted Credentials { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + BotId = br.ReadInt32(); + Scope = StringUtil.Deserialize(br); + PublicKey = StringUtil.Deserialize(br); + ValueHashes = (TLVector)ObjectUtils.DeserializeVector(br); + Credentials = (TLSecureCredentialsEncrypted)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(BotId); + StringUtil.Serialize(Scope, bw); + StringUtil.Serialize(PublicKey, bw); + ObjectUtils.SerializeObject(ValueHashes, bw); + ObjectUtils.SerializeObject(Credentials, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs new file mode 100644 index 00000000..f2ba0778 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1043606090)] + public class TLRequestCancelPasswordEmail : TLMethod + { + public override int Constructor + { + get + { + return -1043606090; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs new file mode 100644 index 00000000..ff2b35f6 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1881204448)] + public class TLRequestConfirmPasswordEmail : TLMethod + { + public override int Constructor + { + get + { + return -1881204448; + } + } + + public string Code { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Code = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Code, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs new file mode 100644 index 00000000..98af7857 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-2077048289)] + public class TLRequestCreateTheme : TLMethod + { + public override int Constructor + { + get + { + return -2077048289; + } + } + + public int Flags { get; set; } + public string Slug { get; set; } + public string Title { get; set; } + public TLAbsInputDocument Document { get; set; } + public TLInputThemeSettings Settings { get; set; } + public TLTheme Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Slug = StringUtil.Deserialize(br); + Title = StringUtil.Deserialize(br); + if ((Flags & 4) != 0) + Document = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); + else + Document = null; + + if ((Flags & 8) != 0) + Settings = (TLInputThemeSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + StringUtil.Serialize(Slug, bw); + StringUtil.Serialize(Title, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLTheme)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSendInvites.cs b/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs similarity index 59% rename from src/TeleSharp.TL/TL/Auth/TLRequestSendInvites.cs rename to src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs index 3f894bb1..cc80516b 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSendInvites.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs @@ -5,21 +5,20 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL.Auth +namespace TeleSharp.TL.Account { - [TLObject(1998331287)] - public class TLRequestSendInvites : TLMethod + [TLObject(-1199522741)] + public class TLRequestDeleteSecureValue : TLMethod { public override int Constructor { get { - return 1998331287; + return -1199522741; } } - public TLVector PhoneNumbers { get; set; } - public string Message { get; set; } + public TLVector Types { get; set; } public bool Response { get; set; } @@ -30,16 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PhoneNumbers = (TLVector)ObjectUtils.DeserializeVector(br); - Message = StringUtil.Deserialize(br); + Types = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ObjectUtils.SerializeObject(PhoneNumbers, bw); - StringUtil.Serialize(Message, bw); + ObjectUtils.SerializeObject(Types, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs b/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs new file mode 100644 index 00000000..9dcccab0 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(489050862)] + public class TLRequestFinishTakeoutSession : TLMethod + { + public override int Constructor + { + get + { + return 489050862; + } + } + + public int Flags { get; set; } + public bool Success { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Success = (Flags & 1) != 0; + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs new file mode 100644 index 00000000..445f5b80 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1299661699)] + public class TLRequestGetAllSecureValues : TLMethod + { + public override int Constructor + { + get + { + return -1299661699; + } + } + + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs new file mode 100644 index 00000000..f397a571 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1200903967)] + public class TLRequestGetAuthorizationForm : TLMethod + { + public override int Constructor + { + get + { + return -1200903967; + } + } + + public int BotId { get; set; } + public string Scope { get; set; } + public string PublicKey { get; set; } + public Account.TLAuthorizationForm Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + BotId = br.ReadInt32(); + Scope = StringUtil.Deserialize(br); + PublicKey = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(BotId); + StringUtil.Serialize(Scope, bw); + StringUtil.Serialize(PublicKey, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLAuthorizationForm)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs new file mode 100644 index 00000000..19cae9cc --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1457130303)] + public class TLRequestGetAutoDownloadSettings : TLMethod + { + public override int Constructor + { + get + { + return 1457130303; + } + } + + public Account.TLAutoDownloadSettings Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs new file mode 100644 index 00000000..f5a7c96b --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1626880216)] + public class TLRequestGetContactSignUpNotification : TLMethod + { + public override int Constructor + { + get + { + return -1626880216; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs new file mode 100644 index 00000000..4cd3d6c1 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1952756306)] + public class TLRequestGetContentSettings : TLMethod + { + public override int Constructor + { + get + { + return -1952756306; + } + } + + public Account.TLContentSettings Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLContentSettings)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs new file mode 100644 index 00000000..95501116 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1705865692)] + public class TLRequestGetMultiWallPapers : TLMethod + { + public override int Constructor + { + get + { + return 1705865692; + } + } + + public TLVector Wallpapers { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Wallpapers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Wallpapers, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs new file mode 100644 index 00000000..14c01ec4 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1398240377)] + public class TLRequestGetNotifyExceptions : TLMethod + { + public override int Constructor + { + get + { + return 1398240377; + } + } + + public int Flags { get; set; } + public bool CompareSound { get; set; } + public TLAbsInputNotifyPeer Peer { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + CompareSound = (Flags & 2) != 0; + if ((Flags & 1) != 0) + Peer = (TLAbsInputNotifyPeer)ObjectUtils.DeserializeObject(br); + else + Peer = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Peer, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs index 87f42d4f..34d3c4c7 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs @@ -19,7 +19,7 @@ public override int Constructor } public TLAbsInputNotifyPeer Peer { get; set; } - public TLAbsPeerNotifySettings Response { get; set; } + public TLPeerNotifySettings Response { get; set; } public void ComputeFlags() @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + Response = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs index 27b3b527..77c4435f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs @@ -18,7 +18,7 @@ public override int Constructor } } - public Account.TLAbsPassword Response { get; set; } + public Account.TLPassword Response { get; set; } public void ComputeFlags() @@ -38,7 +38,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Account.TLAbsPassword)ObjectUtils.DeserializeObject(br); + Response = (Account.TLPassword)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs index 4e22bbbf..dd01d914 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-1131605573)] + [TLObject(-1663767815)] public class TLRequestGetPasswordSettings : TLMethod { public override int Constructor { get { - return -1131605573; + return -1663767815; } } - public byte[] CurrentPasswordHash { get; set; } + public TLAbsInputCheckPasswordSRP Password { get; set; } public Account.TLPasswordSettings Response { get; set; } @@ -29,14 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - CurrentPasswordHash = BytesUtil.Deserialize(br); + Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(CurrentPasswordHash, bw); + ObjectUtils.SerializeObject(Password, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs new file mode 100644 index 00000000..1990a94a --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1936088002)] + public class TLRequestGetSecureValue : TLMethod + { + public override int Constructor + { + get + { + return 1936088002; + } + } + + public TLVector Types { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Types = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Types, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs new file mode 100644 index 00000000..660b8dff --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1919060949)] + public class TLRequestGetTheme : TLMethod + { + public override int Constructor + { + get + { + return -1919060949; + } + } + + public string Format { get; set; } + public TLAbsInputTheme Theme { get; set; } + public long DocumentId { get; set; } + public TLTheme Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Format = StringUtil.Deserialize(br); + Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); + DocumentId = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Format, bw); + ObjectUtils.SerializeObject(Theme, bw); + bw.Write(DocumentId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLTheme)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs new file mode 100644 index 00000000..c5bdfef9 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(676939512)] + public class TLRequestGetThemes : TLMethod + { + public override int Constructor + { + get + { + return 676939512; + } + } + + public string Format { get; set; } + public int Hash { get; set; } + public Account.TLAbsThemes Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Format = StringUtil.Deserialize(br); + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Format, bw); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLAbsThemes)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs index 566914c1..ce8dc364 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(1250046590)] + [TLObject(1151208273)] public class TLRequestGetTmpPassword : TLMethod { public override int Constructor { get { - return 1250046590; + return 1151208273; } } - public byte[] PasswordHash { get; set; } + public TLAbsInputCheckPasswordSRP Password { get; set; } public int Period { get; set; } public Account.TLTmpPassword Response { get; set; } @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PasswordHash = BytesUtil.Deserialize(br); + Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); Period = br.ReadInt32(); } @@ -38,7 +38,7 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(PasswordHash, bw); + ObjectUtils.SerializeObject(Password, bw); bw.Write(Period); } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs new file mode 100644 index 00000000..42943662 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-57811990)] + public class TLRequestGetWallPaper : TLMethod + { + public override int Constructor + { + get + { + return -57811990; + } + } + + public TLAbsInputWallPaper Wallpaper { get; set; } + public TLAbsWallPaper Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Wallpaper, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsWallPaper)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs index 0e9a5b9d..a01dff2b 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs @@ -7,18 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-1068696894)] + [TLObject(-1430579357)] public class TLRequestGetWallPapers : TLMethod { public override int Constructor { get { - return -1068696894; + return -1430579357; } } - public TLVector Response { get; set; } + public int Hash { get; set; } + public Account.TLAbsWallPapers Response { get; set; } public void ComputeFlags() @@ -28,17 +29,19 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Hash = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) { - Response = (TLVector)ObjectUtils.DeserializeVector(br); + Response = (Account.TLAbsWallPapers)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs new file mode 100644 index 00000000..95798e8a --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(405695855)] + public class TLRequestGetWebAuthorizations : TLMethod + { + public override int Constructor + { + get + { + return 405695855; + } + } + + public Account.TLWebAuthorizations Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLWebAuthorizations)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs b/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs new file mode 100644 index 00000000..70fecf13 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-262453244)] + public class TLRequestInitTakeoutSession : TLMethod + { + public override int Constructor + { + get + { + return -262453244; + } + } + + public int Flags { get; set; } + public bool Contacts { get; set; } + public bool MessageUsers { get; set; } + public bool MessageChats { get; set; } + public bool MessageMegagroups { get; set; } + public bool MessageChannels { get; set; } + public bool Files { get; set; } + public int? FileMaxSize { get; set; } + public Account.TLTakeout Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Contacts = (Flags & 1) != 0; + MessageUsers = (Flags & 2) != 0; + MessageChats = (Flags & 4) != 0; + MessageMegagroups = (Flags & 8) != 0; + MessageChannels = (Flags & 16) != 0; + Files = (Flags & 32) != 0; + if ((Flags & 32) != 0) + FileMaxSize = br.ReadInt32(); + else + FileMaxSize = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + + + if ((Flags & 32) != 0) + bw.Write(FileMaxSize.Value); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLTakeout)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs new file mode 100644 index 00000000..b91a5b5e --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(2061776695)] + public class TLRequestInstallTheme : TLMethod + { + public override int Constructor + { + get + { + return 2061776695; + } + } + + public int Flags { get; set; } + public bool Dark { get; set; } + public string Format { get; set; } + public TLAbsInputTheme Theme { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Dark = (Flags & 1) != 0; + if ((Flags & 2) != 0) + Format = StringUtil.Deserialize(br); + else + Format = null; + + if ((Flags & 2) != 0) + Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); + else + Theme = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + if ((Flags & 2) != 0) + StringUtil.Serialize(Format, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Theme, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs new file mode 100644 index 00000000..c1f221af --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-18000023)] + public class TLRequestInstallWallPaper : TLMethod + { + public override int Constructor + { + get + { + return -18000023; + } + } + + public TLAbsInputWallPaper Wallpaper { get; set; } + public TLWallPaperSettings Settings { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); + Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Wallpaper, bw); + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs b/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs index c912b44d..31ff31da 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs @@ -7,19 +7,24 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(1669245048)] + [TLObject(1754754159)] public class TLRequestRegisterDevice : TLMethod { public override int Constructor { get { - return 1669245048; + return 1754754159; } } + public int Flags { get; set; } + public bool NoMuted { get; set; } public int TokenType { get; set; } public string Token { get; set; } + public bool AppSandbox { get; set; } + public byte[] Secret { get; set; } + public TLVector OtherUids { get; set; } public bool Response { get; set; } @@ -30,16 +35,26 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + NoMuted = (Flags & 1) != 0; TokenType = br.ReadInt32(); Token = StringUtil.Deserialize(br); + AppSandbox = BoolUtil.Deserialize(br); + Secret = BytesUtil.Deserialize(br); + OtherUids = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(TokenType); StringUtil.Serialize(Token, bw); + BoolUtil.Serialize(AppSandbox, bw); + BytesUtil.Serialize(Secret, bw); + ObjectUtils.SerializeObject(OtherUids, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs new file mode 100644 index 00000000..d7ba2d45 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(2055154197)] + public class TLRequestResendPasswordEmail : TLMethod + { + public override int Constructor + { + get + { + return 2055154197; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs new file mode 100644 index 00000000..adbed65c --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1153722364)] + public class TLRequestResetWallPapers : TLMethod + { + public override int Constructor + { + get + { + return -1153722364; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs new file mode 100644 index 00000000..2477fb94 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(755087855)] + public class TLRequestResetWebAuthorization : TLMethod + { + public override int Constructor + { + get + { + return 755087855; + } + } + + public long Hash { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs new file mode 100644 index 00000000..8aba716d --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1747789204)] + public class TLRequestResetWebAuthorizations : TLMethod + { + public override int Constructor + { + get + { + return 1747789204; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs new file mode 100644 index 00000000..775dc2d5 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1995661875)] + public class TLRequestSaveAutoDownloadSettings : TLMethod + { + public override int Constructor + { + get + { + return 1995661875; + } + } + + public int Flags { get; set; } + public bool Low { get; set; } + public bool High { get; set; } + public TLAutoDownloadSettings Settings { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Low = (Flags & 1) != 0; + High = (Flags & 2) != 0; + Settings = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs new file mode 100644 index 00000000..ab8ac2c0 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1986010339)] + public class TLRequestSaveSecureValue : TLMethod + { + public override int Constructor + { + get + { + return -1986010339; + } + } + + public TLInputSecureValue Value { get; set; } + public long SecureSecretId { get; set; } + public TLSecureValue Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = (TLInputSecureValue)ObjectUtils.DeserializeObject(br); + SecureSecretId = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Value, bw); + bw.Write(SecureSecretId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLSecureValue)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs new file mode 100644 index 00000000..80c187a9 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-229175188)] + public class TLRequestSaveTheme : TLMethod + { + public override int Constructor + { + get + { + return -229175188; + } + } + + public TLAbsInputTheme Theme { get; set; } + public bool Unsave { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); + Unsave = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Theme, bw); + BoolUtil.Serialize(Unsave, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs new file mode 100644 index 00000000..00b8a745 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1817860919)] + public class TLRequestSaveWallPaper : TLMethod + { + public override int Constructor + { + get + { + return 1817860919; + } + } + + public TLAbsInputWallPaper Wallpaper { get; set; } + public bool Unsave { get; set; } + public TLWallPaperSettings Settings { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); + Unsave = BoolUtil.Deserialize(br); + Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Wallpaper, bw); + BoolUtil.Serialize(Unsave, bw); + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs index b78d5689..3f9d8bb7 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs @@ -7,54 +7,39 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(149257707)] + [TLObject(-2108208411)] public class TLRequestSendChangePhoneCode : TLMethod { public override int Constructor { get { - return 149257707; + return -2108208411; } } - public int Flags { get; set; } - public bool AllowFlashcall { get; set; } public string PhoneNumber { get; set; } - public bool? CurrentNumber { get; set; } + public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = AllowFlashcall ? (Flags | 1) : (Flags & ~1); - Flags = CurrentNumber != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { - Flags = br.ReadInt32(); - AllowFlashcall = (Flags & 1) != 0; PhoneNumber = StringUtil.Deserialize(br); - if ((Flags & 1) != 0) - CurrentNumber = BoolUtil.Deserialize(br); - else - CurrentNumber = null; - + Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); - bw.Write(Flags); - StringUtil.Serialize(PhoneNumber, bw); - if ((Flags & 1) != 0) - BoolUtil.Serialize(CurrentNumber.Value, bw); + ObjectUtils.SerializeObject(Settings, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs index ad6f9fb3..6d962b21 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs @@ -7,54 +7,39 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(353818557)] + [TLObject(457157256)] public class TLRequestSendConfirmPhoneCode : TLMethod { public override int Constructor { get { - return 353818557; + return 457157256; } } - public int Flags { get; set; } - public bool AllowFlashcall { get; set; } public string Hash { get; set; } - public bool? CurrentNumber { get; set; } + public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = AllowFlashcall ? (Flags | 1) : (Flags & ~1); - Flags = CurrentNumber != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { - Flags = br.ReadInt32(); - AllowFlashcall = (Flags & 1) != 0; Hash = StringUtil.Deserialize(br); - if ((Flags & 1) != 0) - CurrentNumber = BoolUtil.Deserialize(br); - else - CurrentNumber = null; - + Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); - bw.Write(Flags); - StringUtil.Serialize(Hash, bw); - if ((Flags & 1) != 0) - BoolUtil.Serialize(CurrentNumber.Value, bw); + ObjectUtils.SerializeObject(Settings, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs new file mode 100644 index 00000000..5dafec22 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1880182943)] + public class TLRequestSendVerifyEmailCode : TLMethod + { + public override int Constructor + { + get + { + return 1880182943; + } + } + + public string Email { get; set; } + public Account.TLSentEmailCode Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Email = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Email, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Account.TLSentEmailCode)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPhone.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs similarity index 62% rename from src/TeleSharp.TL/TL/Auth/TLRequestCheckPhone.cs rename to src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs index f7ea4c35..d7a90760 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPhone.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs @@ -5,21 +5,22 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL.Auth +namespace TeleSharp.TL.Account { - [TLObject(1877286395)] - public class TLRequestCheckPhone : TLMethod + [TLObject(-1516022023)] + public class TLRequestSendVerifyPhoneCode : TLMethod { public override int Constructor { get { - return 1877286395; + return -1516022023; } } public string PhoneNumber { get; set; } - public Auth.TLCheckedPhone Response { get; set; } + public TLCodeSettings Settings { get; set; } + public Auth.TLSentCode Response { get; set; } public void ComputeFlags() @@ -30,6 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); + Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); } @@ -37,11 +39,12 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); + ObjectUtils.SerializeObject(Settings, bw); } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLCheckedPhone)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs new file mode 100644 index 00000000..e046c7a5 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-806076575)] + public class TLRequestSetContactSignUpNotification : TLMethod + { + public override int Constructor + { + get + { + return -806076575; + } + } + + public bool Silent { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Silent = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BoolUtil.Serialize(Silent, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs new file mode 100644 index 00000000..f2d50cf7 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-1250643605)] + public class TLRequestSetContentSettings : TLMethod + { + public override int Constructor + { + get + { + return -1250643605; + } + } + + public int Flags { get; set; } + public bool SensitiveEnabled { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + SensitiveEnabled = (Flags & 1) != 0; + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs b/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs index 3fb2fb25..387db11f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(1707432768)] + [TLObject(813089983)] public class TLRequestUnregisterDevice : TLMethod { public override int Constructor { get { - return 1707432768; + return 813089983; } } public int TokenType { get; set; } public string Token { get; set; } + public TLVector OtherUids { get; set; } public bool Response { get; set; } @@ -32,6 +33,7 @@ public override void DeserializeBody(BinaryReader br) { TokenType = br.ReadInt32(); Token = StringUtil.Deserialize(br); + OtherUids = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -40,6 +42,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(TokenType); StringUtil.Serialize(Token, bw); + ObjectUtils.SerializeObject(OtherUids, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs index 67b01d08..dbf7a82c 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Account { - [TLObject(-92517498)] + [TLObject(-1516564433)] public class TLRequestUpdatePasswordSettings : TLMethod { public override int Constructor { get { - return -92517498; + return -1516564433; } } - public byte[] CurrentPasswordHash { get; set; } + public TLAbsInputCheckPasswordSRP Password { get; set; } public Account.TLPasswordInputSettings NewSettings { get; set; } public bool Response { get; set; } @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - CurrentPasswordHash = BytesUtil.Deserialize(br); + Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); NewSettings = (Account.TLPasswordInputSettings)ObjectUtils.DeserializeObject(br); } @@ -38,7 +38,7 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(CurrentPasswordHash, bw); + ObjectUtils.SerializeObject(Password, bw); ObjectUtils.SerializeObject(NewSettings, bw); } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs index 776c0089..90b469cf 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs @@ -27,10 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = FirstName != null ? (Flags | 1) : (Flags & ~1); - Flags = LastName != null ? (Flags | 2) : (Flags & ~2); - Flags = About != null ? (Flags | 4) : (Flags & ~4); } @@ -58,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) StringUtil.Serialize(FirstName, bw); diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs new file mode 100644 index 00000000..c397493b --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1555261397)] + public class TLRequestUpdateTheme : TLMethod + { + public override int Constructor + { + get + { + return 1555261397; + } + } + + public int Flags { get; set; } + public string Format { get; set; } + public TLAbsInputTheme Theme { get; set; } + public string Slug { get; set; } + public string Title { get; set; } + public TLAbsInputDocument Document { get; set; } + public TLInputThemeSettings Settings { get; set; } + public TLTheme Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Format = StringUtil.Deserialize(br); + Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + Slug = StringUtil.Deserialize(br); + else + Slug = null; + + if ((Flags & 2) != 0) + Title = StringUtil.Deserialize(br); + else + Title = null; + + if ((Flags & 4) != 0) + Document = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); + else + Document = null; + + if ((Flags & 8) != 0) + Settings = (TLInputThemeSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + StringUtil.Serialize(Format, bw); + ObjectUtils.SerializeObject(Theme, bw); + if ((Flags & 1) != 0) + StringUtil.Serialize(Slug, bw); + if ((Flags & 2) != 0) + StringUtil.Serialize(Title, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLTheme)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedThumbDocument.cs b/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs similarity index 50% rename from src/TeleSharp.TL/TL/TLInputMediaUploadedThumbDocument.cs rename to src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs index aab0341e..dde56afb 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaUploadedThumbDocument.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs @@ -5,32 +5,29 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL +namespace TeleSharp.TL.Account { - [TLObject(1356369070)] - public class TLInputMediaUploadedThumbDocument : TLAbsInputMedia + [TLObject(473805619)] + public class TLRequestUploadTheme : TLMethod { public override int Constructor { get { - return 1356369070; + return 473805619; } } public int Flags { get; set; } public TLAbsInputFile File { get; set; } public TLAbsInputFile Thumb { get; set; } + public string FileName { get; set; } public string MimeType { get; set; } - public TLVector Attributes { get; set; } - public string Caption { get; set; } - public TLVector Stickers { get; set; } + public TLAbsDocument Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Stickers != null ? (Flags | 1) : (Flags & ~1); } @@ -38,30 +35,30 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); - Thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); - MimeType = StringUtil.Deserialize(br); - Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - Caption = StringUtil.Deserialize(br); if ((Flags & 1) != 0) - Stickers = (TLVector)ObjectUtils.DeserializeVector(br); + Thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); else - Stickers = null; + Thumb = null; + FileName = StringUtil.Deserialize(br); + MimeType = StringUtil.Deserialize(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(File, bw); - ObjectUtils.SerializeObject(Thumb, bw); - StringUtil.Serialize(MimeType, bw); - ObjectUtils.SerializeObject(Attributes, bw); - StringUtil.Serialize(Caption, bw); if ((Flags & 1) != 0) - ObjectUtils.SerializeObject(Stickers, bw); + ObjectUtils.SerializeObject(Thumb, bw); + StringUtil.Serialize(FileName, bw); + StringUtil.Serialize(MimeType, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsDocument)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs new file mode 100644 index 00000000..9ed69a08 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-578472351)] + public class TLRequestUploadWallPaper : TLMethod + { + public override int Constructor + { + get + { + return -578472351; + } + } + + public TLAbsInputFile File { get; set; } + public string MimeType { get; set; } + public TLWallPaperSettings Settings { get; set; } + public TLAbsWallPaper Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); + MimeType = StringUtil.Deserialize(br); + Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(File, bw); + StringUtil.Serialize(MimeType, bw); + ObjectUtils.SerializeObject(Settings, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsWallPaper)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs new file mode 100644 index 00000000..eb00503a --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-323339813)] + public class TLRequestVerifyEmail : TLMethod + { + public override int Constructor + { + get + { + return -323339813; + } + } + + public string Email { get; set; } + public string Code { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Email = StringUtil.Deserialize(br); + Code = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Email, bw); + StringUtil.Serialize(Code, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs b/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs new file mode 100644 index 00000000..9c1d0fed --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1305716726)] + public class TLRequestVerifyPhone : TLMethod + { + public override int Constructor + { + get + { + return 1305716726; + } + } + + public string PhoneNumber { get; set; } + public string PhoneCodeHash { get; set; } + public string PhoneCode { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PhoneNumber = StringUtil.Deserialize(br); + PhoneCodeHash = StringUtil.Deserialize(br); + PhoneCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(PhoneNumber, bw); + StringUtil.Serialize(PhoneCodeHash, bw); + StringUtil.Serialize(PhoneCode, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs b/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs new file mode 100644 index 00000000..5ba82813 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-2128640689)] + public class TLSentEmailCode : TLObject + { + public override int Constructor + { + get + { + return -2128640689; + } + } + + public string EmailPattern { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + EmailPattern = StringUtil.Deserialize(br); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(EmailPattern, bw); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLTakeout.cs b/src/TeleSharp.TL/TL/Account/TLTakeout.cs new file mode 100644 index 00000000..782a600b --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLTakeout.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1304052993)] + public class TLTakeout : TLObject + { + public override int Constructor + { + get + { + return 1304052993; + } + } + + public long Id { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLThemes.cs b/src/TeleSharp.TL/TL/Account/TLThemes.cs new file mode 100644 index 00000000..d2f48c61 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLThemes.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(2137482273)] + public class TLThemes : TLAbsThemes + { + public override int Constructor + { + get + { + return 2137482273; + } + } + + public int Hash { get; set; } + public TLVector Themes { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + Themes = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + ObjectUtils.SerializeObject(Themes, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs b/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs new file mode 100644 index 00000000..96af78b6 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-199313886)] + public class TLThemesNotModified : TLAbsThemes + { + public override int Constructor + { + get + { + return -199313886; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLWallPapers.cs new file mode 100644 index 00000000..24d36d16 --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLWallPapers.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(1881892265)] + public class TLWallPapers : TLAbsWallPapers + { + public override int Constructor + { + get + { + return 1881892265; + } + } + + public int Hash { get; set; } + public TLVector Wallpapers { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + Wallpapers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + ObjectUtils.SerializeObject(Wallpapers, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs b/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs new file mode 100644 index 00000000..8f45c51b --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(471437699)] + public class TLWallPapersNotModified : TLAbsWallPapers + { + public override int Constructor + { + get + { + return 471437699; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs new file mode 100644 index 00000000..c4dd27fc --- /dev/null +++ b/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Account +{ + [TLObject(-313079300)] + public class TLWebAuthorizations : TLObject + { + public override int Constructor + { + get + { + return -313079300; + } + } + + public TLVector Authorizations { get; set; } + public TLVector Users { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Authorizations = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Authorizations, bw); + ObjectUtils.SerializeObject(Users, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs new file mode 100644 index 00000000..2c8b4684 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + public abstract class TLAbsAuthorization : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs new file mode 100644 index 00000000..bddea428 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + public abstract class TLAbsLoginToken : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs index 12c17e34..c4df672f 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs @@ -8,7 +8,7 @@ namespace TeleSharp.TL.Auth { [TLObject(-855308010)] - public class TLAuthorization : TLObject + public class TLAuthorization : TLAbsAuthorization { public override int Constructor { @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = TmpSessions != null ? (Flags | 1) : (Flags & ~1); } @@ -45,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) bw.Write(TmpSessions.Value); diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs b/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs new file mode 100644 index 00000000..0a5bdd07 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(1148485274)] + public class TLAuthorizationSignUpRequired : TLAbsAuthorization + { + public override int Constructor + { + get + { + return 1148485274; + } + } + + public int Flags { get; set; } + public Help.TLTermsOfService TermsOfService { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + TermsOfService = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br); + else + TermsOfService = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(TermsOfService, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs new file mode 100644 index 00000000..17b92aa4 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(1654593920)] + public class TLLoginToken : TLAbsLoginToken + { + public override int Constructor + { + get + { + return 1654593920; + } + } + + public int Expires { get; set; } + public byte[] Token { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Expires = br.ReadInt32(); + Token = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Expires); + BytesUtil.Serialize(Token, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs b/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs new file mode 100644 index 00000000..6e44ece2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(110008598)] + public class TLLoginTokenMigrateTo : TLAbsLoginToken + { + public override int Constructor + { + get + { + return 110008598; + } + } + + public int DcId { get; set; } + public byte[] Token { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + DcId = br.ReadInt32(); + Token = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(DcId); + BytesUtil.Serialize(Token, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLCheckedPhone.cs b/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs similarity index 62% rename from src/TeleSharp.TL/TL/Auth/TLCheckedPhone.cs rename to src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs index 98f33c84..4917551c 100644 --- a/src/TeleSharp.TL/TL/Auth/TLCheckedPhone.cs +++ b/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Auth { - [TLObject(-2128698738)] - public class TLCheckedPhone : TLObject + [TLObject(957176926)] + public class TLLoginTokenSuccess : TLAbsLoginToken { public override int Constructor { get { - return -2128698738; + return 957176926; } } - public bool PhoneRegistered { get; set; } + public Auth.TLAbsAuthorization Authorization { get; set; } public void ComputeFlags() @@ -28,14 +28,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PhoneRegistered = BoolUtil.Deserialize(br); + Authorization = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BoolUtil.Serialize(PhoneRegistered, bw); + ObjectUtils.SerializeObject(Authorization, bw); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs new file mode 100644 index 00000000..3c969654 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(-392909491)] + public class TLRequestAcceptLoginToken : TLMethod + { + public override int Constructor + { + get + { + return -392909491; + } + } + + public byte[] Token { get; set; } + public TLAuthorization Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Token = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Token, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAuthorization)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs b/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs index dd7c6fc4..ab525048 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Auth { - [TLObject(174260510)] + [TLObject(-779399914)] public class TLRequestCheckPassword : TLMethod { public override int Constructor { get { - return 174260510; + return -779399914; } } - public byte[] PasswordHash { get; set; } - public Auth.TLAuthorization Response { get; set; } + public TLAbsInputCheckPasswordSRP Password { get; set; } + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() @@ -29,19 +29,19 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PasswordHash = BytesUtil.Deserialize(br); + Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BytesUtil.Serialize(PasswordHash, bw); + ObjectUtils.SerializeObject(Password, bw); } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs new file mode 100644 index 00000000..89e35c9e --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(-1313598185)] + public class TLRequestExportLoginToken : TLMethod + { + public override int Constructor + { + get + { + return -1313598185; + } + } + + public int ApiId { get; set; } + public string ApiHash { get; set; } + public TLVector ExceptIds { get; set; } + public Auth.TLAbsLoginToken Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + ApiId = br.ReadInt32(); + ApiHash = StringUtil.Deserialize(br); + ExceptIds = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(ApiId); + StringUtil.Serialize(ApiHash, bw); + ObjectUtils.SerializeObject(ExceptIds, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Auth.TLAbsLoginToken)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs index 9b6041d2..e2500a8d 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs @@ -20,7 +20,7 @@ public override int Constructor public int Id { get; set; } public byte[] Bytes { get; set; } - public Auth.TLAuthorization Response { get; set; } + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() @@ -44,7 +44,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs index 732ffbaf..bde516e1 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs @@ -22,12 +22,11 @@ public override int Constructor public int ApiId { get; set; } public string ApiHash { get; set; } public string BotAuthToken { get; set; } - public Auth.TLAuthorization Response { get; set; } + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() { - Flags = 0; } @@ -43,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(ApiId); StringUtil.Serialize(ApiHash, bw); @@ -52,7 +50,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs new file mode 100644 index 00000000..b26fe448 --- /dev/null +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Auth +{ + [TLObject(-1783866140)] + public class TLRequestImportLoginToken : TLMethod + { + public override int Constructor + { + get + { + return -1783866140; + } + } + + public byte[] Token { get; set; } + public Auth.TLAbsLoginToken Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Token = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Token, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Auth.TLAbsLoginToken)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs b/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs index 7ebfe41c..2e35379b 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs @@ -19,7 +19,7 @@ public override int Constructor } public string Code { get; set; } - public Auth.TLAuthorization Response { get; set; } + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs index 74950a64..146a3b94 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs @@ -7,60 +7,45 @@ using TeleSharp.TL; namespace TeleSharp.TL.Auth { - [TLObject(-2035355412)] + [TLObject(-1502141361)] public class TLRequestSendCode : TLMethod { public override int Constructor { get { - return -2035355412; + return -1502141361; } } - public int Flags { get; set; } - public bool AllowFlashcall { get; set; } public string PhoneNumber { get; set; } - public bool? CurrentNumber { get; set; } public int ApiId { get; set; } public string ApiHash { get; set; } + public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = AllowFlashcall ? (Flags | 1) : (Flags & ~1); - Flags = CurrentNumber != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { - Flags = br.ReadInt32(); - AllowFlashcall = (Flags & 1) != 0; PhoneNumber = StringUtil.Deserialize(br); - if ((Flags & 1) != 0) - CurrentNumber = BoolUtil.Deserialize(br); - else - CurrentNumber = null; - ApiId = br.ReadInt32(); ApiHash = StringUtil.Deserialize(br); + Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); - bw.Write(Flags); - StringUtil.Serialize(PhoneNumber, bw); - if ((Flags & 1) != 0) - BoolUtil.Serialize(CurrentNumber.Value, bw); bw.Write(ApiId); StringUtil.Serialize(ApiHash, bw); + ObjectUtils.SerializeObject(Settings, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs index 5f6ee13e..9a750478 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs @@ -21,7 +21,7 @@ public override int Constructor public string PhoneNumber { get; set; } public string PhoneCodeHash { get; set; } public string PhoneCode { get; set; } - public Auth.TLAuthorization Response { get; set; } + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() @@ -47,7 +47,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs index 2e5ee696..a8714294 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs @@ -7,20 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Auth { - [TLObject(453408308)] + [TLObject(-2131827673)] public class TLRequestSignUp : TLMethod { public override int Constructor { get { - return 453408308; + return -2131827673; } } public string PhoneNumber { get; set; } public string PhoneCodeHash { get; set; } - public string PhoneCode { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Auth.TLAuthorization Response { get; set; } @@ -35,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); - PhoneCode = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); @@ -46,7 +44,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); - StringUtil.Serialize(PhoneCode, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCode.cs b/src/TeleSharp.TL/TL/Auth/TLSentCode.cs index 4bf93e07..0f58a638 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCode.cs @@ -19,7 +19,6 @@ public override int Constructor } public int Flags { get; set; } - public bool PhoneRegistered { get; set; } public Auth.TLAbsSentCodeType Type { get; set; } public string PhoneCodeHash { get; set; } public Auth.TLAbsCodeType NextType { get; set; } @@ -28,17 +27,12 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = PhoneRegistered ? (Flags | 1) : (Flags & ~1); - Flags = NextType != null ? (Flags | 2) : (Flags & ~2); - Flags = Timeout != null ? (Flags | 4) : (Flags & ~4); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - PhoneRegistered = (Flags & 1) != 0; Type = (Auth.TLAbsSentCodeType)ObjectUtils.DeserializeObject(br); PhoneCodeHash = StringUtil.Deserialize(br); if ((Flags & 2) != 0) @@ -57,9 +51,7 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - ObjectUtils.SerializeObject(Type, bw); StringUtil.Serialize(PhoneCodeHash, bw); if ((Flags & 2) != 0) diff --git a/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs new file mode 100644 index 00000000..996990e1 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + public abstract class TLAbsChannelParticipants : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs b/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs new file mode 100644 index 00000000..65febe65 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-309659827)] + public class TLAdminLogResults : TLObject + { + public override int Constructor + { + get + { + return -309659827; + } + } + + public TLVector Events { get; set; } + public TLVector Chats { get; set; } + public TLVector Users { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Events = (TLVector)ObjectUtils.DeserializeVector(br); + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Events, bw); + ObjectUtils.SerializeObject(Chats, bw); + ObjectUtils.SerializeObject(Users, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs index ac6650f4..fd909e05 100644 --- a/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs +++ b/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs @@ -8,7 +8,7 @@ namespace TeleSharp.TL.Channels { [TLObject(-177282392)] - public class TLChannelParticipants : TLObject + public class TLChannelParticipants : TLAbsChannelParticipants { public override int Constructor { diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs b/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs new file mode 100644 index 00000000..abc70198 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-266911767)] + public class TLChannelParticipantsNotModified : TLAbsChannelParticipants + { + public override int Constructor + { + get + { + return -266911767; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs index ccd557dd..2f67cd37 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-192332417)] + [TLObject(1029681423)] public class TLRequestCreateChannel : TLMethod { public override int Constructor { get { - return -192332417; + return 1029681423; } } @@ -23,14 +23,13 @@ public override int Constructor public bool Megagroup { get; set; } public string Title { get; set; } public string About { get; set; } + public TLAbsInputGeoPoint GeoPoint { get; set; } + public string Address { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Broadcast ? (Flags | 1) : (Flags & ~1); - Flags = Megagroup ? (Flags | 2) : (Flags & ~2); } @@ -41,18 +40,31 @@ public override void DeserializeBody(BinaryReader br) Megagroup = (Flags & 2) != 0; Title = StringUtil.Deserialize(br); About = StringUtil.Deserialize(br); + if ((Flags & 4) != 0) + GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + else + GeoPoint = null; + + if ((Flags & 4) != 0) + Address = StringUtil.Deserialize(br); + else + Address = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Title, bw); StringUtil.Serialize(About, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(GeoPoint, bw); + if ((Flags & 4) != 0) + StringUtil.Serialize(Address, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditAbout.cs b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs similarity index 79% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditAbout.cs rename to src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs index 77b480af..60cd3fd5 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditAbout.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(333610782)] - public class TLRequestEditAbout : TLMethod + [TLObject(-1355375294)] + public class TLRequestDeleteHistory : TLMethod { public override int Constructor { get { - return 333610782; + return -1355375294; } } public TLAbsInputChannel Channel { get; set; } - public string About { get; set; } + public int MaxId { get; set; } public bool Response { get; set; } @@ -31,7 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - About = StringUtil.Deserialize(br); + MaxId = br.ReadInt32(); } @@ -39,7 +39,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - StringUtil.Serialize(About, bw); + bw.Write(MaxId); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs index da2885b1..d2276aab 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-344583728)] + [TLObject(-751007486)] public class TLRequestEditAdmin : TLMethod { public override int Constructor { get { - return -344583728; + return -751007486; } } public TLAbsInputChannel Channel { get; set; } public TLAbsInputUser UserId { get; set; } - public TLAbsChannelParticipantRole Role { get; set; } + public TLChatAdminRights AdminRights { get; set; } + public string Rank { get; set; } public TLAbsUpdates Response { get; set; } @@ -33,7 +34,8 @@ public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - Role = (TLAbsChannelParticipantRole)ObjectUtils.DeserializeObject(br); + AdminRights = (TLChatAdminRights)ObjectUtils.DeserializeObject(br); + Rank = StringUtil.Deserialize(br); } @@ -42,7 +44,8 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); - ObjectUtils.SerializeObject(Role, bw); + ObjectUtils.SerializeObject(AdminRights, bw); + StringUtil.Serialize(Rank, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestKickFromChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs similarity index 78% rename from src/TeleSharp.TL/TL/Channels/TLRequestKickFromChannel.cs rename to src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs index 2c3834e3..1b51eb87 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestKickFromChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs @@ -7,20 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-1502421484)] - public class TLRequestKickFromChannel : TLMethod + [TLObject(1920559378)] + public class TLRequestEditBanned : TLMethod { public override int Constructor { get { - return -1502421484; + return 1920559378; } } public TLAbsInputChannel Channel { get; set; } public TLAbsInputUser UserId { get; set; } - public bool Kicked { get; set; } + public TLChatBannedRights BannedRights { get; set; } public TLAbsUpdates Response { get; set; } @@ -33,7 +33,7 @@ public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - Kicked = BoolUtil.Deserialize(br); + BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); } @@ -42,7 +42,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); - BoolUtil.Serialize(Kicked, bw); + ObjectUtils.SerializeObject(BannedRights, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs new file mode 100644 index 00000000..e53332c3 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-1892102881)] + public class TLRequestEditCreator : TLMethod + { + public override int Constructor + { + get + { + return -1892102881; + } + } + + public TLAbsInputChannel Channel { get; set; } + public TLAbsInputUser UserId { get; set; } + public TLAbsInputCheckPasswordSRP Password { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Channel, bw); + ObjectUtils.SerializeObject(UserId, bw); + ObjectUtils.SerializeObject(Password, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs new file mode 100644 index 00000000..43418b84 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(1491484525)] + public class TLRequestEditLocation : TLMethod + { + public override int Constructor + { + get + { + return 1491484525; + } + } + + public TLAbsInputChannel Channel { get; set; } + public TLAbsInputGeoPoint GeoPoint { get; set; } + public string Address { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + Address = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Channel, bw); + ObjectUtils.SerializeObject(GeoPoint, bw); + StringUtil.Serialize(Address, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs b/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs index 01cd2d8f..4615233c 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-934882771)] + [TLObject(-826838685)] public class TLRequestExportMessageLink : TLMethod { public override int Constructor { get { - return -934882771; + return -826838685; } } public TLAbsInputChannel Channel { get; set; } public int Id { get; set; } + public bool Grouped { get; set; } public TLExportedMessageLink Response { get; set; } @@ -32,6 +33,7 @@ public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); + Grouped = BoolUtil.Deserialize(br); } @@ -40,6 +42,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); bw.Write(Id); + BoolUtil.Serialize(Grouped, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs new file mode 100644 index 00000000..a66c108e --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(870184064)] + public class TLRequestGetAdminLog : TLMethod + { + public override int Constructor + { + get + { + return 870184064; + } + } + + public int Flags { get; set; } + public TLAbsInputChannel Channel { get; set; } + public string Q { get; set; } + public TLChannelAdminLogEventsFilter EventsFilter { get; set; } + public TLVector Admins { get; set; } + public long MaxId { get; set; } + public long MinId { get; set; } + public int Limit { get; set; } + public Channels.TLAdminLogResults Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Q = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + EventsFilter = (TLChannelAdminLogEventsFilter)ObjectUtils.DeserializeObject(br); + else + EventsFilter = null; + + if ((Flags & 2) != 0) + Admins = (TLVector)ObjectUtils.DeserializeVector(br); + else + Admins = null; + + MaxId = br.ReadInt64(); + MinId = br.ReadInt64(); + Limit = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Channel, bw); + StringUtil.Serialize(Q, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(EventsFilter, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Admins, bw); + bw.Write(MaxId); + bw.Write(MinId); + bw.Write(Limit); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Channels.TLAdminLogResults)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs index 0409b560..1adb9125 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs @@ -7,17 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-1920105769)] + [TLObject(-122669393)] public class TLRequestGetAdminedPublicChannels : TLMethod { public override int Constructor { get { - return -1920105769; + return -122669393; } } + public int Flags { get; set; } + public bool ByLocation { get; set; } + public bool CheckLimit { get; set; } public Messages.TLAbsChats Response { get; set; } @@ -28,12 +31,18 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + ByLocation = (Flags & 1) != 0; + CheckLimit = (Flags & 2) != 0; } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + + } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs new file mode 100644 index 00000000..60d55b6d --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-170208392)] + public class TLRequestGetGroupsForDiscussion : TLMethod + { + public override int Constructor + { + get + { + return -170208392; + } + } + + public Messages.TLAbsChats Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs new file mode 100644 index 00000000..211476ac --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(300429806)] + public class TLRequestGetInactiveChannels : TLMethod + { + public override int Constructor + { + get + { + return 300429806; + } + } + + public Messages.TLInactiveChats Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLInactiveChats)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs new file mode 100644 index 00000000..4ed95ac4 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-2092831552)] + public class TLRequestGetLeftChannels : TLMethod + { + public override int Constructor + { + get + { + return -2092831552; + } + } + + public int Offset { get; set; } + public Messages.TLAbsChats Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs index 0469921f..e4d9aa83 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-1814580409)] + [TLObject(-1383294429)] public class TLRequestGetMessages : TLMethod { public override int Constructor { get { - return -1814580409; + return -1383294429; } } public TLAbsInputChannel Channel { get; set; } - public TLVector Id { get; set; } + public TLVector Id { get; set; } public Messages.TLAbsMessages Response { get; set; } @@ -31,7 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - Id = (TLVector)ObjectUtils.DeserializeVector(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs index ab7f76bf..b5af26f4 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(618237842)] + [TLObject(306054633)] public class TLRequestGetParticipants : TLMethod { public override int Constructor { get { - return 618237842; + return 306054633; } } @@ -22,7 +22,8 @@ public override int Constructor public TLAbsChannelParticipantsFilter Filter { get; set; } public int Offset { get; set; } public int Limit { get; set; } - public Channels.TLChannelParticipants Response { get; set; } + public int Hash { get; set; } + public Channels.TLAbsChannelParticipants Response { get; set; } public void ComputeFlags() @@ -36,6 +37,7 @@ public override void DeserializeBody(BinaryReader br) Filter = (TLAbsChannelParticipantsFilter)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); + Hash = br.ReadInt32(); } @@ -46,11 +48,12 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Filter, bw); bw.Write(Offset); bw.Write(Limit); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) { - Response = (Channels.TLChannelParticipants)ObjectUtils.DeserializeObject(br); + Response = (Channels.TLAbsChannelParticipants)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs b/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs new file mode 100644 index 00000000..a7bf8d97 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-357180360)] + public class TLRequestReadMessageContents : TLMethod + { + public override int Constructor + { + get + { + return -357180360; + } + } + + public TLAbsInputChannel Channel { get; set; } + public TLVector Id { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Channel, bw); + ObjectUtils.SerializeObject(Id, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs b/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs new file mode 100644 index 00000000..547efa15 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(1079520178)] + public class TLRequestSetDiscussionGroup : TLMethod + { + public override int Constructor + { + get + { + return 1079520178; + } + } + + public TLAbsInputChannel Broadcast { get; set; } + public TLAbsInputChannel Group { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Broadcast = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Group = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Broadcast, bw); + ObjectUtils.SerializeObject(Group, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs b/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs new file mode 100644 index 00000000..ece72c30 --- /dev/null +++ b/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Channels +{ + [TLObject(-359881479)] + public class TLRequestSetStickers : TLMethod + { + public override int Constructor + { + get + { + return -359881479; + } + } + + public TLAbsInputChannel Channel { get; set; } + public TLAbsInputStickerSet Stickerset { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Channel, bw); + ObjectUtils.SerializeObject(Stickerset, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestToggleInvites.cs b/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs similarity index 89% rename from src/TeleSharp.TL/TL/Channels/TLRequestToggleInvites.cs rename to src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs index 7dc57ea9..018b0209 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestToggleInvites.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(1231065863)] - public class TLRequestToggleInvites : TLMethod + [TLObject(-356796084)] + public class TLRequestTogglePreHistoryHidden : TLMethod { public override int Constructor { get { - return 1231065863; + return -356796084; } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestExportInvite.cs b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs similarity index 70% rename from src/TeleSharp.TL/TL/Channels/TLRequestExportInvite.cs rename to src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs index 0f287bed..3afc2d68 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestExportInvite.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Channels { - [TLObject(-950663035)] - public class TLRequestExportInvite : TLMethod + [TLObject(-304832784)] + public class TLRequestToggleSlowMode : TLMethod { public override int Constructor { get { - return -950663035; + return -304832784; } } public TLAbsInputChannel Channel { get; set; } - public TLAbsExportedChatInvite Response { get; set; } + public int Seconds { get; set; } + public TLAbsUpdates Response { get; set; } public void ComputeFlags() @@ -30,6 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Seconds = br.ReadInt32(); } @@ -37,11 +39,12 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); + bw.Write(Seconds); } public override void DeserializeResponse(BinaryReader br) { - Response = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLContacts.cs index aaf63af0..e6c42423 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLContacts.cs @@ -7,18 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(1871416498)] + [TLObject(-353862078)] public class TLContacts : TLAbsContacts { public override int Constructor { get { - return 1871416498; + return -353862078; } } public TLVector Contacts { get; set; } + public int SavedCount { get; set; } public TLVector Users { get; set; } @@ -30,6 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Contacts = (TLVector)ObjectUtils.DeserializeVector(br); + SavedCount = br.ReadInt32(); Users = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -38,6 +40,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Contacts, bw); + bw.Write(SavedCount); ObjectUtils.SerializeObject(Users, bw); } diff --git a/src/TeleSharp.TL/TL/Contacts/TLFound.cs b/src/TeleSharp.TL/TL/Contacts/TLFound.cs index 793e5b32..7070fe5e 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLFound.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLFound.cs @@ -7,17 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(446822276)] + [TLObject(-1290580579)] public class TLFound : TLObject { public override int Constructor { get { - return 446822276; + return -1290580579; } } + public TLVector MyResults { get; set; } public TLVector Results { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -30,6 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + MyResults = (TLVector)ObjectUtils.DeserializeVector(br); Results = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); @@ -39,6 +41,7 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + ObjectUtils.SerializeObject(MyResults, bw); ObjectUtils.SerializeObject(Results, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); diff --git a/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs index fea30b84..a2038fa3 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs @@ -7,18 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(-1387117803)] + [TLObject(2010127419)] public class TLImportedContacts : TLObject { public override int Constructor { get { - return -1387117803; + return 2010127419; } } public TLVector Imported { get; set; } + public TLVector PopularInvites { get; set; } public TLVector RetryContacts { get; set; } public TLVector Users { get; set; } @@ -31,6 +32,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Imported = (TLVector)ObjectUtils.DeserializeVector(br); + PopularInvites = (TLVector)ObjectUtils.DeserializeVector(br); RetryContacts = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); @@ -40,6 +42,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Imported, bw); + ObjectUtils.SerializeObject(PopularInvites, bw); ObjectUtils.SerializeObject(RetryContacts, bw); ObjectUtils.SerializeObject(Users, bw); diff --git a/src/TeleSharp.TL/TL/Contacts/TLLink.cs b/src/TeleSharp.TL/TL/Contacts/TLLink.cs deleted file mode 100644 index 0d956e78..00000000 --- a/src/TeleSharp.TL/TL/Contacts/TLLink.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL.Contacts -{ - [TLObject(986597452)] - public class TLLink : TLObject - { - public override int Constructor - { - get - { - return 986597452; - } - } - - public TLAbsContactLink MyLink { get; set; } - public TLAbsContactLink ForeignLink { get; set; } - public TLAbsUser User { get; set; } - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - MyLink = (TLAbsContactLink)ObjectUtils.DeserializeObject(br); - ForeignLink = (TLAbsContactLink)ObjectUtils.DeserializeObject(br); - User = (TLAbsUser)ObjectUtils.DeserializeObject(br); - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - ObjectUtils.SerializeObject(MyLink, bw); - ObjectUtils.SerializeObject(ForeignLink, bw); - ObjectUtils.SerializeObject(User, bw); - - } - } -} diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContact.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs similarity index 76% rename from src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContact.cs rename to src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs index acb9f0ce..a57aafe8 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContact.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(-1902823612)] - public class TLRequestDeleteContact : TLMethod + [TLObject(-130964977)] + public class TLRequestAcceptContact : TLMethod { public override int Constructor { get { - return -1902823612; + return -130964977; } } public TLAbsInputUser Id { get; set; } - public Contacts.TLLink Response { get; set; } + public TLAbsUpdates Response { get; set; } public void ComputeFlags() @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Contacts.TLLink)ObjectUtils.DeserializeObject(br); + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs new file mode 100644 index 00000000..df5d2c24 --- /dev/null +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Contacts +{ + [TLObject(-386636848)] + public class TLRequestAddContact : TLMethod + { + public override int Constructor + { + get + { + return -386636848; + } + } + + public int Flags { get; set; } + public bool AddPhonePrivacyException { get; set; } + public TLAbsInputUser Id { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + public string Phone { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + AddPhonePrivacyException = (Flags & 1) != 0; + Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + FirstName = StringUtil.Deserialize(br); + LastName = StringUtil.Deserialize(br); + Phone = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Id, bw); + StringUtil.Serialize(FirstName, bw); + StringUtil.Serialize(LastName, bw); + StringUtil.Serialize(Phone, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestImportCard.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs similarity index 60% rename from src/TeleSharp.TL/TL/Contacts/TLRequestImportCard.cs rename to src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs index 82b06b1e..4f8231dd 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestImportCard.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(1340184318)] - public class TLRequestImportCard : TLMethod + [TLObject(269745566)] + public class TLRequestDeleteByPhones : TLMethod { public override int Constructor { get { - return 1340184318; + return 269745566; } } - public TLVector ExportCard { get; set; } - public TLAbsUser Response { get; set; } + public TLVector Phones { get; set; } + public bool Response { get; set; } public void ComputeFlags() @@ -29,19 +29,19 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - ExportCard = (TLVector)ObjectUtils.DeserializeVector(br); + Phones = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ObjectUtils.SerializeObject(ExportCard, bw); + ObjectUtils.SerializeObject(Phones, bw); } public override void DeserializeResponse(BinaryReader br) { - Response = (TLAbsUser)ObjectUtils.DeserializeObject(br); + Response = BoolUtil.Deserialize(br); } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs index b4d39ef2..08316fb6 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(1504393374)] + [TLObject(157945344)] public class TLRequestDeleteContacts : TLMethod { public override int Constructor { get { - return 1504393374; + return 157945344; } } public TLVector Id { get; set; } - public bool Response { get; set; } + public TLAbsUpdates Response { get; set; } public void ComputeFlags() @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = BoolUtil.Deserialize(br); + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestExportCard.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs similarity index 78% rename from src/TeleSharp.TL/TL/Contacts/TLRequestExportCard.cs rename to src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs index 5c240ca9..9ab50f1f 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestExportCard.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs @@ -7,17 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(-2065352905)] - public class TLRequestExportCard : TLMethod + [TLObject(749357634)] + public class TLRequestGetContactIDs : TLMethod { public override int Constructor { get { - return -2065352905; + return 749357634; } } + public int Hash { get; set; } public TLVector Response { get; set; } @@ -28,12 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Hash = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs index 77cffcf9..2524bf01 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(583445000)] + [TLObject(-1071414113)] public class TLRequestGetContacts : TLMethod { public override int Constructor { get { - return 583445000; + return -1071414113; } } - public string Hash { get; set; } + public int Hash { get; set; } public Contacts.TLAbsContacts Response { get; set; } @@ -29,14 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Hash = StringUtil.Deserialize(br); + Hash = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - StringUtil.Serialize(Hash, bw); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs new file mode 100644 index 00000000..f6b005c2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Contacts +{ + [TLObject(171270230)] + public class TLRequestGetLocated : TLMethod + { + public override int Constructor + { + get + { + return 171270230; + } + } + + public TLAbsInputGeoPoint GeoPoint { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(GeoPoint, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs new file mode 100644 index 00000000..b6f67107 --- /dev/null +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Contacts +{ + [TLObject(-2098076769)] + public class TLRequestGetSaved : TLMethod + { + public override int Constructor + { + get + { + return -2098076769; + } + } + + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs index c4f08034..206bb6de 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs @@ -23,6 +23,8 @@ public override int Constructor public bool BotsPm { get; set; } public bool BotsInline { get; set; } public bool PhoneCalls { get; set; } + public bool ForwardUsers { get; set; } + public bool ForwardChats { get; set; } public bool Groups { get; set; } public bool Channels { get; set; } public int Offset { get; set; } @@ -33,13 +35,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Correspondents ? (Flags | 1) : (Flags & ~1); - Flags = BotsPm ? (Flags | 2) : (Flags & ~2); - Flags = BotsInline ? (Flags | 4) : (Flags & ~4); - Flags = PhoneCalls ? (Flags | 8) : (Flags & ~8); - Flags = Groups ? (Flags | 1024) : (Flags & ~1024); - Flags = Channels ? (Flags | 32768) : (Flags & ~32768); } @@ -50,6 +45,8 @@ public override void DeserializeBody(BinaryReader br) BotsPm = (Flags & 2) != 0; BotsInline = (Flags & 4) != 0; PhoneCalls = (Flags & 8) != 0; + ForwardUsers = (Flags & 16) != 0; + ForwardChats = (Flags & 32) != 0; Groups = (Flags & 1024) != 0; Channels = (Flags & 32768) != 0; Offset = br.ReadInt32(); @@ -61,7 +58,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -69,6 +65,8 @@ public override void SerializeBody(BinaryWriter bw) + + bw.Write(Offset); bw.Write(Limit); bw.Write(Hash); diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs index 076cf395..52b0af1a 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs @@ -7,19 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Contacts { - [TLObject(-634342611)] + [TLObject(746589157)] public class TLRequestImportContacts : TLMethod { public override int Constructor { get { - return -634342611; + return 746589157; } } public TLVector Contacts { get; set; } - public bool Replace { get; set; } public Contacts.TLImportedContacts Response { get; set; } @@ -31,7 +30,6 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Contacts = (TLVector)ObjectUtils.DeserializeVector(br); - Replace = BoolUtil.Deserialize(br); } @@ -39,7 +37,6 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Contacts, bw); - BoolUtil.Serialize(Replace, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs new file mode 100644 index 00000000..27f2613f --- /dev/null +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Contacts +{ + [TLObject(-2020263951)] + public class TLRequestResetSaved : TLMethod + { + public override int Constructor + { + get + { + return -2020263951; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestToggleChatAdmins.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs similarity index 66% rename from src/TeleSharp.TL/TL/Messages/TLRequestToggleChatAdmins.cs rename to src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs index 179bb898..f844862d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestToggleChatAdmins.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs @@ -5,22 +5,21 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL.Messages +namespace TeleSharp.TL.Contacts { - [TLObject(-326379039)] - public class TLRequestToggleChatAdmins : TLMethod + [TLObject(-2062238246)] + public class TLRequestToggleTopPeers : TLMethod { public override int Constructor { get { - return -326379039; + return -2062238246; } } - public int ChatId { get; set; } public bool Enabled { get; set; } - public TLAbsUpdates Response { get; set; } + public bool Response { get; set; } public void ComputeFlags() @@ -30,7 +29,6 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - ChatId = br.ReadInt32(); Enabled = BoolUtil.Deserialize(br); } @@ -38,13 +36,12 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - bw.Write(ChatId); BoolUtil.Serialize(Enabled, bw); } public override void DeserializeResponse(BinaryReader br) { - Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + Response = BoolUtil.Deserialize(br); } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs b/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs new file mode 100644 index 00000000..5acd6042 --- /dev/null +++ b/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Contacts +{ + [TLObject(-1255369827)] + public class TLTopPeersDisabled : TLAbsTopPeers + { + public override int Constructor + { + get + { + return -1255369827; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs b/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs new file mode 100644 index 00000000..bd4b3dc4 --- /dev/null +++ b/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Folders +{ + [TLObject(472471681)] + public class TLRequestDeleteFolder : TLMethod + { + public override int Constructor + { + get + { + return 472471681; + } + } + + public int FolderId { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FolderId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(FolderId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs b/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs new file mode 100644 index 00000000..35dd0d9c --- /dev/null +++ b/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Folders +{ + [TLObject(1749536939)] + public class TLRequestEditPeerFolders : TLMethod + { + public override int Constructor + { + get + { + return 1749536939; + } + } + + public TLVector FolderPeers { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FolderPeers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(FolderPeers, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs new file mode 100644 index 00000000..bdb4cc54 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + public abstract class TLAbsDeepLinkInfo : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs new file mode 100644 index 00000000..d269b2e9 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + public abstract class TLAbsPassportConfig : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs b/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs new file mode 100644 index 00000000..911cfcaa --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + public abstract class TLAbsProxyData : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs new file mode 100644 index 00000000..da761586 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + public abstract class TLAbsTermsOfServiceUpdate : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs new file mode 100644 index 00000000..239ba59c --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + public abstract class TLAbsUserInfo : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs index a7a4772e..b41df57a 100644 --- a/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs @@ -7,21 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL.Help { - [TLObject(-1987579119)] + [TLObject(497489295)] public class TLAppUpdate : TLAbsAppUpdate { public override int Constructor { get { - return -1987579119; + return 497489295; } } + public int Flags { get; set; } + public bool CanNotSkip { get; set; } public int Id { get; set; } - public bool Critical { get; set; } - public string Url { get; set; } + public string Version { get; set; } public string Text { get; set; } + public TLVector Entities { get; set; } + public TLAbsDocument Document { get; set; } + public string Url { get; set; } public void ComputeFlags() @@ -31,20 +35,38 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + CanNotSkip = (Flags & 1) != 0; Id = br.ReadInt32(); - Critical = BoolUtil.Deserialize(br); - Url = StringUtil.Deserialize(br); + Version = StringUtil.Deserialize(br); Text = StringUtil.Deserialize(br); + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 2) != 0) + Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); + else + Document = null; + + if ((Flags & 4) != 0) + Url = StringUtil.Deserialize(br); + else + Url = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(Id); - BoolUtil.Serialize(Critical, bw); - StringUtil.Serialize(Url, bw); + StringUtil.Serialize(Version, bw); StringUtil.Serialize(Text, bw); + ObjectUtils.SerializeObject(Entities, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 4) != 0) + StringUtil.Serialize(Url, bw); } } diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs new file mode 100644 index 00000000..ec40290f --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1783556146)] + public class TLDeepLinkInfo : TLAbsDeepLinkInfo + { + public override int Constructor + { + get + { + return 1783556146; + } + } + + public int Flags { get; set; } + public bool UpdateApp { get; set; } + public string Message { get; set; } + public TLVector Entities { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + UpdateApp = (Flags & 1) != 0; + Message = StringUtil.Deserialize(br); + if ((Flags & 2) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + StringUtil.Serialize(Message, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Entities, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs new file mode 100644 index 00000000..c7604fb0 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1722786150)] + public class TLDeepLinkInfoEmpty : TLAbsDeepLinkInfo + { + public override int Constructor + { + get + { + return 1722786150; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs new file mode 100644 index 00000000..f1b6d750 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-1600596305)] + public class TLPassportConfig : TLAbsPassportConfig + { + public override int Constructor + { + get + { + return -1600596305; + } + } + + public int Hash { get; set; } + public TLDataJSON CountriesLangs { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + CountriesLangs = (TLDataJSON)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + ObjectUtils.SerializeObject(CountriesLangs, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs b/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs new file mode 100644 index 00000000..e10dd46b --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-1078332329)] + public class TLPassportConfigNotModified : TLAbsPassportConfig + { + public override int Constructor + { + get + { + return -1078332329; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs b/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs new file mode 100644 index 00000000..072218bc --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-526508104)] + public class TLProxyDataEmpty : TLAbsProxyData + { + public override int Constructor + { + get + { + return -526508104; + } + } + + public int Expires { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Expires = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Expires); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs b/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs new file mode 100644 index 00000000..37f477fe --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(737668643)] + public class TLProxyDataPromo : TLAbsProxyData + { + public override int Constructor + { + get + { + return 737668643; + } + } + + public int Expires { get; set; } + public TLAbsPeer Peer { get; set; } + public TLVector Chats { get; set; } + public TLVector Users { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Expires = br.ReadInt32(); + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Expires); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Chats, bw); + ObjectUtils.SerializeObject(Users, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs b/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs new file mode 100644 index 00000000..301fbc32 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(235081943)] + public class TLRecentMeUrls : TLObject + { + public override int Constructor + { + get + { + return 235081943; + } + } + + public TLVector Urls { get; set; } + public TLVector Chats { get; set; } + public TLVector Users { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Urls = (TLVector)ObjectUtils.DeserializeVector(br); + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Urls, bw); + ObjectUtils.SerializeObject(Chats, bw); + ObjectUtils.SerializeObject(Users, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs b/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs new file mode 100644 index 00000000..c1dd0525 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-294455398)] + public class TLRequestAcceptTermsOfService : TLMethod + { + public override int Constructor + { + get + { + return -294455398; + } + } + + public TLDataJSON Id { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = (TLDataJSON)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Id, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs new file mode 100644 index 00000000..3750a3b0 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1723407216)] + public class TLRequestEditUserInfo : TLMethod + { + public override int Constructor + { + get + { + return 1723407216; + } + } + + public TLAbsInputUser UserId { get; set; } + public string Message { get; set; } + public TLVector Entities { get; set; } + public Help.TLAbsUserInfo Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + Message = StringUtil.Deserialize(br); + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(UserId, bw); + StringUtil.Serialize(Message, bw); + ObjectUtils.SerializeObject(Entities, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsUserInfo)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfService.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs similarity index 71% rename from src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfService.cs rename to src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs index db90934e..ab85ffef 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfService.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Help { - [TLObject(889286899)] - public class TLRequestGetTermsOfService : TLMethod + [TLObject(-1735311088)] + public class TLRequestGetAppConfig : TLMethod { public override int Constructor { get { - return 889286899; + return -1735311088; } } - public Help.TLTermsOfService Response { get; set; } + public TLAbsJSONValue Response { get; set; } public void ComputeFlags() @@ -38,7 +38,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br); + Response = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs index 620942e4..ecb44024 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs @@ -7,17 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Help { - [TLObject(-1372724842)] + [TLObject(1378703997)] public class TLRequestGetAppUpdate : TLMethod { public override int Constructor { get { - return -1372724842; + return 1378703997; } } + public string Source { get; set; } public Help.TLAbsAppUpdate Response { get; set; } @@ -28,12 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Source = StringUtil.Deserialize(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + StringUtil.Serialize(Source, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs new file mode 100644 index 00000000..df5d93de --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1072547679)] + public class TLRequestGetDeepLinkInfo : TLMethod + { + public override int Constructor + { + get + { + return 1072547679; + } + } + + public string Path { get; set; } + public Help.TLAbsDeepLinkInfo Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Path = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Path, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsDeepLinkInfo)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs new file mode 100644 index 00000000..6252e553 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-966677240)] + public class TLRequestGetPassportConfig : TLMethod + { + public override int Constructor + { + get + { + return -966677240; + } + } + + public int Hash { get; set; } + public Help.TLAbsPassportConfig Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsPassportConfig)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs new file mode 100644 index 00000000..9391a301 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1031231713)] + public class TLRequestGetProxyData : TLMethod + { + public override int Constructor + { + get + { + return 1031231713; + } + } + + public Help.TLAbsProxyData Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsProxyData)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs new file mode 100644 index 00000000..874b8ecd --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(1036054804)] + public class TLRequestGetRecentMeUrls : TLMethod + { + public override int Constructor + { + get + { + return 1036054804; + } + } + + public string Referer { get; set; } + public Help.TLRecentMeUrls Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Referer = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Referer, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLRecentMeUrls)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs new file mode 100644 index 00000000..865abd5d --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-748624084)] + public class TLRequestGetSupportName : TLMethod + { + public override int Constructor + { + get + { + return -748624084; + } + } + + public Help.TLSupportName Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLSupportName)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs new file mode 100644 index 00000000..70e6ae89 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(749019089)] + public class TLRequestGetTermsOfServiceUpdate : TLMethod + { + public override int Constructor + { + get + { + return 749019089; + } + } + + public Help.TLAbsTermsOfServiceUpdate Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsTermsOfServiceUpdate)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs new file mode 100644 index 00000000..c19870e8 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(59377875)] + public class TLRequestGetUserInfo : TLMethod + { + public override int Constructor + { + get + { + return 59377875; + } + } + + public TLAbsInputUser UserId { get; set; } + public Help.TLAbsUserInfo Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(UserId, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Help.TLAbsUserInfo)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLSupportName.cs b/src/TeleSharp.TL/TL/Help/TLSupportName.cs new file mode 100644 index 00000000..a3132ba2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLSupportName.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-1945767479)] + public class TLSupportName : TLObject + { + public override int Constructor + { + get + { + return -1945767479; + } + } + + public string Name { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Name = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Name, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs index 32d4b980..0e4dd15c 100644 --- a/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs @@ -7,18 +7,23 @@ using TeleSharp.TL; namespace TeleSharp.TL.Help { - [TLObject(-236044656)] + [TLObject(2013922064)] public class TLTermsOfService : TLObject { public override int Constructor { get { - return -236044656; + return 2013922064; } } + public int Flags { get; set; } + public bool Popup { get; set; } + public TLDataJSON Id { get; set; } public string Text { get; set; } + public TLVector Entities { get; set; } + public int? MinAgeConfirm { get; set; } public void ComputeFlags() @@ -28,14 +33,29 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Popup = (Flags & 1) != 0; + Id = (TLDataJSON)ObjectUtils.DeserializeObject(br); Text = StringUtil.Deserialize(br); + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 2) != 0) + MinAgeConfirm = br.ReadInt32(); + else + MinAgeConfirm = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Id, bw); StringUtil.Serialize(Text, bw); + ObjectUtils.SerializeObject(Entities, bw); + if ((Flags & 2) != 0) + bw.Write(MinAgeConfirm.Value); } } diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs new file mode 100644 index 00000000..70b2c5a2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(686618977)] + public class TLTermsOfServiceUpdate : TLAbsTermsOfServiceUpdate + { + public override int Constructor + { + get + { + return 686618977; + } + } + + public int Expires { get; set; } + public Help.TLTermsOfService TermsOfService { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Expires = br.ReadInt32(); + TermsOfService = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Expires); + ObjectUtils.SerializeObject(TermsOfService, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs new file mode 100644 index 00000000..cbffcb4f --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-483352705)] + public class TLTermsOfServiceUpdateEmpty : TLAbsTermsOfServiceUpdate + { + public override int Constructor + { + get + { + return -483352705; + } + } + + public int Expires { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Expires = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Expires); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLUserInfo.cs new file mode 100644 index 00000000..ff854edf --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLUserInfo.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(32192344)] + public class TLUserInfo : TLAbsUserInfo + { + public override int Constructor + { + get + { + return 32192344; + } + } + + public string Message { get; set; } + public TLVector Entities { get; set; } + public string Author { get; set; } + public int Date { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = StringUtil.Deserialize(br); + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + Author = StringUtil.Deserialize(br); + Date = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Message, bw); + ObjectUtils.SerializeObject(Entities, bw); + StringUtil.Serialize(Author, bw); + bw.Write(Date); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs b/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs new file mode 100644 index 00000000..bdbbbe98 --- /dev/null +++ b/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Help +{ + [TLObject(-206688531)] + public class TLUserInfoEmpty : TLAbsUserInfo + { + public override int Constructor + { + get + { + return -206688531; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs new file mode 100644 index 00000000..f5a7a570 --- /dev/null +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Langpack +{ + [TLObject(-845657435)] + public class TLRequestGetDifference : TLMethod + { + public override int Constructor + { + get + { + return -845657435; + } + } + + public string LangPack { get; set; } + public string LangCode { get; set; } + public int FromVersion { get; set; } + public TLLangPackDifference Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangPack = StringUtil.Deserialize(br); + LangCode = StringUtil.Deserialize(br); + FromVersion = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangPack, bw); + StringUtil.Serialize(LangCode, bw); + bw.Write(FromVersion); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs new file mode 100644 index 00000000..9d0b43ba --- /dev/null +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Langpack +{ + [TLObject(-219008246)] + public class TLRequestGetLangPack : TLMethod + { + public override int Constructor + { + get + { + return -219008246; + } + } + + public string LangPack { get; set; } + public string LangCode { get; set; } + public TLLangPackDifference Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangPack = StringUtil.Deserialize(br); + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangPack, bw); + StringUtil.Serialize(LangCode, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs new file mode 100644 index 00000000..202acc48 --- /dev/null +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Langpack +{ + [TLObject(1784243458)] + public class TLRequestGetLanguage : TLMethod + { + public override int Constructor + { + get + { + return 1784243458; + } + } + + public string LangPack { get; set; } + public string LangCode { get; set; } + public TLLangPackLanguage Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangPack = StringUtil.Deserialize(br); + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangPack, bw); + StringUtil.Serialize(LangCode, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLLangPackLanguage)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs new file mode 100644 index 00000000..1ce107c5 --- /dev/null +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Langpack +{ + [TLObject(1120311183)] + public class TLRequestGetLanguages : TLMethod + { + public override int Constructor + { + get + { + return 1120311183; + } + } + + public string LangPack { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangPack = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangPack, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs new file mode 100644 index 00000000..f7ca2f21 --- /dev/null +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Langpack +{ + [TLObject(-269862909)] + public class TLRequestGetStrings : TLMethod + { + public override int Constructor + { + get + { + return -269862909; + } + } + + public string LangPack { get; set; } + public string LangCode { get; set; } + public TLVector Keys { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangPack = StringUtil.Deserialize(br); + LangCode = StringUtil.Deserialize(br); + Keys = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangPack, bw); + StringUtil.Serialize(LangCode, bw); + ObjectUtils.SerializeObject(Keys, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs new file mode 100644 index 00000000..c3a9fe11 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + public abstract class TLAbsFavedStickers : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs new file mode 100644 index 00000000..cc073c00 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + public abstract class TLAbsFoundStickerSets : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs index a33b8a62..44a35623 100644 --- a/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs @@ -21,6 +21,7 @@ public override int Constructor public int Flags { get; set; } public bool Alert { get; set; } public bool HasUrl { get; set; } + public bool NativeUi { get; set; } public string Message { get; set; } public string Url { get; set; } public int CacheTime { get; set; } @@ -28,11 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Alert ? (Flags | 2) : (Flags & ~2); - Flags = HasUrl ? (Flags | 8) : (Flags & ~8); - Flags = Message != null ? (Flags | 1) : (Flags & ~1); - Flags = Url != null ? (Flags | 4) : (Flags & ~4); } @@ -41,6 +37,7 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Alert = (Flags & 2) != 0; HasUrl = (Flags & 8) != 0; + NativeUi = (Flags & 16) != 0; if ((Flags & 1) != 0) Message = StringUtil.Deserialize(br); else @@ -58,10 +55,10 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + if ((Flags & 1) != 0) StringUtil.Serialize(Message, bw); if ((Flags & 4) != 0) diff --git a/src/TeleSharp.TL/TL/Messages/TLBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLBotResults.cs index f524520c..65d107fa 100644 --- a/src/TeleSharp.TL/TL/Messages/TLBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLBotResults.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-858565059)] + [TLObject(-1803769784)] public class TLBotResults : TLObject { public override int Constructor { get { - return -858565059; + return -1803769784; } } @@ -25,14 +25,11 @@ public override int Constructor public TLInlineBotSwitchPM SwitchPm { get; set; } public TLVector Results { get; set; } public int CacheTime { get; set; } + public TLVector Users { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Gallery ? (Flags | 1) : (Flags & ~1); - Flags = NextOffset != null ? (Flags | 2) : (Flags & ~2); - Flags = SwitchPm != null ? (Flags | 4) : (Flags & ~4); } @@ -53,13 +50,13 @@ public override void DeserializeBody(BinaryReader br) Results = (TLVector)ObjectUtils.DeserializeVector(br); CacheTime = br.ReadInt32(); + Users = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); @@ -69,6 +66,7 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(SwitchPm, bw); ObjectUtils.SerializeObject(Results, bw); bw.Write(CacheTime); + ObjectUtils.SerializeObject(Users, bw); } } diff --git a/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs b/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs index 04b6d3e9..98df6b77 100644 --- a/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs @@ -19,6 +19,7 @@ public override int Constructor } public int Flags { get; set; } + public bool Inexact { get; set; } public int Pts { get; set; } public int Count { get; set; } public TLVector Messages { get; set; } @@ -28,13 +29,13 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); + Inexact = (Flags & 2) != 0; Pts = br.ReadInt32(); Count = br.ReadInt32(); Messages = (TLVector)ObjectUtils.DeserializeVector(br); @@ -46,8 +47,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Pts); bw.Write(Count); ObjectUtils.SerializeObject(Messages, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLDialogs.cs index be6d0f29..df652361 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDialogs.cs @@ -18,7 +18,7 @@ public override int Constructor } } - public TLVector Dialogs { get; set; } + public TLVector Dialogs { get; set; } public TLVector Messages { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -31,7 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); + Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs new file mode 100644 index 00000000..c59071bb --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-253500010)] + public class TLDialogsNotModified : TLAbsDialogs + { + public override int Constructor + { + get + { + return -253500010; + } + } + + public int Count { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Count = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Count); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs b/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs index 87e6642c..9879a28f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs @@ -19,7 +19,7 @@ public override int Constructor } public int Count { get; set; } - public TLVector Dialogs { get; set; } + public TLVector Dialogs { get; set; } public TLVector Messages { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -33,7 +33,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Count = br.ReadInt32(); - Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); + Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); diff --git a/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs new file mode 100644 index 00000000..e5fb836a --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-209768682)] + public class TLFavedStickers : TLAbsFavedStickers + { + public override int Constructor + { + get + { + return -209768682; + } + } + + public int Hash { get; set; } + public TLVector Packs { get; set; } + public TLVector Stickers { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + Packs = (TLVector)ObjectUtils.DeserializeVector(br); + Stickers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + ObjectUtils.SerializeObject(Packs, bw); + ObjectUtils.SerializeObject(Stickers, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPeerNotifyEventsEmpty.cs b/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs similarity index 76% rename from src/TeleSharp.TL/TL/TLPeerNotifyEventsEmpty.cs rename to src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs index 3e3b952c..7bf4532b 100644 --- a/src/TeleSharp.TL/TL/TLPeerNotifyEventsEmpty.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs @@ -5,16 +5,16 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL +namespace TeleSharp.TL.Messages { - [TLObject(-1378534221)] - public class TLPeerNotifyEventsEmpty : TLAbsPeerNotifyEvents + [TLObject(-1634752813)] + public class TLFavedStickersNotModified : TLAbsFavedStickers { public override int Constructor { get { - return -1378534221; + return -1634752813; } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs new file mode 100644 index 00000000..abee5118 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1359533640)] + public class TLFoundStickerSets : TLAbsFoundStickerSets + { + public override int Constructor + { + get + { + return 1359533640; + } + } + + public int Hash { get; set; } + public TLVector Sets { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + Sets = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + ObjectUtils.SerializeObject(Sets, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs new file mode 100644 index 00000000..190400ab --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(223655517)] + public class TLFoundStickerSetsNotModified : TLAbsFoundStickerSets + { + public override int Constructor + { + get + { + return 223655517; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs b/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs new file mode 100644 index 00000000..8f8e98fe --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1456996667)] + public class TLInactiveChats : TLObject + { + public override int Constructor + { + get + { + return -1456996667; + } + } + + public TLVector Dates { get; set; } + public TLVector Chats { get; set; } + public TLVector Users { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Dates = (TLVector)ObjectUtils.DeserializeVector(br); + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + Users = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Dates, bw); + ObjectUtils.SerializeObject(Chats, bw); + ObjectUtils.SerializeObject(Users, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs b/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs index 744a655a..cff61f2e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs @@ -24,8 +24,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Caption ? (Flags | 1) : (Flags & ~1); } @@ -39,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs new file mode 100644 index 00000000..c8817ba2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1951620897)] + public class TLMessagesNotModified : TLAbsMessages + { + public override int Constructor + { + get + { + return 1951620897; + } + } + + public int Count { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Count = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Count); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs b/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs index 51c928a7..c74b9ea9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs @@ -7,18 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(189033187)] + [TLObject(-923939298)] public class TLMessagesSlice : TLAbsMessages { public override int Constructor { get { - return 189033187; + return -923939298; } } + public int Flags { get; set; } + public bool Inexact { get; set; } public int Count { get; set; } + public int? NextRate { get; set; } public TLVector Messages { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -31,7 +34,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Inexact = (Flags & 2) != 0; Count = br.ReadInt32(); + if ((Flags & 1) != 0) + NextRate = br.ReadInt32(); + else + NextRate = null; + Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); @@ -41,7 +51,11 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(Count); + if ((Flags & 1) != 0) + bw.Write(NextRate.Value); ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs index 0d717f67..bae02dd1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs @@ -18,7 +18,7 @@ public override int Constructor } } - public TLVector Dialogs { get; set; } + public TLVector Dialogs { get; set; } public TLVector Messages { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -32,7 +32,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); + Dialogs = (TLVector)ObjectUtils.DeserializeVector(br); Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); diff --git a/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs index 80adc92a..2507eb7c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs @@ -7,19 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(1558317424)] + [TLObject(586395571)] public class TLRecentStickers : TLAbsRecentStickers { public override int Constructor { get { - return 1558317424; + return 586395571; } } public int Hash { get; set; } + public TLVector Packs { get; set; } public TLVector Stickers { get; set; } + public TLVector Dates { get; set; } public void ComputeFlags() @@ -30,7 +32,9 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); + Packs = (TLVector)ObjectUtils.DeserializeVector(br); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); + Dates = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -38,7 +42,9 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); + ObjectUtils.SerializeObject(Packs, bw); ObjectUtils.SerializeObject(Stickers, bw); + ObjectUtils.SerializeObject(Dates, bw); } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs new file mode 100644 index 00000000..573e1481 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-148247912)] + public class TLRequestAcceptUrlAuth : TLMethod + { + public override int Constructor + { + get + { + return -148247912; + } + } + + public int Flags { get; set; } + public bool WriteAllowed { get; set; } + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public int ButtonId { get; set; } + public TLAbsUrlAuthResult Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + WriteAllowed = (Flags & 1) != 0; + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + ButtonId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + bw.Write(ButtonId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUrlAuthResult)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs b/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs new file mode 100644 index 00000000..e383bada --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(2119757468)] + public class TLRequestClearAllDrafts : TLMethod + { + public override int Constructor + { + get + { + return 2119757468; + } + } + + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs index 052214a9..8fad38d7 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Attached ? (Flags | 1) : (Flags & ~1); } @@ -40,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs index 917180f1..1357d303 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs @@ -20,6 +20,7 @@ public override int Constructor public int Flags { get; set; } public bool JustClear { get; set; } + public bool Revoke { get; set; } public TLAbsInputPeer Peer { get; set; } public int MaxId { get; set; } public Messages.TLAffectedHistory Response { get; set; } @@ -27,8 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = JustClear ? (Flags | 1) : (Flags & ~1); } @@ -36,6 +35,7 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); JustClear = (Flags & 1) != 0; + Revoke = (Flags & 2) != 0; Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); @@ -44,9 +44,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + ObjectUtils.SerializeObject(Peer, bw); bw.Write(MaxId); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs index f47d99d3..74a98470 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs @@ -26,8 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Revoke ? (Flags | 1) : (Flags & ~1); } @@ -42,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Id, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs new file mode 100644 index 00000000..bf4412ef --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1504586518)] + public class TLRequestDeleteScheduledMessages : TLMethod + { + public override int Constructor + { + get + { + return 1504586518; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLVector Id { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Id, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs new file mode 100644 index 00000000..06850384 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-554301545)] + public class TLRequestEditChatAbout : TLMethod + { + public override int Constructor + { + get + { + return -554301545; + } + } + + public TLAbsInputPeer Peer { get; set; } + public string About { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + About = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + StringUtil.Serialize(About, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs new file mode 100644 index 00000000..8459eb4c --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1517917375)] + public class TLRequestEditChatDefaultBannedRights : TLMethod + { + public override int Constructor + { + get + { + return -1517917375; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLChatBannedRights BannedRights { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(BannedRights, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs index cf8340f7..0ff7a8db 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(319564933)] + [TLObject(-2091549254)] public class TLRequestEditInlineBotMessage : TLMethod { public override int Constructor { get { - return 319564933; + return -2091549254; } } @@ -22,6 +22,7 @@ public override int Constructor public bool NoWebpage { get; set; } public TLInputBotInlineMessageID Id { get; set; } public string Message { get; set; } + public TLAbsInputMedia Media { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public TLVector Entities { get; set; } public bool Response { get; set; } @@ -29,11 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 2) : (Flags & ~2); - Flags = Message != null ? (Flags | 2048) : (Flags & ~2048); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); - Flags = Entities != null ? (Flags | 8) : (Flags & ~8); } @@ -47,6 +43,11 @@ public override void DeserializeBody(BinaryReader br) else Message = null; + if ((Flags & 16384) != 0) + Media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br); + else + Media = null; + if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -63,12 +64,13 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Id, bw); if ((Flags & 2048) != 0) StringUtil.Serialize(Message, bw); + if ((Flags & 16384) != 0) + ObjectUtils.SerializeObject(Media, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); if ((Flags & 8) != 0) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs index d9109de6..13c205be 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-829299510)] + [TLObject(1224152952)] public class TLRequestEditMessage : TLMethod { public override int Constructor { get { - return -829299510; + return 1224152952; } } @@ -23,18 +23,15 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public int Id { get; set; } public string Message { get; set; } + public TLAbsInputMedia Media { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public TLVector Entities { get; set; } + public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 2) : (Flags & ~2); - Flags = Message != null ? (Flags | 2048) : (Flags & ~2048); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); - Flags = Entities != null ? (Flags | 8) : (Flags & ~8); } @@ -49,6 +46,11 @@ public override void DeserializeBody(BinaryReader br) else Message = null; + if ((Flags & 16384) != 0) + Media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br); + else + Media = null; + if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -59,23 +61,31 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; + if ((Flags & 32768) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); if ((Flags & 2048) != 0) StringUtil.Serialize(Message, bw); + if ((Flags & 16384) != 0) + ObjectUtils.SerializeObject(Media, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); + if ((Flags & 32768) != 0) + bw.Write(ScheduleDate.Value); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs b/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs index 1e353159..14961581 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(2106086025)] + [TLObject(234312524)] public class TLRequestExportChatInvite : TLMethod { public override int Constructor { get { - return 2106086025; + return 234312524; } } - public int ChatId { get; set; } + public TLAbsInputPeer Peer { get; set; } public TLAbsExportedChatInvite Response { get; set; } @@ -29,14 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - ChatId = br.ReadInt32(); + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - bw.Write(ChatId); + ObjectUtils.SerializeObject(Peer, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs b/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs new file mode 100644 index 00000000..53ad2089 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1174420133)] + public class TLRequestFaveSticker : TLMethod + { + public override int Constructor + { + get + { + return -1174420133; + } + } + + public TLAbsInputDocument Id { get; set; } + public bool Unfave { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); + Unfave = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Id, bw); + BoolUtil.Serialize(Unfave, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs index ac85f71d..166656eb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(1888354709)] + [TLObject(-637606386)] public class TLRequestForwardMessages : TLMethod { public override int Constructor { get { - return 1888354709; + return -637606386; } } @@ -22,19 +22,17 @@ public override int Constructor public bool Silent { get; set; } public bool Background { get; set; } public bool WithMyScore { get; set; } + public bool Grouped { get; set; } public TLAbsInputPeer FromPeer { get; set; } public TLVector Id { get; set; } public TLVector RandomId { get; set; } public TLAbsInputPeer ToPeer { get; set; } + public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Silent ? (Flags | 32) : (Flags & ~32); - Flags = Background ? (Flags | 64) : (Flags & ~64); - Flags = WithMyScore ? (Flags | 256) : (Flags & ~256); } @@ -44,25 +42,33 @@ public override void DeserializeBody(BinaryReader br) Silent = (Flags & 32) != 0; Background = (Flags & 64) != 0; WithMyScore = (Flags & 256) != 0; + Grouped = (Flags & 512) != 0; FromPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); RandomId = (TLVector)ObjectUtils.DeserializeVector(br); ToPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + if ((Flags & 1024) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + ObjectUtils.SerializeObject(FromPeer, bw); ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(RandomId, bw); ObjectUtils.SerializeObject(ToPeer, bw); + if ((Flags & 1024) != 0) + bw.Write(ScheduleDate.Value); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs index 065673a2..e1d7e1ec 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs @@ -27,8 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Masks ? (Flags | 1) : (Flags & ~1); } @@ -44,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(OffsetId); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs index e22366d5..cdb4a167 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs @@ -28,9 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Game ? (Flags | 2) : (Flags & ~2); - Flags = Data != null ? (Flags | 1) : (Flags & ~1); } @@ -51,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Peer, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs new file mode 100644 index 00000000..14e93e3f --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(585256482)] + public class TLRequestGetDialogUnreadMarks : TLMethod + { + public override int Constructor + { + get + { + return 585256482; + } + } + + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs index 34ea1f3e..b028b0e4 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs @@ -7,30 +7,30 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(421243333)] + [TLObject(-1594999949)] public class TLRequestGetDialogs : TLMethod { public override int Constructor { get { - return 421243333; + return -1594999949; } } public int Flags { get; set; } public bool ExcludePinned { get; set; } + public int? FolderId { get; set; } public int OffsetDate { get; set; } public int OffsetId { get; set; } public TLAbsInputPeer OffsetPeer { get; set; } public int Limit { get; set; } + public int Hash { get; set; } public Messages.TLAbsDialogs Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ExcludePinned ? (Flags | 1) : (Flags & ~1); } @@ -38,23 +38,31 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); ExcludePinned = (Flags & 1) != 0; + if ((Flags & 2) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + OffsetDate = br.ReadInt32(); OffsetId = br.ReadInt32(); OffsetPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Limit = br.ReadInt32(); + Hash = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + if ((Flags & 2) != 0) + bw.Write(FolderId.Value); bw.Write(OffsetDate); bw.Write(OffsetId); ObjectUtils.SerializeObject(OffsetPeer, bw); bw.Write(Limit); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs new file mode 100644 index 00000000..65aacfd4 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(899735650)] + public class TLRequestGetEmojiKeywords : TLMethod + { + public override int Constructor + { + get + { + return 899735650; + } + } + + public string LangCode { get; set; } + public TLEmojiKeywordsDifference Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLEmojiKeywordsDifference)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs new file mode 100644 index 00000000..9848318f --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(352892591)] + public class TLRequestGetEmojiKeywordsDifference : TLMethod + { + public override int Constructor + { + get + { + return 352892591; + } + } + + public string LangCode { get; set; } + public int FromVersion { get; set; } + public TLEmojiKeywordsDifference Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + FromVersion = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + bw.Write(FromVersion); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLEmojiKeywordsDifference)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs new file mode 100644 index 00000000..ba15f1ec --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1318675378)] + public class TLRequestGetEmojiKeywordsLanguages : TLMethod + { + public override int Constructor + { + get + { + return 1318675378; + } + } + + public TLVector LangCodes { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCodes = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(LangCodes, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs new file mode 100644 index 00000000..685768f2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-709817306)] + public class TLRequestGetEmojiURL : TLMethod + { + public override int Constructor + { + get + { + return -709817306; + } + } + + public string LangCode { get; set; } + public TLEmojiURL Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLEmojiURL)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs new file mode 100644 index 00000000..65b4704e --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(567151374)] + public class TLRequestGetFavedStickers : TLMethod + { + public override int Constructor + { + get + { + return 567151374; + } + } + + public int Hash { get; set; } + public Messages.TLAbsFavedStickers Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsFavedStickers)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs index f78f3605..085ca0ff 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1347868602)] + [TLObject(-591691168)] public class TLRequestGetHistory : TLMethod { public override int Constructor { get { - return -1347868602; + return -591691168; } } @@ -25,6 +25,7 @@ public override int Constructor public int Limit { get; set; } public int MaxId { get; set; } public int MinId { get; set; } + public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } @@ -42,6 +43,7 @@ public override void DeserializeBody(BinaryReader br) Limit = br.ReadInt32(); MaxId = br.ReadInt32(); MinId = br.ReadInt32(); + Hash = br.ReadInt32(); } @@ -55,6 +57,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Limit); bw.Write(MaxId); bw.Write(MinId); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs index 7399be44..ff5c09a9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs @@ -29,8 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = GeoPoint != null ? (Flags | 1) : (Flags & ~1); } @@ -52,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Bot, bw); ObjectUtils.SerializeObject(Peer, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs index bbd12d95..b9b00ba2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(1109588596)] + [TLObject(1673946374)] public class TLRequestGetMessages : TLMethod { public override int Constructor { get { - return 1109588596; + return 1673946374; } } - public TLVector Id { get; set; } + public TLVector Id { get; set; } public Messages.TLAbsMessages Response { get; set; } @@ -29,7 +29,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Id = (TLVector)ObjectUtils.DeserializeVector(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs new file mode 100644 index 00000000..5c9d434c --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1848369232)] + public class TLRequestGetOnlines : TLMethod + { + public override int Constructor + { + get + { + return 1848369232; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLChatOnlines Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLChatOnlines)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs index 6ad24666..0cb43ce5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(764901049)] + [TLObject(-462373635)] public class TLRequestGetPeerDialogs : TLMethod { public override int Constructor { get { - return 764901049; + return -462373635; } } - public TLVector Peers { get; set; } + public TLVector Peers { get; set; } public Messages.TLPeerDialogs Response { get; set; } @@ -29,7 +29,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Peers = (TLVector)ObjectUtils.DeserializeVector(br); + Peers = (TLVector)ObjectUtils.DeserializeVector(br); } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs index 4b8cee81..016ca07c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs @@ -7,17 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-497756594)] + [TLObject(-692498958)] public class TLRequestGetPinnedDialogs : TLMethod { public override int Constructor { get { - return -497756594; + return -692498958; } } + public int FolderId { get; set; } public Messages.TLPeerDialogs Response { get; set; } @@ -28,12 +29,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + FolderId = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(FolderId); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs new file mode 100644 index 00000000..fc1511c9 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1941660731)] + public class TLRequestGetPollResults : TLMethod + { + public override int Constructor + { + get + { + return 1941660731; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs new file mode 100644 index 00000000..f91c2d31 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1144759543)] + public class TLRequestGetRecentLocations : TLMethod + { + public override int Constructor + { + get + { + return -1144759543; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int Limit { get; set; } + public int Hash { get; set; } + public Messages.TLAbsMessages Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Limit = br.ReadInt32(); + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(Limit); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs index 4d9ac235..d70f8ef2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs @@ -26,8 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Attached ? (Flags | 1) : (Flags & ~1); } @@ -42,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Hash); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs new file mode 100644 index 00000000..9c2516be --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-490575781)] + public class TLRequestGetScheduledHistory : TLMethod + { + public override int Constructor + { + get + { + return -490575781; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int Hash { get; set; } + public Messages.TLAbsMessages Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs new file mode 100644 index 00000000..149a956e --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1111817116)] + public class TLRequestGetScheduledMessages : TLMethod + { + public override int Constructor + { + get + { + return -1111817116; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLVector Id { get; set; } + public Messages.TLAbsMessages Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Id, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs new file mode 100644 index 00000000..1a16f887 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1932455680)] + public class TLRequestGetSearchCounters : TLMethod + { + public override int Constructor + { + get + { + return 1932455680; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLVector Filters { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Filters = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Filters, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs new file mode 100644 index 00000000..90f92bda --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(486505992)] + public class TLRequestGetSplitRanges : TLMethod + { + public override int Constructor + { + get + { + return 486505992; + } + } + + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs new file mode 100644 index 00000000..4f6a6c45 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-2127811866)] + public class TLRequestGetStatsURL : TLMethod + { + public override int Constructor + { + get + { + return -2127811866; + } + } + + public int Flags { get; set; } + public bool Dark { get; set; } + public TLAbsInputPeer Peer { get; set; } + public string Params { get; set; } + public TLStatsURL Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Dark = (Flags & 1) != 0; + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Params = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Peer, bw); + StringUtil.Serialize(Params, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLStatsURL)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs new file mode 100644 index 00000000..7027d14c --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(71126828)] + public class TLRequestGetStickers : TLMethod + { + public override int Constructor + { + get + { + return 71126828; + } + } + + public string Emoticon { get; set; } + public int Hash { get; set; } + public Messages.TLAbsStickers Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Emoticon = StringUtil.Deserialize(br); + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Emoticon, bw); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsStickers)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs new file mode 100644 index 00000000..51dbad64 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1180140658)] + public class TLRequestGetUnreadMentions : TLMethod + { + public override int Constructor + { + get + { + return 1180140658; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int OffsetId { get; set; } + public int AddOffset { get; set; } + public int Limit { get; set; } + public int MaxId { get; set; } + public int MinId { get; set; } + public Messages.TLAbsMessages Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + OffsetId = br.ReadInt32(); + AddOffset = br.ReadInt32(); + Limit = br.ReadInt32(); + MaxId = br.ReadInt32(); + MinId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(OffsetId); + bw.Write(AddOffset); + bw.Write(Limit); + bw.Write(MaxId); + bw.Write(MinId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs index 8ae95719..00d50769 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs @@ -7,18 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(623001124)] + [TLObject(-1956073268)] public class TLRequestGetWebPagePreview : TLMethod { public override int Constructor { get { - return 623001124; + return -1956073268; } } + public int Flags { get; set; } public string Message { get; set; } + public TLVector Entities { get; set; } public TLAbsMessageMedia Response { get; set; } @@ -29,14 +31,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Message = StringUtil.Deserialize(br); + if ((Flags & 8) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); StringUtil.Serialize(Message, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Entities, bw); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestHideReportSpam.cs b/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs similarity index 88% rename from src/TeleSharp.TL/TL/Messages/TLRequestHideReportSpam.cs rename to src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs index b65333be..db1693e3 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestHideReportSpam.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1460572005)] - public class TLRequestHideReportSpam : TLMethod + [TLObject(1336717624)] + public class TLRequestHidePeerSettingsBar : TLMethod { public override int Constructor { get { - return -1460572005; + return 1336717624; } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs b/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs new file mode 100644 index 00000000..11507fa8 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1031349873)] + public class TLRequestMarkDialogUnread : TLMethod + { + public override int Constructor + { + get + { + return -1031349873; + } + } + + public int Flags { get; set; } + public bool Unread { get; set; } + public TLAbsInputDialogPeer Peer { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Unread = (Flags & 1) != 0; + Peer = (TLAbsInputDialogPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Peer, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs new file mode 100644 index 00000000..ff1a197b --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(251759059)] + public class TLRequestReadMentions : TLMethod + { + public override int Constructor + { + get + { + return 251759059; + } + } + + public TLAbsInputPeer Peer { get; set; } + public Messages.TLAffectedHistory Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAffectedHistory)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs index 47fdd9c9..efbd87d5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs @@ -7,27 +7,26 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1784678844)] + [TLObject(991616823)] public class TLRequestReorderPinnedDialogs : TLMethod { public override int Constructor { get { - return -1784678844; + return 991616823; } } public int Flags { get; set; } public bool Force { get; set; } - public TLVector Order { get; set; } + public int FolderId { get; set; } + public TLVector Order { get; set; } public bool Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Force ? (Flags | 1) : (Flags & ~1); } @@ -35,16 +34,17 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Force = (Flags & 1) != 0; - Order = (TLVector)ObjectUtils.DeserializeVector(br); + FolderId = br.ReadInt32(); + Order = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(FolderId); ObjectUtils.SerializeObject(Order, bw); } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs index 4bb0256c..cbb160fd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs @@ -26,8 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Masks ? (Flags | 1) : (Flags & ~1); } @@ -42,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Order, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs new file mode 100644 index 00000000..7a4f066e --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1115507112)] + public class TLRequestReport : TLMethod + { + public override int Constructor + { + get + { + return -1115507112; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLVector Id { get; set; } + public TLAbsReportReason Reason { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); + Reason = (TLAbsReportReason)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Id, bw); + ObjectUtils.SerializeObject(Reason, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs b/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs new file mode 100644 index 00000000..0b68f832 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-482388461)] + public class TLRequestRequestUrlAuth : TLMethod + { + public override int Constructor + { + get + { + return -482388461; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public int ButtonId { get; set; } + public TLAbsUrlAuthResult Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + ButtonId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + bw.Write(ButtonId); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUrlAuthResult)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs index 4c319643..f04311d8 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs @@ -29,10 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 2) : (Flags & ~2); - Flags = ReplyToMsgId != null ? (Flags | 1) : (Flags & ~1); - Flags = Entities != null ? (Flags | 8) : (Flags & ~8); } @@ -58,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs index 524b75ef..e45eb00d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs @@ -27,8 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Attached ? (Flags | 1) : (Flags & ~1); } @@ -44,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Id, bw); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs index b9fb8b34..8815830f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs @@ -7,32 +7,35 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-732523960)] + [TLObject(-2045448344)] public class TLRequestSearch : TLMethod { public override int Constructor { get { - return -732523960; + return -2045448344; } } public int Flags { get; set; } public TLAbsInputPeer Peer { get; set; } public string Q { get; set; } + public TLAbsInputUser FromId { get; set; } public TLAbsMessagesFilter Filter { get; set; } public int MinDate { get; set; } public int MaxDate { get; set; } - public int Offset { get; set; } - public int MaxId { get; set; } + public int OffsetId { get; set; } + public int AddOffset { get; set; } public int Limit { get; set; } + public int MaxId { get; set; } + public int MinId { get; set; } + public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } public void ComputeFlags() { - Flags = 0; } @@ -41,28 +44,40 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Q = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + FromId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + else + FromId = null; + Filter = (TLAbsMessagesFilter)ObjectUtils.DeserializeObject(br); MinDate = br.ReadInt32(); MaxDate = br.ReadInt32(); - Offset = br.ReadInt32(); - MaxId = br.ReadInt32(); + OffsetId = br.ReadInt32(); + AddOffset = br.ReadInt32(); Limit = br.ReadInt32(); + MaxId = br.ReadInt32(); + MinId = br.ReadInt32(); + Hash = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Peer, bw); StringUtil.Serialize(Q, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(FromId, bw); ObjectUtils.SerializeObject(Filter, bw); bw.Write(MinDate); bw.Write(MaxDate); - bw.Write(Offset); - bw.Write(MaxId); + bw.Write(OffsetId); + bw.Write(AddOffset); bw.Write(Limit); + bw.Write(MaxId); + bw.Write(MinId); + bw.Write(Hash); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs index 990d5b17..d9e025a6 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs @@ -7,19 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1640190800)] + [TLObject(-1083038300)] public class TLRequestSearchGlobal : TLMethod { public override int Constructor { get { - return -1640190800; + return -1083038300; } } + public int Flags { get; set; } + public int? FolderId { get; set; } public string Q { get; set; } - public int OffsetDate { get; set; } + public int OffsetRate { get; set; } public TLAbsInputPeer OffsetPeer { get; set; } public int OffsetId { get; set; } public int Limit { get; set; } @@ -33,8 +35,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + Q = StringUtil.Deserialize(br); - OffsetDate = br.ReadInt32(); + OffsetRate = br.ReadInt32(); OffsetPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); OffsetId = br.ReadInt32(); Limit = br.ReadInt32(); @@ -44,8 +52,11 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + bw.Write(FolderId.Value); StringUtil.Serialize(Q, bw); - bw.Write(OffsetDate); + bw.Write(OffsetRate); ObjectUtils.SerializeObject(OffsetPeer, bw); bw.Write(OffsetId); bw.Write(Limit); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs new file mode 100644 index 00000000..c6ee3ae7 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1028140917)] + public class TLRequestSearchStickerSets : TLMethod + { + public override int Constructor + { + get + { + return -1028140917; + } + } + + public int Flags { get; set; } + public bool ExcludeFeatured { get; set; } + public string Q { get; set; } + public int Hash { get; set; } + public Messages.TLAbsFoundStickerSets Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + ExcludeFeatured = (Flags & 1) != 0; + Q = StringUtil.Deserialize(br); + Hash = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + StringUtil.Serialize(Q, bw); + bw.Write(Hash); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (Messages.TLAbsFoundStickerSets)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs index 74b5c258..80323aed 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1318189314)] + [TLObject(570955184)] public class TLRequestSendInlineBotResult : TLMethod { public override int Constructor { get { - return -1318189314; + return 570955184; } } @@ -22,21 +22,18 @@ public override int Constructor public bool Silent { get; set; } public bool Background { get; set; } public bool ClearDraft { get; set; } + public bool HideVia { get; set; } public TLAbsInputPeer Peer { get; set; } public int? ReplyToMsgId { get; set; } public long RandomId { get; set; } public long QueryId { get; set; } public string Id { get; set; } + public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Silent ? (Flags | 32) : (Flags & ~32); - Flags = Background ? (Flags | 64) : (Flags & ~64); - Flags = ClearDraft ? (Flags | 128) : (Flags & ~128); - Flags = ReplyToMsgId != null ? (Flags | 1) : (Flags & ~1); } @@ -46,6 +43,7 @@ public override void DeserializeBody(BinaryReader br) Silent = (Flags & 32) != 0; Background = (Flags & 64) != 0; ClearDraft = (Flags & 128) != 0; + HideVia = (Flags & 2048) != 0; Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); if ((Flags & 1) != 0) ReplyToMsgId = br.ReadInt32(); @@ -55,23 +53,30 @@ public override void DeserializeBody(BinaryReader br) RandomId = br.ReadInt64(); QueryId = br.ReadInt64(); Id = StringUtil.Deserialize(br); + if ((Flags & 1024) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + ObjectUtils.SerializeObject(Peer, bw); if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); bw.Write(RandomId); bw.Write(QueryId); StringUtil.Serialize(Id, bw); + if ((Flags & 1024) != 0) + bw.Write(ScheduleDate.Value); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs index f8606e74..2c92d589 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-923703407)] + [TLObject(881978281)] public class TLRequestSendMedia : TLMethod { public override int Constructor { get { - return -923703407; + return 881978281; } } @@ -25,19 +25,16 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public int? ReplyToMsgId { get; set; } public TLAbsInputMedia Media { get; set; } + public string Message { get; set; } public long RandomId { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } + public TLVector Entities { get; set; } + public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Silent ? (Flags | 32) : (Flags & ~32); - Flags = Background ? (Flags | 64) : (Flags & ~64); - Flags = ClearDraft ? (Flags | 128) : (Flags & ~128); - Flags = ReplyToMsgId != null ? (Flags | 1) : (Flags & ~1); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -54,19 +51,29 @@ public override void DeserializeBody(BinaryReader br) ReplyToMsgId = null; Media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br); + Message = StringUtil.Deserialize(br); RandomId = br.ReadInt64(); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else ReplyMarkup = null; + if ((Flags & 8) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + + if ((Flags & 1024) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -75,9 +82,14 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); ObjectUtils.SerializeObject(Media, bw); + StringUtil.Serialize(Message, bw); bw.Write(RandomId); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Entities, bw); + if ((Flags & 1024) != 0) + bw.Write(ScheduleDate.Value); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs index 84d0a2aa..946206aa 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-91733382)] + [TLObject(1376532592)] public class TLRequestSendMessage : TLMethod { public override int Constructor { get { - return -91733382; + return 1376532592; } } @@ -29,19 +29,12 @@ public override int Constructor public long RandomId { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public TLVector Entities { get; set; } + public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 2) : (Flags & ~2); - Flags = Silent ? (Flags | 32) : (Flags & ~32); - Flags = Background ? (Flags | 64) : (Flags & ~64); - Flags = ClearDraft ? (Flags | 128) : (Flags & ~128); - Flags = ReplyToMsgId != null ? (Flags | 1) : (Flags & ~1); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); - Flags = Entities != null ? (Flags | 8) : (Flags & ~8); } @@ -70,13 +63,17 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; + if ((Flags & 1024) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -91,6 +88,8 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(ReplyMarkup, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); + if ((Flags & 1024) != 0) + bw.Write(ScheduleDate.Value); } public override void DeserializeResponse(BinaryReader br) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs new file mode 100644 index 00000000..adc80bda --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-872345397)] + public class TLRequestSendMultiMedia : TLMethod + { + public override int Constructor + { + get + { + return -872345397; + } + } + + public int Flags { get; set; } + public bool Silent { get; set; } + public bool Background { get; set; } + public bool ClearDraft { get; set; } + public TLAbsInputPeer Peer { get; set; } + public int? ReplyToMsgId { get; set; } + public TLVector MultiMedia { get; set; } + public int? ScheduleDate { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Silent = (Flags & 32) != 0; + Background = (Flags & 64) != 0; + ClearDraft = (Flags & 128) != 0; + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + ReplyToMsgId = br.ReadInt32(); + else + ReplyToMsgId = null; + + MultiMedia = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 1024) != 0) + ScheduleDate = br.ReadInt32(); + else + ScheduleDate = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + ObjectUtils.SerializeObject(Peer, bw); + if ((Flags & 1) != 0) + bw.Write(ReplyToMsgId.Value); + ObjectUtils.SerializeObject(MultiMedia, bw); + if ((Flags & 1024) != 0) + bw.Write(ScheduleDate.Value); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs new file mode 100644 index 00000000..40ccce95 --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-1120369398)] + public class TLRequestSendScheduledMessages : TLMethod + { + public override int Constructor + { + get + { + return -1120369398; + } + } + + public TLAbsInputPeer Peer { get; set; } + public TLVector Id { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Id = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Id, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs similarity index 80% rename from src/TeleSharp.TL/TL/Messages/TLRequestForwardMessage.cs rename to src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs index cb704cd8..67265388 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(865483769)] - public class TLRequestForwardMessage : TLMethod + [TLObject(-914493408)] + public class TLRequestSendScreenshotNotification : TLMethod { public override int Constructor { get { - return 865483769; + return -914493408; } } public TLAbsInputPeer Peer { get; set; } - public int Id { get; set; } + public int ReplyToMsgId { get; set; } public long RandomId { get; set; } public TLAbsUpdates Response { get; set; } @@ -32,7 +32,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - Id = br.ReadInt32(); + ReplyToMsgId = br.ReadInt32(); RandomId = br.ReadInt64(); } @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - bw.Write(Id); + bw.Write(ReplyToMsgId); bw.Write(RandomId); } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs new file mode 100644 index 00000000..150aabac --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(283795844)] + public class TLRequestSendVote : TLMethod + { + public override int Constructor + { + get + { + return 283795844; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public TLVector Options { get; set; } + public TLAbsUpdates Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + Options = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + ObjectUtils.SerializeObject(Options, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs index 96ab6ff7..6fe8f21d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs @@ -29,10 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Alert ? (Flags | 2) : (Flags & ~2); - Flags = Message != null ? (Flags | 1) : (Flags & ~1); - Flags = Url != null ? (Flags | 4) : (Flags & ~4); } @@ -58,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs index 88311c31..a2cdcf14 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs @@ -27,9 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Success ? (Flags | 2) : (Flags & ~2); - Flags = Error != null ? (Flags | 1) : (Flags & ~1); } @@ -49,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs index 80e4d84e..137ea73f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs @@ -27,9 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Error != null ? (Flags | 1) : (Flags & ~1); - Flags = ShippingOptions != null ? (Flags | 2) : (Flags & ~2); } @@ -53,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs index 111327ee..817e9622 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs @@ -30,9 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = EditMessage ? (Flags | 1) : (Flags & ~1); - Flags = Force ? (Flags | 2) : (Flags & ~2); } @@ -51,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs index 666e6faf..737ad323 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs @@ -31,11 +31,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Gallery ? (Flags | 1) : (Flags & ~1); - Flags = Private ? (Flags | 2) : (Flags & ~2); - Flags = NextOffset != null ? (Flags | 4) : (Flags & ~4); - Flags = SwitchPm != null ? (Flags | 8) : (Flags & ~8); } @@ -63,7 +58,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs index 336ad0fc..67e805cb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs @@ -29,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = EditMessage ? (Flags | 1) : (Flags & ~1); - Flags = Force ? (Flags | 2) : (Flags & ~2); } @@ -49,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs b/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs index cfc60298..22c17c31 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs @@ -7,27 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(847887978)] + [TLObject(-1489903017)] public class TLRequestToggleDialogPin : TLMethod { public override int Constructor { get { - return 847887978; + return -1489903017; } } public int Flags { get; set; } public bool Pinned { get; set; } - public TLAbsInputPeer Peer { get; set; } + public TLAbsInputDialogPeer Peer { get; set; } public bool Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Pinned ? (Flags | 1) : (Flags & ~1); } @@ -35,14 +33,13 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Pinned = (Flags & 1) != 0; - Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + Peer = (TLAbsInputDialogPeer)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Peer, bw); diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestUpdatePinnedMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs similarity index 73% rename from src/TeleSharp.TL/TL/Channels/TLRequestUpdatePinnedMessage.cs rename to src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs index 45014fdd..995269af 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestUpdatePinnedMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs @@ -5,30 +5,28 @@ using System.Text; using System.Threading.Tasks; using TeleSharp.TL; -namespace TeleSharp.TL.Channels +namespace TeleSharp.TL.Messages { - [TLObject(-1490162350)] + [TLObject(-760547348)] public class TLRequestUpdatePinnedMessage : TLMethod { public override int Constructor { get { - return -1490162350; + return -760547348; } } public int Flags { get; set; } public bool Silent { get; set; } - public TLAbsInputChannel Channel { get; set; } + public TLAbsInputPeer Peer { get; set; } public int Id { get; set; } public TLAbsUpdates Response { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Silent ? (Flags | 1) : (Flags & ~1); } @@ -36,7 +34,7 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Silent = (Flags & 1) != 0; - Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); } @@ -44,10 +42,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - ObjectUtils.SerializeObject(Channel, bw); + ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs new file mode 100644 index 00000000..f7554c3c --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(1347929239)] + public class TLRequestUploadEncryptedFile : TLMethod + { + public override int Constructor + { + get + { + return 1347929239; + } + } + + public TLInputEncryptedChat Peer { get; set; } + public TLAbsInputEncryptedFile File { get; set; } + public TLAbsEncryptedFile Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); + File = (TLAbsInputEncryptedFile)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(File, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLAbsEncryptedFile)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs b/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs new file mode 100644 index 00000000..71a00fba --- /dev/null +++ b/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Messages +{ + [TLObject(-398136321)] + public class TLSearchCounter : TLObject + { + public override int Constructor + { + get + { + return -398136321; + } + } + + public int Flags { get; set; } + public bool Inexact { get; set; } + public TLAbsMessagesFilter Filter { get; set; } + public int Count { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Inexact = (Flags & 2) != 0; + Filter = (TLAbsMessagesFilter)ObjectUtils.DeserializeObject(br); + Count = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Filter, bw); + bw.Write(Count); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs b/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs index c481a049..1e4c5f86 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs @@ -18,7 +18,7 @@ public override int Constructor } } - public TL.TLStickerSet Set { get; set; } + public TLStickerSet Set { get; set; } public TLVector Packs { get; set; } public TLVector Documents { get; set; } @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Set = (TL.TLStickerSet)ObjectUtils.DeserializeObject(br); + Set = (TLStickerSet)ObjectUtils.DeserializeObject(br); Packs = (TLVector)ObjectUtils.DeserializeVector(br); Documents = (TLVector)ObjectUtils.DeserializeVector(br); diff --git a/src/TeleSharp.TL/TL/Messages/TLStickers.cs b/src/TeleSharp.TL/TL/Messages/TLStickers.cs index 479e8fa2..b230516c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickers.cs @@ -7,18 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL.Messages { - [TLObject(-1970352846)] + [TLObject(-463889475)] public class TLStickers : TLAbsStickers { public override int Constructor { get { - return -1970352846; + return -463889475; } } - public string Hash { get; set; } + public int Hash { get; set; } public TLVector Stickers { get; set; } @@ -29,7 +29,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Hash = StringUtil.Deserialize(br); + Hash = br.ReadInt32(); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -37,7 +37,7 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - StringUtil.Serialize(Hash, bw); + bw.Write(Hash); ObjectUtils.SerializeObject(Stickers, bw); } diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs index 8f5c4354..0dff4550 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs @@ -34,13 +34,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = CanSaveCredentials ? (Flags | 4) : (Flags & ~4); - Flags = PasswordMissing ? (Flags | 8) : (Flags & ~8); - Flags = NativeProvider != null ? (Flags | 16) : (Flags & ~16); - Flags = NativeParams != null ? (Flags | 16) : (Flags & ~16); - Flags = SavedInfo != null ? (Flags | 1) : (Flags & ~1); - Flags = SavedCredentials != null ? (Flags | 2) : (Flags & ~2); } @@ -80,7 +73,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs index 3faf5a46..4eb2311e 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs @@ -33,9 +33,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Info != null ? (Flags | 1) : (Flags & ~1); - Flags = Shipping != null ? (Flags | 2) : (Flags & ~2); } @@ -66,7 +63,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Date); bw.Write(BotId); diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentVerficationNeeded.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs similarity index 84% rename from src/TeleSharp.TL/TL/Payments/TLPaymentVerficationNeeded.cs rename to src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs index 314f0f7a..b0751aa0 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentVerficationNeeded.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Payments { - [TLObject(1800845601)] - public class TLPaymentVerficationNeeded : TLAbsPaymentResult + [TLObject(-666824391)] + public class TLPaymentVerificationNeeded : TLAbsPaymentResult { public override int Constructor { get { - return 1800845601; + return -666824391; } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs index 009a75b4..a288b504 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs @@ -26,9 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Credentials ? (Flags | 1) : (Flags & ~1); - Flags = Info ? (Flags | 2) : (Flags & ~2); } @@ -43,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs index ad5f901a..060e8ed2 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs @@ -28,9 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = RequestedInfoId != null ? (Flags | 1) : (Flags & ~1); - Flags = ShippingOptionId != null ? (Flags | 2) : (Flags & ~2); } @@ -55,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(MsgId); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs index 286b894c..206e1fe1 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs @@ -27,8 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Save ? (Flags | 1) : (Flags & ~1); } @@ -44,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(MsgId); diff --git a/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs index e093e24f..adb0f18a 100644 --- a/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs @@ -25,9 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = HasSavedCredentials ? (Flags | 2) : (Flags & ~2); - Flags = SavedInfo != null ? (Flags | 1) : (Flags & ~1); } @@ -46,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs index d6936d6c..dad5e4ce 100644 --- a/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs @@ -25,9 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Id != null ? (Flags | 1) : (Flags & ~1); - Flags = ShippingOptions != null ? (Flags | 2) : (Flags & ~2); } @@ -50,7 +47,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) StringUtil.Serialize(Id, bw); diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs index 6004e951..c9655377 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Phone { - [TLObject(2027164582)] + [TLObject(-1295269440)] public class TLRequestDiscardCall : TLMethod { public override int Constructor { get { - return 2027164582; + return -1295269440; } } + public int Flags { get; set; } + public bool Video { get; set; } public TLInputPhoneCall Peer { get; set; } public int Duration { get; set; } public TLAbsPhoneCallDiscardReason Reason { get; set; } @@ -32,6 +34,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Video = (Flags & 1) != 0; Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); Duration = br.ReadInt32(); Reason = (TLAbsPhoneCallDiscardReason)ObjectUtils.DeserializeObject(br); @@ -42,6 +46,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Peer, bw); bw.Write(Duration); ObjectUtils.SerializeObject(Reason, bw); diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs index db230f2c..340950f6 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Phone { - [TLObject(1536537556)] + [TLObject(1124046573)] public class TLRequestRequestCall : TLMethod { public override int Constructor { get { - return 1536537556; + return 1124046573; } } + public int Flags { get; set; } + public bool Video { get; set; } public TLAbsInputUser UserId { get; set; } public int RandomId { get; set; } public byte[] GAHash { get; set; } @@ -32,6 +34,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Video = (Flags & 1) != 0; UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); RandomId = br.ReadInt32(); GAHash = BytesUtil.Deserialize(br); @@ -42,6 +46,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(UserId, bw); bw.Write(RandomId); BytesUtil.Serialize(GAHash, bw); diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs b/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs index 14a1c9f0..35d9eb76 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Phone { - [TLObject(475228724)] + [TLObject(1508562471)] public class TLRequestSetCallRating : TLMethod { public override int Constructor { get { - return 475228724; + return 1508562471; } } + public int Flags { get; set; } + public bool UserInitiative { get; set; } public TLInputPhoneCall Peer { get; set; } public int Rating { get; set; } public string Comment { get; set; } @@ -31,6 +33,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + UserInitiative = (Flags & 1) != 0; Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); Rating = br.ReadInt32(); Comment = StringUtil.Deserialize(br); @@ -40,6 +44,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Peer, bw); bw.Write(Rating); StringUtil.Serialize(Comment, bw); diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs index 637effd1..d5d30431 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs @@ -7,20 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Stickers { - [TLObject(1322714570)] + [TLObject(-4795190)] public class TLRequestChangeStickerPosition : TLMethod { public override int Constructor { get { - return 1322714570; + return -4795190; } } public TLAbsInputDocument Sticker { get; set; } public int Position { get; set; } - public bool Response { get; set; } + public Messages.TLStickerSet Response { get; set; } public void ComputeFlags() @@ -44,7 +44,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = BoolUtil.Deserialize(br); + Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs index 3fae8cd8..532ae660 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs @@ -29,8 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Masks ? (Flags | 1) : (Flags & ~1); } @@ -48,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(UserId, bw); diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs index b0388916..d0be8166 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL.Stickers { - [TLObject(69556532)] + [TLObject(-143257775)] public class TLRequestRemoveStickerFromSet : TLMethod { public override int Constructor { get { - return 69556532; + return -143257775; } } public TLAbsInputDocument Sticker { get; set; } - public bool Response { get; set; } + public Messages.TLStickerSet Response { get; set; } public void ComputeFlags() @@ -41,7 +41,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = BoolUtil.Deserialize(br); + Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); } } diff --git a/src/TeleSharp.TL/TL/TLAbsContactLink.cs b/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs similarity index 78% rename from src/TeleSharp.TL/TL/TLAbsContactLink.cs rename to src/TeleSharp.TL/TL/TLAbsBaseTheme.cs index 096f1cfa..fd8a55a0 100644 --- a/src/TeleSharp.TL/TL/TLAbsContactLink.cs +++ b/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsContactLink : TLObject + public abstract class TLAbsBaseTheme : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsChannelParticipantRole.cs b/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs similarity index 73% rename from src/TeleSharp.TL/TL/TLAbsChannelParticipantRole.cs rename to src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs index c162b883..d9a2c941 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelParticipantRole.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsChannelParticipantRole : TLObject + public abstract class TLAbsChannelAdminLogEventAction : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsPeerNotifyEvents.cs b/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs similarity index 76% rename from src/TeleSharp.TL/TL/TLAbsPeerNotifyEvents.cs rename to src/TeleSharp.TL/TL/TLAbsChannelLocation.cs index b0df9f69..06efa7a4 100644 --- a/src/TeleSharp.TL/TL/TLAbsPeerNotifyEvents.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsPeerNotifyEvents : TLObject + public abstract class TLAbsChannelLocation : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsPage.cs b/src/TeleSharp.TL/TL/TLAbsDialog.cs similarity index 79% rename from src/TeleSharp.TL/TL/TLAbsPage.cs rename to src/TeleSharp.TL/TL/TLAbsDialog.cs index 92ef907c..6b6957bb 100644 --- a/src/TeleSharp.TL/TL/TLAbsPage.cs +++ b/src/TeleSharp.TL/TL/TLAbsDialog.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsPage : TLObject + public abstract class TLAbsDialog : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsFileLocation.cs b/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs similarity index 77% rename from src/TeleSharp.TL/TL/TLAbsFileLocation.cs rename to src/TeleSharp.TL/TL/TLAbsDialogPeer.cs index c813e5ea..36bfd2b9 100644 --- a/src/TeleSharp.TL/TL/TLAbsFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsFileLocation : TLObject + public abstract class TLAbsDialogPeer : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs b/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs new file mode 100644 index 00000000..f7863f0f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsEmojiKeyword : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputPeerNotifyEvents.cs b/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs similarity index 75% rename from src/TeleSharp.TL/TL/TLAbsInputPeerNotifyEvents.cs rename to src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs index 7266e4fe..3078106b 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPeerNotifyEvents.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - public abstract class TLAbsInputPeerNotifyEvents : TLObject + public abstract class TLAbsInputCheckPasswordSRP : TLObject { } } diff --git a/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs b/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs new file mode 100644 index 00000000..7c33afba --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputDialogPeer : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputMessage.cs b/src/TeleSharp.TL/TL/TLAbsInputMessage.cs new file mode 100644 index 00000000..2856cbaa --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputMessage.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputMessage : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs b/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs new file mode 100644 index 00000000..e229086f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputSecureFile : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputTheme.cs b/src/TeleSharp.TL/TL/TLAbsInputTheme.cs new file mode 100644 index 00000000..24117652 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputTheme.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputTheme : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs b/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs new file mode 100644 index 00000000..cfe4c680 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputWallPaper : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs b/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs new file mode 100644 index 00000000..8429261a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsInputWebFileLocation : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsJSONValue.cs b/src/TeleSharp.TL/TL/TLAbsJSONValue.cs new file mode 100644 index 00000000..78d7f384 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsJSONValue.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsJSONValue : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsLangPackString.cs b/src/TeleSharp.TL/TL/TLAbsLangPackString.cs new file mode 100644 index 00000000..22f0413d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsLangPackString.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsLangPackString : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsPageListItem.cs b/src/TeleSharp.TL/TL/TLAbsPageListItem.cs new file mode 100644 index 00000000..c20dd9a4 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsPageListItem.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsPageListItem : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs b/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs new file mode 100644 index 00000000..2aba19a9 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsPageListOrderedItem : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs b/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs new file mode 100644 index 00000000..a7a09973 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsPasswordKdfAlgo : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsPeerNotifySettings.cs b/src/TeleSharp.TL/TL/TLAbsPeerNotifySettings.cs deleted file mode 100644 index 57c5087f..00000000 --- a/src/TeleSharp.TL/TL/TLAbsPeerNotifySettings.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - public abstract class TLAbsPeerNotifySettings : TLObject - { - } -} diff --git a/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs b/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs new file mode 100644 index 00000000..33b50a29 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsRecentMeUrl : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecureFile.cs b/src/TeleSharp.TL/TL/TLAbsSecureFile.cs new file mode 100644 index 00000000..cce05ab5 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecureFile.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecureFile : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs b/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs new file mode 100644 index 00000000..f4bdcde8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecurePasswordKdfAlgo : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs b/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs new file mode 100644 index 00000000..f21db4d8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecurePlainData : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs b/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs new file mode 100644 index 00000000..ba91498f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecureRequiredType : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs b/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs new file mode 100644 index 00000000..8c90037f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecureValueError : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs b/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs new file mode 100644 index 00000000..d76a640c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsSecureValueType : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs b/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs new file mode 100644 index 00000000..3be0131a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsUrlAuthResult : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAbsWebDocument.cs b/src/TeleSharp.TL/TL/TLAbsWebDocument.cs new file mode 100644 index 00000000..6e2bfb72 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAbsWebDocument.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + public abstract class TLAbsWebDocument : TLObject + { + } +} diff --git a/src/TeleSharp.TL/TL/TLAuthorization.cs b/src/TeleSharp.TL/TL/TLAuthorization.cs index fbf369f8..f522c8ed 100644 --- a/src/TeleSharp.TL/TL/TLAuthorization.cs +++ b/src/TeleSharp.TL/TL/TLAuthorization.cs @@ -7,19 +7,22 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(2079516406)] + [TLObject(-1392388579)] public class TLAuthorization : TLObject { public override int Constructor { get { - return 2079516406; + return -1392388579; } } - public long Hash { get; set; } public int Flags { get; set; } + public bool Current { get; set; } + public bool OfficialApp { get; set; } + public bool PasswordPending { get; set; } + public long Hash { get; set; } public string DeviceModel { get; set; } public string Platform { get; set; } public string SystemVersion { get; set; } @@ -35,14 +38,16 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; } public override void DeserializeBody(BinaryReader br) { - Hash = br.ReadInt64(); Flags = br.ReadInt32(); + Current = (Flags & 1) != 0; + OfficialApp = (Flags & 2) != 0; + PasswordPending = (Flags & 4) != 0; + Hash = br.ReadInt64(); DeviceModel = StringUtil.Deserialize(br); Platform = StringUtil.Deserialize(br); SystemVersion = StringUtil.Deserialize(br); @@ -60,8 +65,10 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + + bw.Write(Hash); StringUtil.Serialize(DeviceModel, bw); StringUtil.Serialize(Platform, bw); diff --git a/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs new file mode 100644 index 00000000..90f4ddde --- /dev/null +++ b/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-532532493)] + public class TLAutoDownloadSettings : TLObject + { + public override int Constructor + { + get + { + return -532532493; + } + } + + public int Flags { get; set; } + public bool Disabled { get; set; } + public bool VideoPreloadLarge { get; set; } + public bool AudioPreloadNext { get; set; } + public bool PhonecallsLessData { get; set; } + public int PhotoSizeMax { get; set; } + public int VideoSizeMax { get; set; } + public int FileSizeMax { get; set; } + public int VideoUploadMaxbitrate { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Disabled = (Flags & 1) != 0; + VideoPreloadLarge = (Flags & 2) != 0; + AudioPreloadNext = (Flags & 4) != 0; + PhonecallsLessData = (Flags & 8) != 0; + PhotoSizeMax = br.ReadInt32(); + VideoSizeMax = br.ReadInt32(); + FileSizeMax = br.ReadInt32(); + VideoUploadMaxbitrate = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + bw.Write(PhotoSizeMax); + bw.Write(VideoSizeMax); + bw.Write(FileSizeMax); + bw.Write(VideoUploadMaxbitrate); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLContactLinkNone.cs b/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs similarity index 82% rename from src/TeleSharp.TL/TL/TLContactLinkNone.cs rename to src/TeleSharp.TL/TL/TLBaseThemeArctic.cs index 66a0bd97..019e26ef 100644 --- a/src/TeleSharp.TL/TL/TLContactLinkNone.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-17968211)] - public class TLContactLinkNone : TLAbsContactLink + [TLObject(1527845466)] + public class TLBaseThemeArctic : TLAbsBaseTheme { public override int Constructor { get { - return -17968211; + return 1527845466; } } diff --git a/src/TeleSharp.TL/TL/TLContactLinkHasPhone.cs b/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs similarity index 82% rename from src/TeleSharp.TL/TL/TLContactLinkHasPhone.cs rename to src/TeleSharp.TL/TL/TLBaseThemeClassic.cs index 6ac2fd41..d3b44c24 100644 --- a/src/TeleSharp.TL/TL/TLContactLinkHasPhone.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(646922073)] - public class TLContactLinkHasPhone : TLAbsContactLink + [TLObject(-1012849566)] + public class TLBaseThemeClassic : TLAbsBaseTheme { public override int Constructor { get { - return 646922073; + return -1012849566; } } diff --git a/src/TeleSharp.TL/TL/TLNotifyAll.cs b/src/TeleSharp.TL/TL/TLBaseThemeDay.cs similarity index 83% rename from src/TeleSharp.TL/TL/TLNotifyAll.cs rename to src/TeleSharp.TL/TL/TLBaseThemeDay.cs index 47d29469..a8d1466e 100644 --- a/src/TeleSharp.TL/TL/TLNotifyAll.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeDay.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1959820384)] - public class TLNotifyAll : TLAbsNotifyPeer + [TLObject(-69724536)] + public class TLBaseThemeDay : TLAbsBaseTheme { public override int Constructor { get { - return 1959820384; + return -69724536; } } diff --git a/src/TeleSharp.TL/TL/TLContactLinkContact.cs b/src/TeleSharp.TL/TL/TLBaseThemeNight.cs similarity index 82% rename from src/TeleSharp.TL/TL/TLContactLinkContact.cs rename to src/TeleSharp.TL/TL/TLBaseThemeNight.cs index 3c3b6730..5bcd54f0 100644 --- a/src/TeleSharp.TL/TL/TLContactLinkContact.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeNight.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-721239344)] - public class TLContactLinkContact : TLAbsContactLink + [TLObject(-1212997976)] + public class TLBaseThemeNight : TLAbsBaseTheme { public override int Constructor { get { - return -721239344; + return -1212997976; } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs b/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs new file mode 100644 index 00000000..e127e6c3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1834973166)] + public class TLBaseThemeTinted : TLAbsBaseTheme + { + public override int Constructor + { + get + { + return 1834973166; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs b/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs index c6765bd6..7e7c67a8 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs @@ -30,11 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Photo != null ? (Flags | 1) : (Flags & ~1); - Flags = Document != null ? (Flags | 2) : (Flags & ~2); - Flags = Title != null ? (Flags | 4) : (Flags & ~4); - Flags = Description != null ? (Flags | 8) : (Flags & ~8); } @@ -70,7 +65,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Id, bw); StringUtil.Serialize(Type, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs index bbaeee4a..4d52cbd1 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs @@ -7,33 +7,37 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(175419739)] + [TLObject(1984755728)] public class TLBotInlineMessageMediaAuto : TLAbsBotInlineMessage { public override int Constructor { get { - return 175419739; + return 1984755728; } } public int Flags { get; set; } - public string Caption { get; set; } + public string Message { get; set; } + public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - Caption = StringUtil.Deserialize(br); + Message = StringUtil.Deserialize(br); + if ((Flags & 2) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -45,9 +49,10 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - StringUtil.Serialize(Caption, bw); + StringUtil.Serialize(Message, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs index efb067e1..33a35e32 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(904770772)] + [TLObject(416402882)] public class TLBotInlineMessageMediaContact : TLAbsBotInlineMessage { public override int Constructor { get { - return 904770772; + return 416402882; } } @@ -22,13 +22,12 @@ public override int Constructor public string PhoneNumber { get; set; } public string FirstName { get; set; } public string LastName { get; set; } + public string Vcard { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -38,6 +37,7 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); + Vcard = StringUtil.Deserialize(br); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -49,11 +49,11 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); + StringUtil.Serialize(Vcard, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs index caf8bdab..66234136 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs @@ -7,26 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(982505656)] + [TLObject(-1222451611)] public class TLBotInlineMessageMediaGeo : TLAbsBotInlineMessage { public override int Constructor { get { - return 982505656; + return -1222451611; } } public int Flags { get; set; } public TLAbsGeoPoint Geo { get; set; } + public int Period { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -34,6 +33,7 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Geo = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); + Period = br.ReadInt32(); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -45,9 +45,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Geo, bw); + bw.Write(Period); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs index ee1e5899..0a048750 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1130767150)] + [TLObject(-1970903652)] public class TLBotInlineMessageMediaVenue : TLAbsBotInlineMessage { public override int Constructor { get { - return 1130767150; + return -1970903652; } } @@ -24,13 +24,12 @@ public override int Constructor public string Address { get; set; } public string Provider { get; set; } public string VenueId { get; set; } + public string VenueType { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -42,6 +41,7 @@ public override void DeserializeBody(BinaryReader br) Address = StringUtil.Deserialize(br); Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); + VenueType = StringUtil.Deserialize(br); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -53,13 +53,13 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Geo, bw); StringUtil.Serialize(Title, bw); StringUtil.Serialize(Address, bw); StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); + StringUtil.Serialize(VenueType, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs index 7e8a3194..c4e05207 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs @@ -27,10 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 1) : (Flags & ~1); - Flags = Entities != null ? (Flags | 2) : (Flags & ~2); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -55,7 +51,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Message, bw); diff --git a/src/TeleSharp.TL/TL/TLBotInlineResult.cs b/src/TeleSharp.TL/TL/TLBotInlineResult.cs index 574f7c9a..d3319956 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineResult.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1679053127)] + [TLObject(295067450)] public class TLBotInlineResult : TLAbsBotInlineResult { public override int Constructor { get { - return -1679053127; + return 295067450; } } @@ -24,27 +24,13 @@ public override int Constructor public string Title { get; set; } public string Description { get; set; } public string Url { get; set; } - public string ThumbUrl { get; set; } - public string ContentUrl { get; set; } - public string ContentType { get; set; } - public int? W { get; set; } - public int? H { get; set; } - public int? Duration { get; set; } + public TLAbsWebDocument Thumb { get; set; } + public TLAbsWebDocument Content { get; set; } public TLAbsBotInlineMessage SendMessage { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Title != null ? (Flags | 2) : (Flags & ~2); - Flags = Description != null ? (Flags | 4) : (Flags & ~4); - Flags = Url != null ? (Flags | 8) : (Flags & ~8); - Flags = ThumbUrl != null ? (Flags | 16) : (Flags & ~16); - Flags = ContentUrl != null ? (Flags | 32) : (Flags & ~32); - Flags = ContentType != null ? (Flags | 32) : (Flags & ~32); - Flags = W != null ? (Flags | 64) : (Flags & ~64); - Flags = H != null ? (Flags | 64) : (Flags & ~64); - Flags = Duration != null ? (Flags | 128) : (Flags & ~128); } @@ -69,34 +55,14 @@ public override void DeserializeBody(BinaryReader br) Url = null; if ((Flags & 16) != 0) - ThumbUrl = StringUtil.Deserialize(br); + Thumb = (TLAbsWebDocument)ObjectUtils.DeserializeObject(br); else - ThumbUrl = null; + Thumb = null; if ((Flags & 32) != 0) - ContentUrl = StringUtil.Deserialize(br); + Content = (TLAbsWebDocument)ObjectUtils.DeserializeObject(br); else - ContentUrl = null; - - if ((Flags & 32) != 0) - ContentType = StringUtil.Deserialize(br); - else - ContentType = null; - - if ((Flags & 64) != 0) - W = br.ReadInt32(); - else - W = null; - - if ((Flags & 64) != 0) - H = br.ReadInt32(); - else - H = null; - - if ((Flags & 128) != 0) - Duration = br.ReadInt32(); - else - Duration = null; + Content = null; SendMessage = (TLAbsBotInlineMessage)ObjectUtils.DeserializeObject(br); @@ -105,7 +71,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Id, bw); StringUtil.Serialize(Type, bw); @@ -116,17 +81,9 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 8) != 0) StringUtil.Serialize(Url, bw); if ((Flags & 16) != 0) - StringUtil.Serialize(ThumbUrl, bw); - if ((Flags & 32) != 0) - StringUtil.Serialize(ContentUrl, bw); + ObjectUtils.SerializeObject(Thumb, bw); if ((Flags & 32) != 0) - StringUtil.Serialize(ContentType, bw); - if ((Flags & 64) != 0) - bw.Write(W.Value); - if ((Flags & 64) != 0) - bw.Write(H.Value); - if ((Flags & 128) != 0) - bw.Write(Duration.Value); + ObjectUtils.SerializeObject(Content, bw); ObjectUtils.SerializeObject(SendMessage, bw); } diff --git a/src/TeleSharp.TL/TL/TLChannel.cs b/src/TeleSharp.TL/TL/TLChannel.cs index b38719c8..4bd7d435 100644 --- a/src/TeleSharp.TL/TL/TLChannel.cs +++ b/src/TeleSharp.TL/TL/TLChannel.cs @@ -7,30 +7,30 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1588737454)] + [TLObject(-753232354)] public class TLChannel : TLAbsChat { public override int Constructor { get { - return -1588737454; + return -753232354; } } public int Flags { get; set; } public bool Creator { get; set; } - public bool Kicked { get; set; } public bool Left { get; set; } - public bool Editor { get; set; } - public bool Moderator { get; set; } public bool Broadcast { get; set; } public bool Verified { get; set; } public bool Megagroup { get; set; } public bool Restricted { get; set; } - public bool Democracy { get; set; } public bool Signatures { get; set; } public bool Min { get; set; } + public bool Scam { get; set; } + public bool HasLink { get; set; } + public bool HasGeo { get; set; } + public bool SlowmodeEnabled { get; set; } public int Id { get; set; } public long? AccessHash { get; set; } public string Title { get; set; } @@ -38,27 +38,15 @@ public override int Constructor public TLAbsChatPhoto Photo { get; set; } public int Date { get; set; } public int Version { get; set; } - public string RestrictionReason { get; set; } + public TLVector RestrictionReason { get; set; } + public TLChatAdminRights AdminRights { get; set; } + public TLChatBannedRights BannedRights { get; set; } + public TLChatBannedRights DefaultBannedRights { get; set; } + public int? ParticipantsCount { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Creator ? (Flags | 1) : (Flags & ~1); - Flags = Kicked ? (Flags | 2) : (Flags & ~2); - Flags = Left ? (Flags | 4) : (Flags & ~4); - Flags = Editor ? (Flags | 8) : (Flags & ~8); - Flags = Moderator ? (Flags | 16) : (Flags & ~16); - Flags = Broadcast ? (Flags | 32) : (Flags & ~32); - Flags = Verified ? (Flags | 128) : (Flags & ~128); - Flags = Megagroup ? (Flags | 256) : (Flags & ~256); - Flags = Restricted ? (Flags | 512) : (Flags & ~512); - Flags = Democracy ? (Flags | 1024) : (Flags & ~1024); - Flags = Signatures ? (Flags | 2048) : (Flags & ~2048); - Flags = Min ? (Flags | 4096) : (Flags & ~4096); - Flags = AccessHash != null ? (Flags | 8192) : (Flags & ~8192); - Flags = Username != null ? (Flags | 64) : (Flags & ~64); - Flags = RestrictionReason != null ? (Flags | 512) : (Flags & ~512); } @@ -66,17 +54,17 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Creator = (Flags & 1) != 0; - Kicked = (Flags & 2) != 0; Left = (Flags & 4) != 0; - Editor = (Flags & 8) != 0; - Moderator = (Flags & 16) != 0; Broadcast = (Flags & 32) != 0; Verified = (Flags & 128) != 0; Megagroup = (Flags & 256) != 0; Restricted = (Flags & 512) != 0; - Democracy = (Flags & 1024) != 0; Signatures = (Flags & 2048) != 0; Min = (Flags & 4096) != 0; + Scam = (Flags & 524288) != 0; + HasLink = (Flags & 1048576) != 0; + HasGeo = (Flags & 2097152) != 0; + SlowmodeEnabled = (Flags & 4194304) != 0; Id = br.ReadInt32(); if ((Flags & 8192) != 0) AccessHash = br.ReadInt64(); @@ -93,17 +81,36 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Version = br.ReadInt32(); if ((Flags & 512) != 0) - RestrictionReason = StringUtil.Deserialize(br); + RestrictionReason = (TLVector)ObjectUtils.DeserializeVector(br); else RestrictionReason = null; + if ((Flags & 16384) != 0) + AdminRights = (TLChatAdminRights)ObjectUtils.DeserializeObject(br); + else + AdminRights = null; + + if ((Flags & 32768) != 0) + BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + else + BannedRights = null; + + if ((Flags & 262144) != 0) + DefaultBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + else + DefaultBannedRights = null; + + if ((Flags & 131072) != 0) + ParticipantsCount = br.ReadInt32(); + else + ParticipantsCount = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -127,7 +134,15 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); bw.Write(Version); if ((Flags & 512) != 0) - StringUtil.Serialize(RestrictionReason, bw); + ObjectUtils.SerializeObject(RestrictionReason, bw); + if ((Flags & 16384) != 0) + ObjectUtils.SerializeObject(AdminRights, bw); + if ((Flags & 32768) != 0) + ObjectUtils.SerializeObject(BannedRights, bw); + if ((Flags & 262144) != 0) + ObjectUtils.SerializeObject(DefaultBannedRights, bw); + if ((Flags & 131072) != 0) + bw.Write(ParticipantsCount.Value); } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantEditor.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs similarity index 64% rename from src/TeleSharp.TL/TL/TLChannelParticipantEditor.cs rename to src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs index 5c0f9a17..12663109 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantEditor.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1743180447)] - public class TLChannelParticipantEditor : TLAbsChannelParticipant + [TLObject(995769920)] + public class TLChannelAdminLogEvent : TLObject { public override int Constructor { get { - return -1743180447; + return 995769920; } } - public int UserId { get; set; } - public int InviterId { get; set; } + public long Id { get; set; } public int Date { get; set; } + public int UserId { get; set; } + public TLAbsChannelAdminLogEventAction Action { get; set; } public void ComputeFlags() @@ -30,18 +31,20 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - UserId = br.ReadInt32(); - InviterId = br.ReadInt32(); + Id = br.ReadInt64(); Date = br.ReadInt32(); + UserId = br.ReadInt32(); + Action = (TLAbsChannelAdminLogEventAction)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - bw.Write(UserId); - bw.Write(InviterId); + bw.Write(Id); bw.Write(Date); + bw.Write(UserId); + ObjectUtils.SerializeObject(Action, bw); } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs new file mode 100644 index 00000000..0d2c7b88 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1427671598)] + public class TLChannelAdminLogEventActionChangeAbout : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1427671598; + } + } + + public string PrevValue { get; set; } + public string NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = StringUtil.Deserialize(br); + NewValue = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(PrevValue, bw); + StringUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs new file mode 100644 index 00000000..5af03ba1 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1569748965)] + public class TLChannelAdminLogEventActionChangeLinkedChat : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -1569748965; + } + } + + public int PrevValue { get; set; } + public int NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = br.ReadInt32(); + NewValue = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(PrevValue); + bw.Write(NewValue); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs new file mode 100644 index 00000000..8feb595a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(241923758)] + public class TLChannelAdminLogEventActionChangeLocation : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 241923758; + } + } + + public TLAbsChannelLocation PrevValue { get; set; } + public TLAbsChannelLocation NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); + NewValue = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevValue, bw); + ObjectUtils.SerializeObject(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs new file mode 100644 index 00000000..0655d57e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1129042607)] + public class TLChannelAdminLogEventActionChangePhoto : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1129042607; + } + } + + public TLAbsPhoto PrevPhoto { get; set; } + public TLAbsPhoto NewPhoto { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); + NewPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevPhoto, bw); + ObjectUtils.SerializeObject(NewPhoto, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs new file mode 100644 index 00000000..ed283f00 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1312568665)] + public class TLChannelAdminLogEventActionChangeStickerSet : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -1312568665; + } + } + + public TLAbsInputStickerSet PrevStickerset { get; set; } + public TLAbsInputStickerSet NewStickerset { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevStickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); + NewStickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevStickerset, bw); + ObjectUtils.SerializeObject(NewStickerset, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs new file mode 100644 index 00000000..9ac2fe1c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-421545947)] + public class TLChannelAdminLogEventActionChangeTitle : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -421545947; + } + } + + public string PrevValue { get; set; } + public string NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = StringUtil.Deserialize(br); + NewValue = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(PrevValue, bw); + StringUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs new file mode 100644 index 00000000..41063155 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1783299128)] + public class TLChannelAdminLogEventActionChangeUsername : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1783299128; + } + } + + public string PrevValue { get; set; } + public string NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = StringUtil.Deserialize(br); + NewValue = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(PrevValue, bw); + StringUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs new file mode 100644 index 00000000..f004f30d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(771095562)] + public class TLChannelAdminLogEventActionDefaultBannedRights : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 771095562; + } + } + + public TLChatBannedRights PrevBannedRights { get; set; } + public TLChatBannedRights NewBannedRights { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + NewBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevBannedRights, bw); + ObjectUtils.SerializeObject(NewBannedRights, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs new file mode 100644 index 00000000..87fa5850 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1121994683)] + public class TLChannelAdminLogEventActionDeleteMessage : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1121994683; + } + } + + public TLAbsMessage Message { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Message, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs new file mode 100644 index 00000000..d13dbd3a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1889215493)] + public class TLChannelAdminLogEventActionEditMessage : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1889215493; + } + } + + public TLAbsMessage PrevMessage { get; set; } + public TLAbsMessage NewMessage { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevMessage = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + NewMessage = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevMessage, bw); + ObjectUtils.SerializeObject(NewMessage, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs new file mode 100644 index 00000000..417235c4 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-484690728)] + public class TLChannelAdminLogEventActionParticipantInvite : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -484690728; + } + } + + public TLAbsChannelParticipant Participant { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Participant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Participant, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs new file mode 100644 index 00000000..9250c0fb --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(405815507)] + public class TLChannelAdminLogEventActionParticipantJoin : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 405815507; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs new file mode 100644 index 00000000..a68e7f0f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-124291086)] + public class TLChannelAdminLogEventActionParticipantLeave : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -124291086; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs new file mode 100644 index 00000000..8dd4f299 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-714643696)] + public class TLChannelAdminLogEventActionParticipantToggleAdmin : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -714643696; + } + } + + public TLAbsChannelParticipant PrevParticipant { get; set; } + public TLAbsChannelParticipant NewParticipant { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); + NewParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevParticipant, bw); + ObjectUtils.SerializeObject(NewParticipant, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs new file mode 100644 index 00000000..892f3dfa --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-422036098)] + public class TLChannelAdminLogEventActionParticipantToggleBan : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -422036098; + } + } + + public TLAbsChannelParticipant PrevParticipant { get; set; } + public TLAbsChannelParticipant NewParticipant { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); + NewParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PrevParticipant, bw); + ObjectUtils.SerializeObject(NewParticipant, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs new file mode 100644 index 00000000..856784bd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1895328189)] + public class TLChannelAdminLogEventActionStopPoll : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -1895328189; + } + } + + public TLAbsMessage Message { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Message, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs new file mode 100644 index 00000000..3d7b0757 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(460916654)] + public class TLChannelAdminLogEventActionToggleInvites : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 460916654; + } + } + + public bool NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + NewValue = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BoolUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs new file mode 100644 index 00000000..05a7ce6c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1599903217)] + public class TLChannelAdminLogEventActionTogglePreHistoryHidden : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1599903217; + } + } + + public bool NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + NewValue = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BoolUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs new file mode 100644 index 00000000..dec1579c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(648939889)] + public class TLChannelAdminLogEventActionToggleSignatures : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 648939889; + } + } + + public bool NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + NewValue = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BoolUtil.Serialize(NewValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs new file mode 100644 index 00000000..6ff7e8f2 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1401984889)] + public class TLChannelAdminLogEventActionToggleSlowMode : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return 1401984889; + } + } + + public int PrevValue { get; set; } + public int NewValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PrevValue = br.ReadInt32(); + NewValue = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(PrevValue); + bw.Write(NewValue); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs new file mode 100644 index 00000000..44a5840e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-370660328)] + public class TLChannelAdminLogEventActionUpdatePinned : TLAbsChannelAdminLogEventAction + { + public override int Constructor + { + get + { + return -370660328; + } + } + + public TLAbsMessage Message { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Message, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs new file mode 100644 index 00000000..db6b0b5c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-368018716)] + public class TLChannelAdminLogEventsFilter : TLObject + { + public override int Constructor + { + get + { + return -368018716; + } + } + + public int Flags { get; set; } + public bool Join { get; set; } + public bool Leave { get; set; } + public bool Invite { get; set; } + public bool Ban { get; set; } + public bool Unban { get; set; } + public bool Kick { get; set; } + public bool Unkick { get; set; } + public bool Promote { get; set; } + public bool Demote { get; set; } + public bool Info { get; set; } + public bool Settings { get; set; } + public bool Pinned { get; set; } + public bool Edit { get; set; } + public bool Delete { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Join = (Flags & 1) != 0; + Leave = (Flags & 2) != 0; + Invite = (Flags & 4) != 0; + Ban = (Flags & 8) != 0; + Unban = (Flags & 16) != 0; + Kick = (Flags & 32) != 0; + Unkick = (Flags & 64) != 0; + Promote = (Flags & 128) != 0; + Demote = (Flags & 256) != 0; + Info = (Flags & 512) != 0; + Settings = (Flags & 1024) != 0; + Pinned = (Flags & 2048) != 0; + Edit = (Flags & 4096) != 0; + Delete = (Flags & 8192) != 0; + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + + + + + + + + + + + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelForbidden.cs b/src/TeleSharp.TL/TL/TLChannelForbidden.cs index 743b4dc8..3576fa29 100644 --- a/src/TeleSharp.TL/TL/TLChannelForbidden.cs +++ b/src/TeleSharp.TL/TL/TLChannelForbidden.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-2059962289)] + [TLObject(681420594)] public class TLChannelForbidden : TLAbsChat { public override int Constructor { get { - return -2059962289; + return 681420594; } } @@ -24,13 +24,11 @@ public override int Constructor public int Id { get; set; } public long AccessHash { get; set; } public string Title { get; set; } + public int? UntilDate { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Broadcast ? (Flags | 32) : (Flags & ~32); - Flags = Megagroup ? (Flags | 256) : (Flags & ~256); } @@ -42,19 +40,25 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt32(); AccessHash = br.ReadInt64(); Title = StringUtil.Deserialize(br); + if ((Flags & 65536) != 0) + UntilDate = br.ReadInt32(); + else + UntilDate = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Id); bw.Write(AccessHash); StringUtil.Serialize(Title, bw); + if ((Flags & 65536) != 0) + bw.Write(UntilDate.Value); } } diff --git a/src/TeleSharp.TL/TL/TLChannelFull.cs b/src/TeleSharp.TL/TL/TLChannelFull.cs index 319eed0f..f4133f68 100644 --- a/src/TeleSharp.TL/TL/TLChannelFull.cs +++ b/src/TeleSharp.TL/TL/TLChannelFull.cs @@ -7,48 +7,54 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1009430225)] + [TLObject(763976820)] public class TLChannelFull : TLAbsChatFull { public override int Constructor { get { - return -1009430225; + return 763976820; } } public int Flags { get; set; } public bool CanViewParticipants { get; set; } public bool CanSetUsername { get; set; } + public bool CanSetStickers { get; set; } + public bool HiddenPrehistory { get; set; } + public bool CanViewStats { get; set; } + public bool CanSetLocation { get; set; } + public bool HasScheduled { get; set; } public int Id { get; set; } public string About { get; set; } public int? ParticipantsCount { get; set; } public int? AdminsCount { get; set; } public int? KickedCount { get; set; } + public int? BannedCount { get; set; } + public int? OnlineCount { get; set; } public int ReadInboxMaxId { get; set; } public int ReadOutboxMaxId { get; set; } public int UnreadCount { get; set; } public TLAbsPhoto ChatPhoto { get; set; } - public TLAbsPeerNotifySettings NotifySettings { get; set; } + public TLPeerNotifySettings NotifySettings { get; set; } public TLAbsExportedChatInvite ExportedInvite { get; set; } public TLVector BotInfo { get; set; } public int? MigratedFromChatId { get; set; } public int? MigratedFromMaxId { get; set; } public int? PinnedMsgId { get; set; } + public TLStickerSet Stickerset { get; set; } + public int? AvailableMinId { get; set; } + public int? FolderId { get; set; } + public int? LinkedChatId { get; set; } + public TLAbsChannelLocation Location { get; set; } + public int? SlowmodeSeconds { get; set; } + public int? SlowmodeNextSendDate { get; set; } + public int Pts { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = CanViewParticipants ? (Flags | 8) : (Flags & ~8); - Flags = CanSetUsername ? (Flags | 64) : (Flags & ~64); - Flags = ParticipantsCount != null ? (Flags | 1) : (Flags & ~1); - Flags = AdminsCount != null ? (Flags | 2) : (Flags & ~2); - Flags = KickedCount != null ? (Flags | 4) : (Flags & ~4); - Flags = MigratedFromChatId != null ? (Flags | 16) : (Flags & ~16); - Flags = MigratedFromMaxId != null ? (Flags | 16) : (Flags & ~16); - Flags = PinnedMsgId != null ? (Flags | 32) : (Flags & ~32); } @@ -57,6 +63,11 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); CanViewParticipants = (Flags & 8) != 0; CanSetUsername = (Flags & 64) != 0; + CanSetStickers = (Flags & 128) != 0; + HiddenPrehistory = (Flags & 1024) != 0; + CanViewStats = (Flags & 4096) != 0; + CanSetLocation = (Flags & 65536) != 0; + HasScheduled = (Flags & 524288) != 0; Id = br.ReadInt32(); About = StringUtil.Deserialize(br); if ((Flags & 1) != 0) @@ -74,11 +85,21 @@ public override void DeserializeBody(BinaryReader br) else KickedCount = null; + if ((Flags & 4) != 0) + BannedCount = br.ReadInt32(); + else + BannedCount = null; + + if ((Flags & 8192) != 0) + OnlineCount = br.ReadInt32(); + else + OnlineCount = null; + ReadInboxMaxId = br.ReadInt32(); ReadOutboxMaxId = br.ReadInt32(); UnreadCount = br.ReadInt32(); ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); - NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); ExportedInvite = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); BotInfo = (TLVector)ObjectUtils.DeserializeVector(br); if ((Flags & 16) != 0) @@ -96,16 +117,56 @@ public override void DeserializeBody(BinaryReader br) else PinnedMsgId = null; + if ((Flags & 256) != 0) + Stickerset = (TLStickerSet)ObjectUtils.DeserializeObject(br); + else + Stickerset = null; + + if ((Flags & 512) != 0) + AvailableMinId = br.ReadInt32(); + else + AvailableMinId = null; + + if ((Flags & 2048) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + + if ((Flags & 16384) != 0) + LinkedChatId = br.ReadInt32(); + else + LinkedChatId = null; + + if ((Flags & 32768) != 0) + Location = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); + else + Location = null; + + if ((Flags & 131072) != 0) + SlowmodeSeconds = br.ReadInt32(); + else + SlowmodeSeconds = null; + + if ((Flags & 262144) != 0) + SlowmodeNextSendDate = br.ReadInt32(); + else + SlowmodeNextSendDate = null; + + Pts = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + + + + bw.Write(Id); StringUtil.Serialize(About, bw); if ((Flags & 1) != 0) @@ -114,6 +175,10 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(AdminsCount.Value); if ((Flags & 4) != 0) bw.Write(KickedCount.Value); + if ((Flags & 4) != 0) + bw.Write(BannedCount.Value); + if ((Flags & 8192) != 0) + bw.Write(OnlineCount.Value); bw.Write(ReadInboxMaxId); bw.Write(ReadOutboxMaxId); bw.Write(UnreadCount); @@ -127,6 +192,21 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MigratedFromMaxId.Value); if ((Flags & 32) != 0) bw.Write(PinnedMsgId.Value); + if ((Flags & 256) != 0) + ObjectUtils.SerializeObject(Stickerset, bw); + if ((Flags & 512) != 0) + bw.Write(AvailableMinId.Value); + if ((Flags & 2048) != 0) + bw.Write(FolderId.Value); + if ((Flags & 16384) != 0) + bw.Write(LinkedChatId.Value); + if ((Flags & 32768) != 0) + ObjectUtils.SerializeObject(Location, bw); + if ((Flags & 131072) != 0) + bw.Write(SlowmodeSeconds.Value); + if ((Flags & 262144) != 0) + bw.Write(SlowmodeNextSendDate.Value); + bw.Write(Pts); } } diff --git a/src/TeleSharp.TL/TL/TLChannelLocation.cs b/src/TeleSharp.TL/TL/TLChannelLocation.cs new file mode 100644 index 00000000..0fafbbec --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelLocation.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(547062491)] + public class TLChannelLocation : TLAbsChannelLocation + { + public override int Constructor + { + get + { + return 547062491; + } + } + + public TLAbsGeoPoint GeoPoint { get; set; } + public string Address { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + GeoPoint = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); + Address = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(GeoPoint, bw); + StringUtil.Serialize(Address, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs b/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs new file mode 100644 index 00000000..8db372ff --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1078612597)] + public class TLChannelLocationEmpty : TLAbsChannelLocation + { + public override int Constructor + { + get + { + return -1078612597; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs b/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs index c07bc3a7..dce851da 100644 --- a/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs +++ b/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = ExcludeNewMessages ? (Flags | 2) : (Flags & ~2); } @@ -41,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Ranges, bw); diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs b/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs new file mode 100644 index 00000000..6e5432e6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-859915345)] + public class TLChannelParticipantAdmin : TLAbsChannelParticipant + { + public override int Constructor + { + get + { + return -859915345; + } + } + + public int Flags { get; set; } + public bool CanEdit { get; set; } + public bool Self { get; set; } + public int UserId { get; set; } + public int? InviterId { get; set; } + public int PromotedBy { get; set; } + public int Date { get; set; } + public TLChatAdminRights AdminRights { get; set; } + public string Rank { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + CanEdit = (Flags & 1) != 0; + Self = (Flags & 2) != 0; + UserId = br.ReadInt32(); + if ((Flags & 2) != 0) + InviterId = br.ReadInt32(); + else + InviterId = null; + + PromotedBy = br.ReadInt32(); + Date = br.ReadInt32(); + AdminRights = (TLChatAdminRights)ObjectUtils.DeserializeObject(br); + if ((Flags & 4) != 0) + Rank = StringUtil.Deserialize(br); + else + Rank = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + bw.Write(UserId); + if ((Flags & 2) != 0) + bw.Write(InviterId.Value); + bw.Write(PromotedBy); + bw.Write(Date); + ObjectUtils.SerializeObject(AdminRights, bw); + if ((Flags & 4) != 0) + StringUtil.Serialize(Rank, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs b/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs new file mode 100644 index 00000000..1e92016a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(470789295)] + public class TLChannelParticipantBanned : TLAbsChannelParticipant + { + public override int Constructor + { + get + { + return 470789295; + } + } + + public int Flags { get; set; } + public bool Left { get; set; } + public int UserId { get; set; } + public int KickedBy { get; set; } + public int Date { get; set; } + public TLChatBannedRights BannedRights { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Left = (Flags & 1) != 0; + UserId = br.ReadInt32(); + KickedBy = br.ReadInt32(); + Date = br.ReadInt32(); + BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + bw.Write(UserId); + bw.Write(KickedBy); + bw.Write(Date); + ObjectUtils.SerializeObject(BannedRights, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs b/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs index a96c8529..8708ded7 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs @@ -7,18 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-471670279)] + [TLObject(-2138237532)] public class TLChannelParticipantCreator : TLAbsChannelParticipant { public override int Constructor { get { - return -471670279; + return -2138237532; } } + public int Flags { get; set; } public int UserId { get; set; } + public string Rank { get; set; } public void ComputeFlags() @@ -28,14 +30,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); UserId = br.ReadInt32(); + if ((Flags & 1) != 0) + Rank = StringUtil.Deserialize(br); + else + Rank = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); bw.Write(UserId); + if ((Flags & 1) != 0) + StringUtil.Serialize(Rank, bw); } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs new file mode 100644 index 00000000..7a98a9e3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(338142689)] + public class TLChannelParticipantsBanned : TLAbsChannelParticipantsFilter + { + public override int Constructor + { + get + { + return 338142689; + } + } + + public string Q { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Q = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Q, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs new file mode 100644 index 00000000..d968059f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1150621555)] + public class TLChannelParticipantsContacts : TLAbsChannelParticipantsFilter + { + public override int Constructor + { + get + { + return -1150621555; + } + } + + public string Q { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Q = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Q, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs index 5aa217d2..b381aec6 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs @@ -7,17 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1010285434)] + [TLObject(-1548400251)] public class TLChannelParticipantsKicked : TLAbsChannelParticipantsFilter { public override int Constructor { get { - return 1010285434; + return -1548400251; } } + public string Q { get; set; } public void ComputeFlags() @@ -27,12 +28,14 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Q = StringUtil.Deserialize(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + StringUtil.Serialize(Q, bw); } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs new file mode 100644 index 00000000..4184c47e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(106343499)] + public class TLChannelParticipantsSearch : TLAbsChannelParticipantsFilter + { + public override int Constructor + { + get + { + return 106343499; + } + } + + public string Q { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Q = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Q, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChat.cs b/src/TeleSharp.TL/TL/TLChat.cs index 1280a839..ca6ddfa9 100644 --- a/src/TeleSharp.TL/TL/TLChat.cs +++ b/src/TeleSharp.TL/TL/TLChat.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-652419756)] + [TLObject(1004149726)] public class TLChat : TLAbsChat { public override int Constructor { get { - return -652419756; + return 1004149726; } } @@ -22,8 +22,6 @@ public override int Constructor public bool Creator { get; set; } public bool Kicked { get; set; } public bool Left { get; set; } - public bool AdminsEnabled { get; set; } - public bool Admin { get; set; } public bool Deactivated { get; set; } public int Id { get; set; } public string Title { get; set; } @@ -32,18 +30,12 @@ public override int Constructor public int Date { get; set; } public int Version { get; set; } public TLAbsInputChannel MigratedTo { get; set; } + public TLChatAdminRights AdminRights { get; set; } + public TLChatBannedRights DefaultBannedRights { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Creator ? (Flags | 1) : (Flags & ~1); - Flags = Kicked ? (Flags | 2) : (Flags & ~2); - Flags = Left ? (Flags | 4) : (Flags & ~4); - Flags = AdminsEnabled ? (Flags | 8) : (Flags & ~8); - Flags = Admin ? (Flags | 16) : (Flags & ~16); - Flags = Deactivated ? (Flags | 32) : (Flags & ~32); - Flags = MigratedTo != null ? (Flags | 64) : (Flags & ~64); } @@ -53,8 +45,6 @@ public override void DeserializeBody(BinaryReader br) Creator = (Flags & 1) != 0; Kicked = (Flags & 2) != 0; Left = (Flags & 4) != 0; - AdminsEnabled = (Flags & 8) != 0; - Admin = (Flags & 16) != 0; Deactivated = (Flags & 32) != 0; Id = br.ReadInt32(); Title = StringUtil.Deserialize(br); @@ -67,20 +57,27 @@ public override void DeserializeBody(BinaryReader br) else MigratedTo = null; + if ((Flags & 16384) != 0) + AdminRights = (TLChatAdminRights)ObjectUtils.DeserializeObject(br); + else + AdminRights = null; + + if ((Flags & 262144) != 0) + DefaultBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + else + DefaultBannedRights = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - - bw.Write(Id); StringUtil.Serialize(Title, bw); ObjectUtils.SerializeObject(Photo, bw); @@ -89,6 +86,10 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Version); if ((Flags & 64) != 0) ObjectUtils.SerializeObject(MigratedTo, bw); + if ((Flags & 16384) != 0) + ObjectUtils.SerializeObject(AdminRights, bw); + if ((Flags & 262144) != 0) + ObjectUtils.SerializeObject(DefaultBannedRights, bw); } } diff --git a/src/TeleSharp.TL/TL/TLChatAdminRights.cs b/src/TeleSharp.TL/TL/TLChatAdminRights.cs new file mode 100644 index 00000000..0e9cd2f8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChatAdminRights.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1605510357)] + public class TLChatAdminRights : TLObject + { + public override int Constructor + { + get + { + return 1605510357; + } + } + + public int Flags { get; set; } + public bool ChangeInfo { get; set; } + public bool PostMessages { get; set; } + public bool EditMessages { get; set; } + public bool DeleteMessages { get; set; } + public bool BanUsers { get; set; } + public bool InviteUsers { get; set; } + public bool PinMessages { get; set; } + public bool AddAdmins { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + ChangeInfo = (Flags & 1) != 0; + PostMessages = (Flags & 2) != 0; + EditMessages = (Flags & 4) != 0; + DeleteMessages = (Flags & 8) != 0; + BanUsers = (Flags & 16) != 0; + InviteUsers = (Flags & 32) != 0; + PinMessages = (Flags & 128) != 0; + AddAdmins = (Flags & 512) != 0; + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + + + + + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChatBannedRights.cs b/src/TeleSharp.TL/TL/TLChatBannedRights.cs new file mode 100644 index 00000000..44d3d156 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChatBannedRights.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1626209256)] + public class TLChatBannedRights : TLObject + { + public override int Constructor + { + get + { + return -1626209256; + } + } + + public int Flags { get; set; } + public bool ViewMessages { get; set; } + public bool SendMessages { get; set; } + public bool SendMedia { get; set; } + public bool SendStickers { get; set; } + public bool SendGifs { get; set; } + public bool SendGames { get; set; } + public bool SendInline { get; set; } + public bool EmbedLinks { get; set; } + public bool SendPolls { get; set; } + public bool ChangeInfo { get; set; } + public bool InviteUsers { get; set; } + public bool PinMessages { get; set; } + public int UntilDate { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + ViewMessages = (Flags & 1) != 0; + SendMessages = (Flags & 2) != 0; + SendMedia = (Flags & 4) != 0; + SendStickers = (Flags & 8) != 0; + SendGifs = (Flags & 16) != 0; + SendGames = (Flags & 32) != 0; + SendInline = (Flags & 64) != 0; + EmbedLinks = (Flags & 128) != 0; + SendPolls = (Flags & 256) != 0; + ChangeInfo = (Flags & 1024) != 0; + InviteUsers = (Flags & 32768) != 0; + PinMessages = (Flags & 131072) != 0; + UntilDate = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + + + + + + + + + bw.Write(UntilDate); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChatFull.cs b/src/TeleSharp.TL/TL/TLChatFull.cs index c948f70d..06da4c6e 100644 --- a/src/TeleSharp.TL/TL/TLChatFull.cs +++ b/src/TeleSharp.TL/TL/TLChatFull.cs @@ -7,23 +7,29 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(771925524)] + [TLObject(461151667)] public class TLChatFull : TLAbsChatFull { public override int Constructor { get { - return 771925524; + return 461151667; } } + public int Flags { get; set; } + public bool CanSetUsername { get; set; } + public bool HasScheduled { get; set; } public int Id { get; set; } + public string About { get; set; } public TLAbsChatParticipants Participants { get; set; } public TLAbsPhoto ChatPhoto { get; set; } - public TLAbsPeerNotifySettings NotifySettings { get; set; } + public TLPeerNotifySettings NotifySettings { get; set; } public TLAbsExportedChatInvite ExportedInvite { get; set; } public TLVector BotInfo { get; set; } + public int? PinnedMsgId { get; set; } + public int? FolderId { get; set; } public void ComputeFlags() @@ -33,24 +39,56 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + CanSetUsername = (Flags & 128) != 0; + HasScheduled = (Flags & 256) != 0; Id = br.ReadInt32(); + About = StringUtil.Deserialize(br); Participants = (TLAbsChatParticipants)ObjectUtils.DeserializeObject(br); - ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); - NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + if ((Flags & 4) != 0) + ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); + else + ChatPhoto = null; + + NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); ExportedInvite = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); - BotInfo = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 8) != 0) + BotInfo = (TLVector)ObjectUtils.DeserializeVector(br); + else + BotInfo = null; + + if ((Flags & 64) != 0) + PinnedMsgId = br.ReadInt32(); + else + PinnedMsgId = null; + + if ((Flags & 2048) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + + bw.Write(Id); + StringUtil.Serialize(About, bw); ObjectUtils.SerializeObject(Participants, bw); - ObjectUtils.SerializeObject(ChatPhoto, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(ChatPhoto, bw); ObjectUtils.SerializeObject(NotifySettings, bw); ObjectUtils.SerializeObject(ExportedInvite, bw); - ObjectUtils.SerializeObject(BotInfo, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(BotInfo, bw); + if ((Flags & 64) != 0) + bw.Write(PinnedMsgId.Value); + if ((Flags & 2048) != 0) + bw.Write(FolderId.Value); } } diff --git a/src/TeleSharp.TL/TL/TLChatInvite.cs b/src/TeleSharp.TL/TL/TLChatInvite.cs index b36a4ced..e473bf86 100644 --- a/src/TeleSharp.TL/TL/TLChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLChatInvite.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-613092008)] + [TLObject(-540871282)] public class TLChatInvite : TLAbsChatInvite { public override int Constructor { get { - return -613092008; + return -540871282; } } @@ -24,19 +24,13 @@ public override int Constructor public bool Public { get; set; } public bool Megagroup { get; set; } public string Title { get; set; } - public TLAbsChatPhoto Photo { get; set; } + public TLAbsPhoto Photo { get; set; } public int ParticipantsCount { get; set; } public TLVector Participants { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Channel ? (Flags | 1) : (Flags & ~1); - Flags = Broadcast ? (Flags | 2) : (Flags & ~2); - Flags = Public ? (Flags | 4) : (Flags & ~4); - Flags = Megagroup ? (Flags | 8) : (Flags & ~8); - Flags = Participants != null ? (Flags | 16) : (Flags & ~16); } @@ -48,7 +42,7 @@ public override void DeserializeBody(BinaryReader br) Public = (Flags & 4) != 0; Megagroup = (Flags & 8) != 0; Title = StringUtil.Deserialize(br); - Photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br); + Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); ParticipantsCount = br.ReadInt32(); if ((Flags & 16) != 0) Participants = (TLVector)ObjectUtils.DeserializeVector(br); @@ -61,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLChatOnlines.cs b/src/TeleSharp.TL/TL/TLChatOnlines.cs new file mode 100644 index 00000000..22357824 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLChatOnlines.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-264117680)] + public class TLChatOnlines : TLObject + { + public override int Constructor + { + get + { + return -264117680; + } + } + + public int Onlines { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Onlines = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Onlines); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs b/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs index 3bf68ecc..97a5f1fd 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = SelfParticipant != null ? (Flags | 1) : (Flags & ~1); } @@ -45,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(ChatId); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/TLChatPhoto.cs b/src/TeleSharp.TL/TL/TLChatPhoto.cs index 03e4c294..ad96f651 100644 --- a/src/TeleSharp.TL/TL/TLChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLChatPhoto.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1632839530)] + [TLObject(1197267925)] public class TLChatPhoto : TLAbsChatPhoto { public override int Constructor { get { - return 1632839530; + return 1197267925; } } - public TLAbsFileLocation PhotoSmall { get; set; } - public TLAbsFileLocation PhotoBig { get; set; } + public TLFileLocationToBeDeprecated PhotoSmall { get; set; } + public TLFileLocationToBeDeprecated PhotoBig { get; set; } + public int DcId { get; set; } public void ComputeFlags() @@ -29,8 +30,9 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PhotoSmall = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); - PhotoBig = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); + PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + DcId = br.ReadInt32(); } @@ -39,6 +41,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PhotoSmall, bw); ObjectUtils.SerializeObject(PhotoBig, bw); + bw.Write(DcId); } } diff --git a/src/TeleSharp.TL/TL/TLCodeSettings.cs b/src/TeleSharp.TL/TL/TLCodeSettings.cs new file mode 100644 index 00000000..0ee22ad2 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLCodeSettings.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-557924733)] + public class TLCodeSettings : TLObject + { + public override int Constructor + { + get + { + return -557924733; + } + } + + public int Flags { get; set; } + public bool AllowFlashcall { get; set; } + public bool CurrentNumber { get; set; } + public bool AllowAppHash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + AllowFlashcall = (Flags & 1) != 0; + CurrentNumber = (Flags & 2) != 0; + AllowAppHash = (Flags & 16) != 0; + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLConfig.cs b/src/TeleSharp.TL/TL/TLConfig.cs index 3be05d09..afcda7db 100644 --- a/src/TeleSharp.TL/TL/TLConfig.cs +++ b/src/TeleSharp.TL/TL/TLConfig.cs @@ -7,24 +7,31 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-882895228)] + [TLObject(856375399)] public class TLConfig : TLObject { public override int Constructor { get { - return -882895228; + return 856375399; } } public int Flags { get; set; } public bool PhonecallsEnabled { get; set; } + public bool DefaultP2pContacts { get; set; } + public bool PreloadFeaturedStickers { get; set; } + public bool IgnorePhoneEntities { get; set; } + public bool RevokePmInbox { get; set; } + public bool BlockedMode { get; set; } + public bool PfsEnabled { get; set; } public int Date { get; set; } public int Expires { get; set; } public bool TestMode { get; set; } public int ThisDc { get; set; } public TLVector DcOptions { get; set; } + public string DcTxtDomainName { get; set; } public int ChatSizeMax { get; set; } public int MegagroupSizeMax { get; set; } public int ForwardedCountMax { get; set; } @@ -34,28 +41,39 @@ public override int Constructor public int OnlineCloudTimeoutMs { get; set; } public int NotifyCloudDelayMs { get; set; } public int NotifyDefaultDelayMs { get; set; } - public int ChatBigSize { get; set; } public int PushChatPeriodMs { get; set; } public int PushChatLimit { get; set; } public int SavedGifsLimit { get; set; } public int EditTimeLimit { get; set; } + public int RevokeTimeLimit { get; set; } + public int RevokePmTimeLimit { get; set; } public int RatingEDecay { get; set; } public int StickersRecentLimit { get; set; } + public int StickersFavedLimit { get; set; } + public int ChannelsReadMediaPeriod { get; set; } public int? TmpSessions { get; set; } public int PinnedDialogsCountMax { get; set; } + public int PinnedInfolderCountMax { get; set; } public int CallReceiveTimeoutMs { get; set; } public int CallRingTimeoutMs { get; set; } public int CallConnectTimeoutMs { get; set; } public int CallPacketTimeoutMs { get; set; } public string MeUrlPrefix { get; set; } - public TLVector DisabledFeatures { get; set; } + public string AutoupdateUrlPrefix { get; set; } + public string GifSearchUsername { get; set; } + public string VenueSearchUsername { get; set; } + public string ImgSearchUsername { get; set; } + public string StaticMapsProvider { get; set; } + public int CaptionLengthMax { get; set; } + public int MessageLengthMax { get; set; } + public int WebfileDcId { get; set; } + public string SuggestedLangCode { get; set; } + public int? LangPackVersion { get; set; } + public int? BaseLangPackVersion { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = PhonecallsEnabled ? (Flags | 2) : (Flags & ~2); - Flags = TmpSessions != null ? (Flags | 1) : (Flags & ~1); } @@ -63,11 +81,18 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); PhonecallsEnabled = (Flags & 2) != 0; + DefaultP2pContacts = (Flags & 8) != 0; + PreloadFeaturedStickers = (Flags & 16) != 0; + IgnorePhoneEntities = (Flags & 32) != 0; + RevokePmInbox = (Flags & 64) != 0; + BlockedMode = (Flags & 256) != 0; + PfsEnabled = (Flags & 8192) != 0; Date = br.ReadInt32(); Expires = br.ReadInt32(); TestMode = BoolUtil.Deserialize(br); ThisDc = br.ReadInt32(); DcOptions = (TLVector)ObjectUtils.DeserializeVector(br); + DcTxtDomainName = StringUtil.Deserialize(br); ChatSizeMax = br.ReadInt32(); MegagroupSizeMax = br.ReadInt32(); ForwardedCountMax = br.ReadInt32(); @@ -77,39 +102,91 @@ public override void DeserializeBody(BinaryReader br) OnlineCloudTimeoutMs = br.ReadInt32(); NotifyCloudDelayMs = br.ReadInt32(); NotifyDefaultDelayMs = br.ReadInt32(); - ChatBigSize = br.ReadInt32(); PushChatPeriodMs = br.ReadInt32(); PushChatLimit = br.ReadInt32(); SavedGifsLimit = br.ReadInt32(); EditTimeLimit = br.ReadInt32(); + RevokeTimeLimit = br.ReadInt32(); + RevokePmTimeLimit = br.ReadInt32(); RatingEDecay = br.ReadInt32(); StickersRecentLimit = br.ReadInt32(); + StickersFavedLimit = br.ReadInt32(); + ChannelsReadMediaPeriod = br.ReadInt32(); if ((Flags & 1) != 0) TmpSessions = br.ReadInt32(); else TmpSessions = null; PinnedDialogsCountMax = br.ReadInt32(); + PinnedInfolderCountMax = br.ReadInt32(); CallReceiveTimeoutMs = br.ReadInt32(); CallRingTimeoutMs = br.ReadInt32(); CallConnectTimeoutMs = br.ReadInt32(); CallPacketTimeoutMs = br.ReadInt32(); MeUrlPrefix = StringUtil.Deserialize(br); - DisabledFeatures = (TLVector)ObjectUtils.DeserializeVector(br); + if ((Flags & 128) != 0) + AutoupdateUrlPrefix = StringUtil.Deserialize(br); + else + AutoupdateUrlPrefix = null; + + if ((Flags & 512) != 0) + GifSearchUsername = StringUtil.Deserialize(br); + else + GifSearchUsername = null; + + if ((Flags & 1024) != 0) + VenueSearchUsername = StringUtil.Deserialize(br); + else + VenueSearchUsername = null; + + if ((Flags & 2048) != 0) + ImgSearchUsername = StringUtil.Deserialize(br); + else + ImgSearchUsername = null; + + if ((Flags & 4096) != 0) + StaticMapsProvider = StringUtil.Deserialize(br); + else + StaticMapsProvider = null; + + CaptionLengthMax = br.ReadInt32(); + MessageLengthMax = br.ReadInt32(); + WebfileDcId = br.ReadInt32(); + if ((Flags & 4) != 0) + SuggestedLangCode = StringUtil.Deserialize(br); + else + SuggestedLangCode = null; + + if ((Flags & 4) != 0) + LangPackVersion = br.ReadInt32(); + else + LangPackVersion = null; + + if ((Flags & 4) != 0) + BaseLangPackVersion = br.ReadInt32(); + else + BaseLangPackVersion = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + + + + + bw.Write(Date); bw.Write(Expires); BoolUtil.Serialize(TestMode, bw); bw.Write(ThisDc); ObjectUtils.SerializeObject(DcOptions, bw); + StringUtil.Serialize(DcTxtDomainName, bw); bw.Write(ChatSizeMax); bw.Write(MegagroupSizeMax); bw.Write(ForwardedCountMax); @@ -119,22 +196,44 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(OnlineCloudTimeoutMs); bw.Write(NotifyCloudDelayMs); bw.Write(NotifyDefaultDelayMs); - bw.Write(ChatBigSize); bw.Write(PushChatPeriodMs); bw.Write(PushChatLimit); bw.Write(SavedGifsLimit); bw.Write(EditTimeLimit); + bw.Write(RevokeTimeLimit); + bw.Write(RevokePmTimeLimit); bw.Write(RatingEDecay); bw.Write(StickersRecentLimit); + bw.Write(StickersFavedLimit); + bw.Write(ChannelsReadMediaPeriod); if ((Flags & 1) != 0) bw.Write(TmpSessions.Value); bw.Write(PinnedDialogsCountMax); + bw.Write(PinnedInfolderCountMax); bw.Write(CallReceiveTimeoutMs); bw.Write(CallRingTimeoutMs); bw.Write(CallConnectTimeoutMs); bw.Write(CallPacketTimeoutMs); StringUtil.Serialize(MeUrlPrefix, bw); - ObjectUtils.SerializeObject(DisabledFeatures, bw); + if ((Flags & 128) != 0) + StringUtil.Serialize(AutoupdateUrlPrefix, bw); + if ((Flags & 512) != 0) + StringUtil.Serialize(GifSearchUsername, bw); + if ((Flags & 1024) != 0) + StringUtil.Serialize(VenueSearchUsername, bw); + if ((Flags & 2048) != 0) + StringUtil.Serialize(ImgSearchUsername, bw); + if ((Flags & 4096) != 0) + StringUtil.Serialize(StaticMapsProvider, bw); + bw.Write(CaptionLengthMax); + bw.Write(MessageLengthMax); + bw.Write(WebfileDcId); + if ((Flags & 4) != 0) + StringUtil.Serialize(SuggestedLangCode, bw); + if ((Flags & 4) != 0) + bw.Write(LangPackVersion.Value); + if ((Flags & 4) != 0) + bw.Write(BaseLangPackVersion.Value); } } diff --git a/src/TeleSharp.TL/TL/TLDcOption.cs b/src/TeleSharp.TL/TL/TLDcOption.cs index ebaee23d..14408635 100644 --- a/src/TeleSharp.TL/TL/TLDcOption.cs +++ b/src/TeleSharp.TL/TL/TLDcOption.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(98092748)] + [TLObject(414687501)] public class TLDcOption : TLObject { public override int Constructor { get { - return 98092748; + return 414687501; } } @@ -23,18 +23,15 @@ public override int Constructor public bool MediaOnly { get; set; } public bool TcpoOnly { get; set; } public bool Cdn { get; set; } + public bool Static { get; set; } public int Id { get; set; } public string IpAddress { get; set; } public int Port { get; set; } + public byte[] Secret { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Ipv6 ? (Flags | 1) : (Flags & ~1); - Flags = MediaOnly ? (Flags | 2) : (Flags & ~2); - Flags = TcpoOnly ? (Flags | 4) : (Flags & ~4); - Flags = Cdn ? (Flags | 8) : (Flags & ~8); } @@ -45,24 +42,32 @@ public override void DeserializeBody(BinaryReader br) MediaOnly = (Flags & 2) != 0; TcpoOnly = (Flags & 4) != 0; Cdn = (Flags & 8) != 0; + Static = (Flags & 16) != 0; Id = br.ReadInt32(); IpAddress = StringUtil.Deserialize(br); Port = br.ReadInt32(); + if ((Flags & 1024) != 0) + Secret = BytesUtil.Deserialize(br); + else + Secret = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Id); StringUtil.Serialize(IpAddress, bw); bw.Write(Port); + if ((Flags & 1024) != 0) + BytesUtil.Serialize(Secret, bw); } } diff --git a/src/TeleSharp.TL/TL/TLDialog.cs b/src/TeleSharp.TL/TL/TLDialog.cs index 2d8e65c9..7addae79 100644 --- a/src/TeleSharp.TL/TL/TLDialog.cs +++ b/src/TeleSharp.TL/TL/TLDialog.cs @@ -7,35 +7,34 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1728035348)] - public class TLDialog : TLObject + [TLObject(739712882)] + public class TLDialog : TLAbsDialog { public override int Constructor { get { - return 1728035348; + return 739712882; } } public int Flags { get; set; } public bool Pinned { get; set; } + public bool UnreadMark { get; set; } public TLAbsPeer Peer { get; set; } public int TopMessage { get; set; } public int ReadInboxMaxId { get; set; } public int ReadOutboxMaxId { get; set; } public int UnreadCount { get; set; } - public TLAbsPeerNotifySettings NotifySettings { get; set; } + public int UnreadMentionsCount { get; set; } + public TLPeerNotifySettings NotifySettings { get; set; } public int? Pts { get; set; } public TLAbsDraftMessage Draft { get; set; } + public int? FolderId { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Pinned ? (Flags | 4) : (Flags & ~4); - Flags = Pts != null ? (Flags | 1) : (Flags & ~1); - Flags = Draft != null ? (Flags | 2) : (Flags & ~2); } @@ -43,12 +42,14 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Pinned = (Flags & 4) != 0; + UnreadMark = (Flags & 8) != 0; Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); TopMessage = br.ReadInt32(); ReadInboxMaxId = br.ReadInt32(); ReadOutboxMaxId = br.ReadInt32(); UnreadCount = br.ReadInt32(); - NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + UnreadMentionsCount = br.ReadInt32(); + NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); if ((Flags & 1) != 0) Pts = br.ReadInt32(); else @@ -59,25 +60,33 @@ public override void DeserializeBody(BinaryReader br) else Draft = null; + if ((Flags & 16) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + ObjectUtils.SerializeObject(Peer, bw); bw.Write(TopMessage); bw.Write(ReadInboxMaxId); bw.Write(ReadOutboxMaxId); bw.Write(UnreadCount); + bw.Write(UnreadMentionsCount); ObjectUtils.SerializeObject(NotifySettings, bw); if ((Flags & 1) != 0) bw.Write(Pts.Value); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Draft, bw); + if ((Flags & 16) != 0) + bw.Write(FolderId.Value); } } diff --git a/src/TeleSharp.TL/TL/TLDialogFolder.cs b/src/TeleSharp.TL/TL/TLDialogFolder.cs new file mode 100644 index 00000000..093a60f3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLDialogFolder.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1908216652)] + public class TLDialogFolder : TLAbsDialog + { + public override int Constructor + { + get + { + return 1908216652; + } + } + + public int Flags { get; set; } + public bool Pinned { get; set; } + public TLFolder Folder { get; set; } + public TLAbsPeer Peer { get; set; } + public int TopMessage { get; set; } + public int UnreadMutedPeersCount { get; set; } + public int UnreadUnmutedPeersCount { get; set; } + public int UnreadMutedMessagesCount { get; set; } + public int UnreadUnmutedMessagesCount { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Pinned = (Flags & 4) != 0; + Folder = (TLFolder)ObjectUtils.DeserializeObject(br); + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + TopMessage = br.ReadInt32(); + UnreadMutedPeersCount = br.ReadInt32(); + UnreadUnmutedPeersCount = br.ReadInt32(); + UnreadMutedMessagesCount = br.ReadInt32(); + UnreadUnmutedMessagesCount = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Folder, bw); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(TopMessage); + bw.Write(UnreadMutedPeersCount); + bw.Write(UnreadUnmutedPeersCount); + bw.Write(UnreadMutedMessagesCount); + bw.Write(UnreadUnmutedMessagesCount); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLDialogPeer.cs b/src/TeleSharp.TL/TL/TLDialogPeer.cs new file mode 100644 index 00000000..84d5ad87 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLDialogPeer.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-445792507)] + public class TLDialogPeer : TLAbsDialogPeer + { + public override int Constructor + { + get + { + return -445792507; + } + } + + public TLAbsPeer Peer { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs b/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs new file mode 100644 index 00000000..02d12996 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1363483106)] + public class TLDialogPeerFolder : TLAbsDialogPeer + { + public override int Constructor + { + get + { + return 1363483106; + } + } + + public int FolderId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FolderId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(FolderId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLDisabledFeature.cs b/src/TeleSharp.TL/TL/TLDisabledFeature.cs deleted file mode 100644 index ce1d8dec..00000000 --- a/src/TeleSharp.TL/TL/TLDisabledFeature.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-1369215196)] - public class TLDisabledFeature : TLObject - { - public override int Constructor - { - get - { - return -1369215196; - } - } - - public string Feature { get; set; } - public string Description { get; set; } - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - Feature = StringUtil.Deserialize(br); - Description = StringUtil.Deserialize(br); - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - StringUtil.Serialize(Feature, bw); - StringUtil.Serialize(Description, bw); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLDocument.cs b/src/TeleSharp.TL/TL/TLDocument.cs index 20414ebb..8454c2b9 100644 --- a/src/TeleSharp.TL/TL/TLDocument.cs +++ b/src/TeleSharp.TL/TL/TLDocument.cs @@ -7,25 +7,26 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-2027738169)] + [TLObject(-1683841855)] public class TLDocument : TLAbsDocument { public override int Constructor { get { - return -2027738169; + return -1683841855; } } + public int Flags { get; set; } public long Id { get; set; } public long AccessHash { get; set; } + public byte[] FileReference { get; set; } public int Date { get; set; } public string MimeType { get; set; } public int Size { get; set; } - public TLAbsPhotoSize Thumb { get; set; } + public TLVector Thumbs { get; set; } public int DcId { get; set; } - public int Version { get; set; } public TLVector Attributes { get; set; } @@ -36,14 +37,19 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Id = br.ReadInt64(); AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); Date = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); Size = br.ReadInt32(); - Thumb = (TLAbsPhotoSize)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + Thumbs = (TLVector)ObjectUtils.DeserializeVector(br); + else + Thumbs = null; + DcId = br.ReadInt32(); - Version = br.ReadInt32(); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -51,14 +57,16 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); bw.Write(Id); bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); bw.Write(Date); StringUtil.Serialize(MimeType, bw); bw.Write(Size); - ObjectUtils.SerializeObject(Thumb, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Thumbs, bw); bw.Write(DcId); - bw.Write(Version); ObjectUtils.SerializeObject(Attributes, bw); } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs index 2241eb23..a2d130d4 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs @@ -28,11 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Voice ? (Flags | 1024) : (Flags & ~1024); - Flags = Title != null ? (Flags | 1) : (Flags & ~1); - Flags = Performer != null ? (Flags | 2) : (Flags & ~2); - Flags = Waveform != null ? (Flags | 4) : (Flags & ~4); } @@ -62,7 +57,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Duration); diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs index e0bb9b46..c6a997bd 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs @@ -27,9 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Mask ? (Flags | 2) : (Flags & ~2); - Flags = MaskCoords != null ? (Flags | 1) : (Flags & ~1); } @@ -50,7 +47,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Alt, bw); diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs index d9333d83..2ccf4f6a 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs @@ -20,6 +20,7 @@ public override int Constructor public int Flags { get; set; } public bool RoundMessage { get; set; } + public bool SupportsStreaming { get; set; } public int Duration { get; set; } public int W { get; set; } public int H { get; set; } @@ -27,8 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = RoundMessage ? (Flags | 1) : (Flags & ~1); } @@ -36,6 +35,7 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); RoundMessage = (Flags & 1) != 0; + SupportsStreaming = (Flags & 2) != 0; Duration = br.ReadInt32(); W = br.ReadInt32(); H = br.ReadInt32(); @@ -45,9 +45,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Duration); bw.Write(W); bw.Write(H); diff --git a/src/TeleSharp.TL/TL/TLDraftMessage.cs b/src/TeleSharp.TL/TL/TLDraftMessage.cs index 6331f98a..2ba31151 100644 --- a/src/TeleSharp.TL/TL/TLDraftMessage.cs +++ b/src/TeleSharp.TL/TL/TLDraftMessage.cs @@ -28,10 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 2) : (Flags & ~2); - Flags = ReplyToMsgId != null ? (Flags | 1) : (Flags & ~1); - Flags = Entities != null ? (Flags | 8) : (Flags & ~8); } @@ -57,7 +53,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs b/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs index a5d31cf0..c36b476f 100644 --- a/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs +++ b/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1169445179)] + [TLObject(453805082)] public class TLDraftMessageEmpty : TLAbsDraftMessage { public override int Constructor { get { - return -1169445179; + return 453805082; } } + public int Flags { get; set; } + public int? Date { get; set; } public void ComputeFlags() @@ -27,12 +29,21 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + Date = br.ReadInt32(); + else + Date = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + bw.Write(Date.Value); } } diff --git a/src/TeleSharp.TL/TL/TLEmojiKeyword.cs b/src/TeleSharp.TL/TL/TLEmojiKeyword.cs new file mode 100644 index 00000000..0e540e2d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLEmojiKeyword.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-709641735)] + public class TLEmojiKeyword : TLAbsEmojiKeyword + { + public override int Constructor + { + get + { + return -709641735; + } + } + + public string Keyword { get; set; } + public TLVector Emoticons { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Keyword = StringUtil.Deserialize(br); + Emoticons = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Keyword, bw); + ObjectUtils.SerializeObject(Emoticons, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs b/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs new file mode 100644 index 00000000..b38b27a5 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(594408994)] + public class TLEmojiKeywordDeleted : TLAbsEmojiKeyword + { + public override int Constructor + { + get + { + return 594408994; + } + } + + public string Keyword { get; set; } + public TLVector Emoticons { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Keyword = StringUtil.Deserialize(br); + Emoticons = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Keyword, bw); + ObjectUtils.SerializeObject(Emoticons, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs b/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs new file mode 100644 index 00000000..2b11e13d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1556570557)] + public class TLEmojiKeywordsDifference : TLObject + { + public override int Constructor + { + get + { + return 1556570557; + } + } + + public string LangCode { get; set; } + public int FromVersion { get; set; } + public int Version { get; set; } + public TLVector Keywords { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + FromVersion = br.ReadInt32(); + Version = br.ReadInt32(); + Keywords = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + bw.Write(FromVersion); + bw.Write(Version); + ObjectUtils.SerializeObject(Keywords, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLEmojiLanguage.cs b/src/TeleSharp.TL/TL/TLEmojiLanguage.cs new file mode 100644 index 00000000..4c189418 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLEmojiLanguage.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1275374751)] + public class TLEmojiLanguage : TLObject + { + public override int Constructor + { + get + { + return -1275374751; + } + } + + public string LangCode { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLEmojiURL.cs b/src/TeleSharp.TL/TL/TLEmojiURL.cs new file mode 100644 index 00000000..bd4eb0cc --- /dev/null +++ b/src/TeleSharp.TL/TL/TLEmojiURL.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1519029347)] + public class TLEmojiURL : TLObject + { + public override int Constructor + { + get + { + return -1519029347; + } + } + + public string Url { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLExportedMessageLink.cs b/src/TeleSharp.TL/TL/TLExportedMessageLink.cs index 9640469a..c3b18f89 100644 --- a/src/TeleSharp.TL/TL/TLExportedMessageLink.cs +++ b/src/TeleSharp.TL/TL/TLExportedMessageLink.cs @@ -7,18 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(524838915)] + [TLObject(1571494644)] public class TLExportedMessageLink : TLObject { public override int Constructor { get { - return 524838915; + return 1571494644; } } public string Link { get; set; } + public string Html { get; set; } public void ComputeFlags() @@ -29,6 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Link = StringUtil.Deserialize(br); + Html = StringUtil.Deserialize(br); } @@ -36,6 +38,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Link, bw); + StringUtil.Serialize(Html, bw); } } diff --git a/src/TeleSharp.TL/TL/TLFileHash.cs b/src/TeleSharp.TL/TL/TLFileHash.cs new file mode 100644 index 00000000..493a76dd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLFileHash.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1648543603)] + public class TLFileHash : TLObject + { + public override int Constructor + { + get + { + return 1648543603; + } + } + + public int Offset { get; set; } + public int Limit { get; set; } + public byte[] Hash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Limit = br.ReadInt32(); + Hash = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Limit); + BytesUtil.Serialize(Hash, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLFileLocationUnavailable.cs b/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs similarity index 76% rename from src/TeleSharp.TL/TL/TLFileLocationUnavailable.cs rename to src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs index f46b9d69..875bcfc2 100644 --- a/src/TeleSharp.TL/TL/TLFileLocationUnavailable.cs +++ b/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs @@ -7,20 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(2086234950)] - public class TLFileLocationUnavailable : TLAbsFileLocation + [TLObject(-1132476723)] + public class TLFileLocationToBeDeprecated : TLObject { public override int Constructor { get { - return 2086234950; + return -1132476723; } } public long VolumeId { get; set; } public int LocalId { get; set; } - public long Secret { get; set; } public void ComputeFlags() @@ -32,7 +31,6 @@ public override void DeserializeBody(BinaryReader br) { VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); - Secret = br.ReadInt64(); } @@ -41,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(VolumeId); bw.Write(LocalId); - bw.Write(Secret); } } diff --git a/src/TeleSharp.TL/TL/TLFolder.cs b/src/TeleSharp.TL/TL/TLFolder.cs new file mode 100644 index 00000000..64ece14f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLFolder.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-11252123)] + public class TLFolder : TLObject + { + public override int Constructor + { + get + { + return -11252123; + } + } + + public int Flags { get; set; } + public bool AutofillNewBroadcasts { get; set; } + public bool AutofillPublicGroups { get; set; } + public bool AutofillNewCorrespondents { get; set; } + public int Id { get; set; } + public string Title { get; set; } + public TLAbsChatPhoto Photo { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + AutofillNewBroadcasts = (Flags & 1) != 0; + AutofillPublicGroups = (Flags & 2) != 0; + AutofillNewCorrespondents = (Flags & 4) != 0; + Id = br.ReadInt32(); + Title = StringUtil.Deserialize(br); + if ((Flags & 8) != 0) + Photo = (TLAbsChatPhoto)ObjectUtils.DeserializeObject(br); + else + Photo = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + bw.Write(Id); + StringUtil.Serialize(Title, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Photo, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLFolderPeer.cs b/src/TeleSharp.TL/TL/TLFolderPeer.cs new file mode 100644 index 00000000..a7346556 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLFolderPeer.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-373643672)] + public class TLFolderPeer : TLObject + { + public override int Constructor + { + get + { + return -373643672; + } + } + + public TLAbsPeer Peer { get; set; } + public int FolderId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + FolderId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(FolderId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLGame.cs b/src/TeleSharp.TL/TL/TLGame.cs index 190e3d5a..7244206c 100644 --- a/src/TeleSharp.TL/TL/TLGame.cs +++ b/src/TeleSharp.TL/TL/TLGame.cs @@ -30,8 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Document != null ? (Flags | 1) : (Flags & ~1); } @@ -55,7 +53,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Id); bw.Write(AccessHash); diff --git a/src/TeleSharp.TL/TL/TLGeoPoint.cs b/src/TeleSharp.TL/TL/TLGeoPoint.cs index a8063cc2..23a050b7 100644 --- a/src/TeleSharp.TL/TL/TLGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLGeoPoint.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(541710092)] + [TLObject(43446532)] public class TLGeoPoint : TLAbsGeoPoint { public override int Constructor { get { - return 541710092; + return 43446532; } } public double Long { get; set; } public double Lat { get; set; } + public long AccessHash { get; set; } public void ComputeFlags() @@ -31,6 +32,7 @@ public override void DeserializeBody(BinaryReader br) { Long = br.ReadDouble(); Lat = br.ReadDouble(); + AccessHash = br.ReadInt64(); } @@ -39,6 +41,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Long); bw.Write(Lat); + bw.Write(AccessHash); } } diff --git a/src/TeleSharp.TL/TL/TLInputAppEvent.cs b/src/TeleSharp.TL/TL/TLInputAppEvent.cs index a9346690..bea6b641 100644 --- a/src/TeleSharp.TL/TL/TLInputAppEvent.cs +++ b/src/TeleSharp.TL/TL/TLInputAppEvent.cs @@ -7,21 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1996904104)] + [TLObject(488313413)] public class TLInputAppEvent : TLObject { public override int Constructor { get { - return 1996904104; + return 488313413; } } public double Time { get; set; } public string Type { get; set; } public long Peer { get; set; } - public string Data { get; set; } + public TLAbsJSONValue Data { get; set; } public void ComputeFlags() @@ -34,7 +34,7 @@ public override void DeserializeBody(BinaryReader br) Time = br.ReadDouble(); Type = StringUtil.Deserialize(br); Peer = br.ReadInt64(); - Data = StringUtil.Deserialize(br); + Data = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); } @@ -44,7 +44,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Time); StringUtil.Serialize(Type, bw); bw.Write(Peer); - StringUtil.Serialize(Data, bw); + ObjectUtils.SerializeObject(Data, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs index b6068551..aa677c35 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs @@ -24,8 +24,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -43,7 +41,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs index 023b9645..93e6024a 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs @@ -7,33 +7,37 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(691006739)] + [TLObject(864077702)] public class TLInputBotInlineMessageMediaAuto : TLAbsInputBotInlineMessage { public override int Constructor { get { - return 691006739; + return 864077702; } } public int Flags { get; set; } - public string Caption { get; set; } + public string Message { get; set; } + public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - Caption = StringUtil.Deserialize(br); + Message = StringUtil.Deserialize(br); + if ((Flags & 2) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -45,9 +49,10 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - StringUtil.Serialize(Caption, bw); + StringUtil.Serialize(Message, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs index 2ee2fa76..a608155a 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(766443943)] + [TLObject(-1494368259)] public class TLInputBotInlineMessageMediaContact : TLAbsInputBotInlineMessage { public override int Constructor { get { - return 766443943; + return -1494368259; } } @@ -22,13 +22,12 @@ public override int Constructor public string PhoneNumber { get; set; } public string FirstName { get; set; } public string LastName { get; set; } + public string Vcard { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -38,6 +37,7 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); + Vcard = StringUtil.Deserialize(br); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -49,11 +49,11 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); + StringUtil.Serialize(Vcard, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs index 4f578f65..8a099e1d 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs @@ -7,26 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-190472735)] + [TLObject(-1045340827)] public class TLInputBotInlineMessageMediaGeo : TLAbsInputBotInlineMessage { public override int Constructor { get { - return -190472735; + return -1045340827; } } public int Flags { get; set; } public TLAbsInputGeoPoint GeoPoint { get; set; } + public int Period { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -34,6 +33,7 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + Period = br.ReadInt32(); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -45,9 +45,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(GeoPoint, bw); + bw.Write(Period); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs index 59bd4626..dd87484c 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1431327288)] + [TLObject(1098628881)] public class TLInputBotInlineMessageMediaVenue : TLAbsInputBotInlineMessage { public override int Constructor { get { - return -1431327288; + return 1098628881; } } @@ -24,13 +24,12 @@ public override int Constructor public string Address { get; set; } public string Provider { get; set; } public string VenueId { get; set; } + public string VenueType { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -42,6 +41,7 @@ public override void DeserializeBody(BinaryReader br) Address = StringUtil.Deserialize(br); Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); + VenueType = StringUtil.Deserialize(br); if ((Flags & 4) != 0) ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); else @@ -53,13 +53,13 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(GeoPoint, bw); StringUtil.Serialize(Title, bw); StringUtil.Serialize(Address, bw); StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); + StringUtil.Serialize(VenueType, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs index 186196c9..4c8f09f7 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs @@ -27,10 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NoWebpage ? (Flags | 1) : (Flags & ~1); - Flags = Entities != null ? (Flags | 2) : (Flags & ~2); - Flags = ReplyMarkup != null ? (Flags | 4) : (Flags & ~4); } @@ -55,7 +51,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Message, bw); diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs index 09dea40f..3ff58d6f 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(750510426)] + [TLObject(-2000710887)] public class TLInputBotInlineResult : TLAbsInputBotInlineResult { public override int Constructor { get { - return 750510426; + return -2000710887; } } @@ -24,27 +24,13 @@ public override int Constructor public string Title { get; set; } public string Description { get; set; } public string Url { get; set; } - public string ThumbUrl { get; set; } - public string ContentUrl { get; set; } - public string ContentType { get; set; } - public int? W { get; set; } - public int? H { get; set; } - public int? Duration { get; set; } + public TLInputWebDocument Thumb { get; set; } + public TLInputWebDocument Content { get; set; } public TLAbsInputBotInlineMessage SendMessage { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Title != null ? (Flags | 2) : (Flags & ~2); - Flags = Description != null ? (Flags | 4) : (Flags & ~4); - Flags = Url != null ? (Flags | 8) : (Flags & ~8); - Flags = ThumbUrl != null ? (Flags | 16) : (Flags & ~16); - Flags = ContentUrl != null ? (Flags | 32) : (Flags & ~32); - Flags = ContentType != null ? (Flags | 32) : (Flags & ~32); - Flags = W != null ? (Flags | 64) : (Flags & ~64); - Flags = H != null ? (Flags | 64) : (Flags & ~64); - Flags = Duration != null ? (Flags | 128) : (Flags & ~128); } @@ -69,34 +55,14 @@ public override void DeserializeBody(BinaryReader br) Url = null; if ((Flags & 16) != 0) - ThumbUrl = StringUtil.Deserialize(br); + Thumb = (TLInputWebDocument)ObjectUtils.DeserializeObject(br); else - ThumbUrl = null; + Thumb = null; if ((Flags & 32) != 0) - ContentUrl = StringUtil.Deserialize(br); + Content = (TLInputWebDocument)ObjectUtils.DeserializeObject(br); else - ContentUrl = null; - - if ((Flags & 32) != 0) - ContentType = StringUtil.Deserialize(br); - else - ContentType = null; - - if ((Flags & 64) != 0) - W = br.ReadInt32(); - else - W = null; - - if ((Flags & 64) != 0) - H = br.ReadInt32(); - else - H = null; - - if ((Flags & 128) != 0) - Duration = br.ReadInt32(); - else - Duration = null; + Content = null; SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br); @@ -105,7 +71,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Id, bw); StringUtil.Serialize(Type, bw); @@ -116,17 +81,9 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 8) != 0) StringUtil.Serialize(Url, bw); if ((Flags & 16) != 0) - StringUtil.Serialize(ThumbUrl, bw); - if ((Flags & 32) != 0) - StringUtil.Serialize(ContentUrl, bw); + ObjectUtils.SerializeObject(Thumb, bw); if ((Flags & 32) != 0) - StringUtil.Serialize(ContentType, bw); - if ((Flags & 64) != 0) - bw.Write(W.Value); - if ((Flags & 64) != 0) - bw.Write(H.Value); - if ((Flags & 128) != 0) - bw.Write(Duration.Value); + ObjectUtils.SerializeObject(Content, bw); ObjectUtils.SerializeObject(SendMessage, bw); } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs index a673c2a8..d34c525f 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs @@ -29,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Title != null ? (Flags | 2) : (Flags & ~2); - Flags = Description != null ? (Flags | 4) : (Flags & ~4); } @@ -58,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Id, bw); StringUtil.Serialize(Type, bw); diff --git a/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs b/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs new file mode 100644 index 00000000..e9283105 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(707290417)] + public class TLInputChannelFromMessage : TLAbsInputChannel + { + public override int Constructor + { + get + { + return 707290417; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public int ChannelId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + ChannelId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + bw.Write(ChannelId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs b/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs new file mode 100644 index 00000000..deda1462 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1736378792)] + public class TLInputCheckPasswordEmpty : TLAbsInputCheckPasswordSRP + { + public override int Constructor + { + get + { + return -1736378792; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs b/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs new file mode 100644 index 00000000..044185d1 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-763367294)] + public class TLInputCheckPasswordSRP : TLAbsInputCheckPasswordSRP + { + public override int Constructor + { + get + { + return -763367294; + } + } + + public long SrpId { get; set; } + public byte[] A { get; set; } + public byte[] M1 { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + SrpId = br.ReadInt64(); + A = BytesUtil.Deserialize(br); + M1 = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(SrpId); + BytesUtil.Serialize(A, bw); + BytesUtil.Serialize(M1, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputClientProxy.cs b/src/TeleSharp.TL/TL/TLInputClientProxy.cs new file mode 100644 index 00000000..76999eb3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputClientProxy.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1968737087)] + public class TLInputClientProxy : TLObject + { + public override int Constructor + { + get + { + return 1968737087; + } + } + + public string Address { get; set; } + public int Port { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Address = StringUtil.Deserialize(br); + Port = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Address, bw); + bw.Write(Port); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeer.cs b/src/TeleSharp.TL/TL/TLInputDialogPeer.cs new file mode 100644 index 00000000..a53634ed --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputDialogPeer.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-55902537)] + public class TLInputDialogPeer : TLAbsInputDialogPeer + { + public override int Constructor + { + get + { + return -55902537; + } + } + + public TLAbsInputPeer Peer { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs b/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs new file mode 100644 index 00000000..700cc392 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1684014375)] + public class TLInputDialogPeerFolder : TLAbsInputDialogPeer + { + public override int Constructor + { + get + { + return 1684014375; + } + } + + public int FolderId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FolderId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(FolderId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputDocument.cs b/src/TeleSharp.TL/TL/TLInputDocument.cs index 822c03fa..cfc51eb9 100644 --- a/src/TeleSharp.TL/TL/TLInputDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputDocument.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(410618194)] + [TLObject(448771445)] public class TLInputDocument : TLAbsInputDocument { public override int Constructor { get { - return 410618194; + return 448771445; } } public long Id { get; set; } public long AccessHash { get; set; } + public byte[] FileReference { get; set; } public void ComputeFlags() @@ -31,6 +32,7 @@ public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); } @@ -39,6 +41,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs b/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs index 70833b04..8f3d822d 100644 --- a/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1125058340)] + [TLObject(-1160743548)] public class TLInputDocumentFileLocation : TLAbsInputFileLocation { public override int Constructor { get { - return 1125058340; + return -1160743548; } } public long Id { get; set; } public long AccessHash { get; set; } - public int Version { get; set; } + public byte[] FileReference { get; set; } + public string ThumbSize { get; set; } public void ComputeFlags() @@ -32,7 +33,8 @@ public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - Version = br.ReadInt32(); + FileReference = BytesUtil.Deserialize(br); + ThumbSize = StringUtil.Deserialize(br); } @@ -41,7 +43,8 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - bw.Write(Version); + BytesUtil.Serialize(FileReference, bw); + StringUtil.Serialize(ThumbSize, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputFileLocation.cs b/src/TeleSharp.TL/TL/TLInputFileLocation.cs index 1585fc79..f70c46cf 100644 --- a/src/TeleSharp.TL/TL/TLInputFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputFileLocation.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(342061462)] + [TLObject(-539317279)] public class TLInputFileLocation : TLAbsInputFileLocation { public override int Constructor { get { - return 342061462; + return -539317279; } } public long VolumeId { get; set; } public int LocalId { get; set; } public long Secret { get; set; } + public byte[] FileReference { get; set; } public void ComputeFlags() @@ -33,6 +34,7 @@ public override void DeserializeBody(BinaryReader br) VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); Secret = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); } @@ -42,6 +44,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(VolumeId); bw.Write(LocalId); bw.Write(Secret); + BytesUtil.Serialize(FileReference, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputFolderPeer.cs b/src/TeleSharp.TL/TL/TLInputFolderPeer.cs new file mode 100644 index 00000000..0a4d4144 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputFolderPeer.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-70073706)] + public class TLInputFolderPeer : TLObject + { + public override int Constructor + { + get + { + return -70073706; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int FolderId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + FolderId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(FolderId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs b/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs new file mode 100644 index 00000000..206d73d3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-802258988)] + public class TLInputKeyboardButtonUrlAuth : TLAbsKeyboardButton + { + public override int Constructor + { + get + { + return -802258988; + } + } + + public int Flags { get; set; } + public bool RequestWriteAccess { get; set; } + public string Text { get; set; } + public string FwdText { get; set; } + public string Url { get; set; } + public TLAbsInputUser Bot { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + RequestWriteAccess = (Flags & 1) != 0; + Text = StringUtil.Deserialize(br); + if ((Flags & 2) != 0) + FwdText = StringUtil.Deserialize(br); + else + FwdText = null; + + Url = StringUtil.Deserialize(br); + Bot = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + StringUtil.Serialize(Text, bw); + if ((Flags & 2) != 0) + StringUtil.Serialize(FwdText, bw); + StringUtil.Serialize(Url, bw); + ObjectUtils.SerializeObject(Bot, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMediaContact.cs b/src/TeleSharp.TL/TL/TLInputMediaContact.cs index 2796740f..feb1be30 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaContact.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1494984313)] + [TLObject(-122978821)] public class TLInputMediaContact : TLAbsInputMedia { public override int Constructor { get { - return -1494984313; + return -122978821; } } public string PhoneNumber { get; set; } public string FirstName { get; set; } public string LastName { get; set; } + public string Vcard { get; set; } public void ComputeFlags() @@ -33,6 +34,7 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); + Vcard = StringUtil.Deserialize(br); } @@ -42,6 +44,7 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); + StringUtil.Serialize(Vcard, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocument.cs b/src/TeleSharp.TL/TL/TLInputMediaDocument.cs index 98e38070..3d765c52 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaDocument.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(444068508)] + [TLObject(598418386)] public class TLInputMediaDocument : TLAbsInputMedia { public override int Constructor { get { - return 444068508; + return 598418386; } } + public int Flags { get; set; } public TLAbsInputDocument Id { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); - Caption = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); ObjectUtils.SerializeObject(Id, bw); - StringUtil.Serialize(Caption, bw); + if ((Flags & 1) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs b/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs index 4fdb71cf..2b237e89 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-437690244)] + [TLObject(-78455655)] public class TLInputMediaDocumentExternal : TLAbsInputMedia { public override int Constructor { get { - return -437690244; + return -78455655; } } + public int Flags { get; set; } public string Url { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Url = StringUtil.Deserialize(br); - Caption = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); StringUtil.Serialize(Url, bw); - StringUtil.Serialize(Caption, bw); + if ((Flags & 1) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs b/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs new file mode 100644 index 00000000..5bbe1eb7 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-833715459)] + public class TLInputMediaGeoLive : TLAbsInputMedia + { + public override int Constructor + { + get + { + return -833715459; + } + } + + public int Flags { get; set; } + public bool Stopped { get; set; } + public TLAbsInputGeoPoint GeoPoint { get; set; } + public int? Period { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Stopped = (Flags & 1) != 0; + GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + if ((Flags & 2) != 0) + Period = br.ReadInt32(); + else + Period = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(GeoPoint, bw); + if ((Flags & 2) != 0) + bw.Write(Period.Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs b/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs index 1e63dec9..73df2a7f 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1844103547)] + [TLObject(-186607933)] public class TLInputMediaInvoice : TLAbsInputMedia { public override int Constructor { get { - return -1844103547; + return -186607933; } } @@ -25,13 +25,12 @@ public override int Constructor public TLInvoice Invoice { get; set; } public byte[] Payload { get; set; } public string Provider { get; set; } + public TLDataJSON ProviderData { get; set; } public string StartParam { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Photo != null ? (Flags | 1) : (Flags & ~1); } @@ -48,6 +47,7 @@ public override void DeserializeBody(BinaryReader br) Invoice = (TLInvoice)ObjectUtils.DeserializeObject(br); Payload = BytesUtil.Deserialize(br); Provider = StringUtil.Deserialize(br); + ProviderData = (TLDataJSON)ObjectUtils.DeserializeObject(br); StartParam = StringUtil.Deserialize(br); } @@ -55,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Title, bw); StringUtil.Serialize(Description, bw); @@ -64,6 +63,7 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Invoice, bw); BytesUtil.Serialize(Payload, bw); StringUtil.Serialize(Provider, bw); + ObjectUtils.SerializeObject(ProviderData, bw); StringUtil.Serialize(StartParam, bw); } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs b/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs index 4c81fd30..1a93c30e 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-373312269)] + [TLObject(-1279654347)] public class TLInputMediaPhoto : TLAbsInputMedia { public override int Constructor { get { - return -373312269; + return -1279654347; } } + public int Flags { get; set; } public TLAbsInputPhoto Id { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br); - Caption = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); ObjectUtils.SerializeObject(Id, bw); - StringUtil.Serialize(Caption, bw); + if ((Flags & 1) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs b/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs index 14e0e269..d221f1d7 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1252045032)] + [TLObject(-440664550)] public class TLInputMediaPhotoExternal : TLAbsInputMedia { public override int Constructor { get { - return -1252045032; + return -440664550; } } + public int Flags { get; set; } public string Url { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,23 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); Url = StringUtil.Deserialize(br); - Caption = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); StringUtil.Serialize(Url, bw); - StringUtil.Serialize(Caption, bw); + if ((Flags & 1) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPoll.cs b/src/TeleSharp.TL/TL/TLInputMediaPoll.cs new file mode 100644 index 00000000..65271def --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMediaPoll.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(112424539)] + public class TLInputMediaPoll : TLAbsInputMedia + { + public override int Constructor + { + get + { + return 112424539; + } + } + + public TLPoll Poll { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Poll = (TLPoll)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Poll, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs b/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs index a20ac150..c8e19475 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs @@ -7,58 +7,71 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-797904407)] + [TLObject(1530447553)] public class TLInputMediaUploadedDocument : TLAbsInputMedia { public override int Constructor { get { - return -797904407; + return 1530447553; } } public int Flags { get; set; } + public bool NosoundVideo { get; set; } public TLAbsInputFile File { get; set; } + public TLAbsInputFile Thumb { get; set; } public string MimeType { get; set; } public TLVector Attributes { get; set; } - public string Caption { get; set; } public TLVector Stickers { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Stickers != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); + NosoundVideo = (Flags & 8) != 0; File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); + if ((Flags & 4) != 0) + Thumb = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); + else + Thumb = null; + MimeType = StringUtil.Deserialize(br); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - Caption = StringUtil.Deserialize(br); if ((Flags & 1) != 0) Stickers = (TLVector)ObjectUtils.DeserializeVector(br); else Stickers = null; + if ((Flags & 2) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + ObjectUtils.SerializeObject(File, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Thumb, bw); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Attributes, bw); - StringUtil.Serialize(Caption, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Stickers, bw); + if ((Flags & 2) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs b/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs index 0854243e..53b5bbe5 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs @@ -7,27 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1661770481)] + [TLObject(505969924)] public class TLInputMediaUploadedPhoto : TLAbsInputMedia { public override int Constructor { get { - return 1661770481; + return 505969924; } } public int Flags { get; set; } public TLAbsInputFile File { get; set; } - public string Caption { get; set; } public TLVector Stickers { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Stickers != null ? (Flags | 1) : (Flags & ~1); } @@ -35,24 +33,28 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); - Caption = StringUtil.Deserialize(br); if ((Flags & 1) != 0) Stickers = (TLVector)ObjectUtils.DeserializeVector(br); else Stickers = null; + if ((Flags & 2) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(File, bw); - StringUtil.Serialize(Caption, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Stickers, bw); + if ((Flags & 2) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaVenue.cs b/src/TeleSharp.TL/TL/TLInputMediaVenue.cs index c2e024ae..0416acc3 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaVenue.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(673687578)] + [TLObject(-1052959727)] public class TLInputMediaVenue : TLAbsInputMedia { public override int Constructor { get { - return 673687578; + return -1052959727; } } @@ -23,6 +23,7 @@ public override int Constructor public string Address { get; set; } public string Provider { get; set; } public string VenueId { get; set; } + public string VenueType { get; set; } public void ComputeFlags() @@ -37,6 +38,7 @@ public override void DeserializeBody(BinaryReader br) Address = StringUtil.Deserialize(br); Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); + VenueType = StringUtil.Deserialize(br); } @@ -48,6 +50,7 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Address, bw); StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); + StringUtil.Serialize(VenueType, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputMessageID.cs b/src/TeleSharp.TL/TL/TLInputMessageID.cs new file mode 100644 index 00000000..139c4b52 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMessageID.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1502174430)] + public class TLInputMessageID : TLAbsInputMessage + { + public override int Constructor + { + get + { + return -1502174430; + } + } + + public int Id { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMessagePinned.cs b/src/TeleSharp.TL/TL/TLInputMessagePinned.cs new file mode 100644 index 00000000..e2a186eb --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMessagePinned.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2037963464)] + public class TLInputMessagePinned : TLAbsInputMessage + { + public override int Constructor + { + get + { + return -2037963464; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs b/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs new file mode 100644 index 00000000..e430da01 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1160215659)] + public class TLInputMessageReplyTo : TLAbsInputMessage + { + public override int Constructor + { + get + { + return -1160215659; + } + } + + public int Id { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelRoleEditor.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs similarity index 80% rename from src/TeleSharp.TL/TL/TLChannelRoleEditor.cs rename to src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs index 34c9db04..1227480b 100644 --- a/src/TeleSharp.TL/TL/TLChannelRoleEditor.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-2113143156)] - public class TLChannelRoleEditor : TLAbsChannelParticipantRole + [TLObject(-530392189)] + public class TLInputMessagesFilterContacts : TLAbsMessagesFilter { public override int Constructor { get { - return -2113143156; + return -530392189; } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs new file mode 100644 index 00000000..e3da94a3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-419271411)] + public class TLInputMessagesFilterGeo : TLAbsMessagesFilter + { + public override int Constructor + { + get + { + return -419271411; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs new file mode 100644 index 00000000..cf665c12 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1040652646)] + public class TLInputMessagesFilterMyMentions : TLAbsMessagesFilter + { + public override int Constructor + { + get + { + return -1040652646; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs index 891851b9..a2d965cc 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs @@ -24,8 +24,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Missed ? (Flags | 1) : (Flags & ~1); } @@ -39,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideoDocuments.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideoDocuments.cs deleted file mode 100644 index 5b1c2620..00000000 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideoDocuments.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-648121413)] - public class TLInputMessagesFilterPhotoVideoDocuments : TLAbsMessagesFilter - { - public override int Constructor - { - get - { - return -648121413; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLInputNotifyAll.cs b/src/TeleSharp.TL/TL/TLInputNotifyAll.cs deleted file mode 100644 index d8651fa0..00000000 --- a/src/TeleSharp.TL/TL/TLInputNotifyAll.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-1540769658)] - public class TLInputNotifyAll : TLAbsInputNotifyPeer - { - public override int Constructor - { - get - { - return -1540769658; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs b/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs new file mode 100644 index 00000000..06c5f957 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1311015810)] + public class TLInputNotifyBroadcasts : TLAbsInputNotifyPeer + { + public override int Constructor + { + get + { + return -1311015810; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs index 18e4cf8a..48c4ce41 100644 --- a/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Save ? (Flags | 1) : (Flags & ~1); } @@ -41,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Data, bw); diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs new file mode 100644 index 00000000..4c352881 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-905587442)] + public class TLInputPaymentCredentialsAndroidPay : TLAbsInputPaymentCredentials + { + public override int Constructor + { + get + { + return -905587442; + } + } + + public TLDataJSON PaymentToken { get; set; } + public string GoogleTransactionId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PaymentToken = (TLDataJSON)ObjectUtils.DeserializeObject(br); + GoogleTransactionId = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PaymentToken, bw); + StringUtil.Serialize(GoogleTransactionId, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs new file mode 100644 index 00000000..f3372b90 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(178373535)] + public class TLInputPaymentCredentialsApplePay : TLAbsInputPaymentCredentials + { + public override int Constructor + { + get + { + return 178373535; + } + } + + public TLDataJSON PaymentData { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + PaymentData = (TLDataJSON)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(PaymentData, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs b/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs new file mode 100644 index 00000000..2ac2367a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1667893317)] + public class TLInputPeerChannelFromMessage : TLAbsInputPeer + { + public override int Constructor + { + get + { + return -1667893317; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public int ChannelId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + ChannelId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + bw.Write(ChannelId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsAll.cs b/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsAll.cs deleted file mode 100644 index 35df4ed1..00000000 --- a/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsAll.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-395694988)] - public class TLInputPeerNotifyEventsAll : TLAbsInputPeerNotifyEvents - { - public override int Constructor - { - get - { - return -395694988; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsEmpty.cs b/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsEmpty.cs deleted file mode 100644 index f913a8a5..00000000 --- a/src/TeleSharp.TL/TL/TLInputPeerNotifyEventsEmpty.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-265263912)] - public class TLInputPeerNotifyEventsEmpty : TLAbsInputPeerNotifyEvents - { - public override int Constructor - { - get - { - return -265263912; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs b/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs index 4e580b79..87c34fb5 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs @@ -7,51 +7,67 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(949182130)] + [TLObject(-1673717362)] public class TLInputPeerNotifySettings : TLObject { public override int Constructor { get { - return 949182130; + return -1673717362; } } public int Flags { get; set; } - public bool ShowPreviews { get; set; } - public bool Silent { get; set; } - public int MuteUntil { get; set; } + public bool? ShowPreviews { get; set; } + public bool? Silent { get; set; } + public int? MuteUntil { get; set; } public string Sound { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ShowPreviews ? (Flags | 1) : (Flags & ~1); - Flags = Silent ? (Flags | 2) : (Flags & ~2); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - ShowPreviews = (Flags & 1) != 0; - Silent = (Flags & 2) != 0; - MuteUntil = br.ReadInt32(); - Sound = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + ShowPreviews = BoolUtil.Deserialize(br); + else + ShowPreviews = null; + + if ((Flags & 2) != 0) + Silent = BoolUtil.Deserialize(br); + else + Silent = null; + + if ((Flags & 4) != 0) + MuteUntil = br.ReadInt32(); + else + MuteUntil = null; + + if ((Flags & 8) != 0) + Sound = StringUtil.Deserialize(br); + else + Sound = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - - - bw.Write(MuteUntil); - StringUtil.Serialize(Sound, bw); + if ((Flags & 1) != 0) + BoolUtil.Serialize(ShowPreviews.Value, bw); + if ((Flags & 2) != 0) + BoolUtil.Serialize(Silent.Value, bw); + if ((Flags & 4) != 0) + bw.Write(MuteUntil.Value); + if ((Flags & 8) != 0) + StringUtil.Serialize(Sound, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs new file mode 100644 index 00000000..0be623ad --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(668375447)] + public class TLInputPeerPhotoFileLocation : TLAbsInputFileLocation + { + public override int Constructor + { + get + { + return 668375447; + } + } + + public int Flags { get; set; } + public bool Big { get; set; } + public TLAbsInputPeer Peer { get; set; } + public long VolumeId { get; set; } + public int LocalId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Big = (Flags & 1) != 0; + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + VolumeId = br.ReadInt64(); + LocalId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(VolumeId); + bw.Write(LocalId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs b/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs new file mode 100644 index 00000000..963ef0ec --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(398123750)] + public class TLInputPeerUserFromMessage : TLAbsInputPeer + { + public override int Constructor + { + get + { + return 398123750; + } + } + + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } + public int UserId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + UserId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + bw.Write(UserId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPhoto.cs b/src/TeleSharp.TL/TL/TLInputPhoto.cs index 906a6b9d..883ae68c 100644 --- a/src/TeleSharp.TL/TL/TLInputPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputPhoto.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-74070332)] + [TLObject(1001634122)] public class TLInputPhoto : TLAbsInputPhoto { public override int Constructor { get { - return -74070332; + return 1001634122; } } public long Id { get; set; } public long AccessHash { get; set; } + public byte[] FileReference { get; set; } public void ComputeFlags() @@ -31,6 +32,7 @@ public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); } @@ -39,6 +41,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); } } diff --git a/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs new file mode 100644 index 00000000..d5070e0d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1075322878)] + public class TLInputPhotoFileLocation : TLAbsInputFileLocation + { + public override int Constructor + { + get + { + return 1075322878; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + public byte[] FileReference { get; set; } + public string ThumbSize { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); + ThumbSize = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); + StringUtil.Serialize(ThumbSize, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs new file mode 100644 index 00000000..3f5bfd66 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-667654413)] + public class TLInputPhotoLegacyFileLocation : TLAbsInputFileLocation + { + public override int Constructor + { + get + { + return -667654413; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + public byte[] FileReference { get; set; } + public long VolumeId { get; set; } + public int LocalId { get; set; } + public long Secret { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); + VolumeId = br.ReadInt64(); + LocalId = br.ReadInt32(); + Secret = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); + bw.Write(VolumeId); + bw.Write(LocalId); + bw.Write(Secret); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs new file mode 100644 index 00000000..c6bda09c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-786326563)] + public class TLInputPrivacyKeyAddedByPhone : TLAbsInputPrivacyKey + { + public override int Constructor + { + get + { + return -786326563; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs new file mode 100644 index 00000000..467b14ec --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1529000952)] + public class TLInputPrivacyKeyForwards : TLAbsInputPrivacyKey + { + public override int Constructor + { + get + { + return -1529000952; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs new file mode 100644 index 00000000..8dbae0d6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(55761658)] + public class TLInputPrivacyKeyPhoneNumber : TLAbsInputPrivacyKey + { + public override int Constructor + { + get + { + return 55761658; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs new file mode 100644 index 00000000..f26e5d8c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-610373422)] + public class TLInputPrivacyKeyPhoneP2P : TLAbsInputPrivacyKey + { + public override int Constructor + { + get + { + return -610373422; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs new file mode 100644 index 00000000..1a9b1030 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1461304012)] + public class TLInputPrivacyKeyProfilePhoto : TLAbsInputPrivacyKey + { + public override int Constructor + { + get + { + return 1461304012; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs new file mode 100644 index 00000000..ac20cdc1 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1283572154)] + public class TLInputPrivacyValueAllowChatParticipants : TLAbsInputPrivacyRule + { + public override int Constructor + { + get + { + return 1283572154; + } + } + + public TLVector Chats { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Chats, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs new file mode 100644 index 00000000..20f2a366 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-668769361)] + public class TLInputPrivacyValueDisallowChatParticipants : TLAbsInputPrivacyRule + { + public override int Constructor + { + get + { + return -668769361; + } + } + + public TLVector Chats { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Chats, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs b/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs new file mode 100644 index 00000000..c1ede1f9 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1376497949)] + public class TLInputReportReasonChildAbuse : TLAbsReportReason + { + public override int Constructor + { + get + { + return -1376497949; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs b/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs new file mode 100644 index 00000000..cbd269dd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1685456582)] + public class TLInputReportReasonCopyright : TLAbsReportReason + { + public override int Constructor + { + get + { + return -1685456582; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs b/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs new file mode 100644 index 00000000..a00c0d41 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-606798099)] + public class TLInputReportReasonGeoIrrelevant : TLAbsReportReason + { + public override int Constructor + { + get + { + return -606798099; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputSecureFile.cs b/src/TeleSharp.TL/TL/TLInputSecureFile.cs new file mode 100644 index 00000000..6aaa49d3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputSecureFile.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1399317950)] + public class TLInputSecureFile : TLAbsInputSecureFile + { + public override int Constructor + { + get + { + return 1399317950; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs b/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs new file mode 100644 index 00000000..21ff70a1 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-876089816)] + public class TLInputSecureFileLocation : TLAbsInputFileLocation + { + public override int Constructor + { + get + { + return -876089816; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs b/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs new file mode 100644 index 00000000..27b5b200 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(859091184)] + public class TLInputSecureFileUploaded : TLAbsInputSecureFile + { + public override int Constructor + { + get + { + return 859091184; + } + } + + public long Id { get; set; } + public int Parts { get; set; } + public string Md5Checksum { get; set; } + public byte[] FileHash { get; set; } + public byte[] Secret { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + Parts = br.ReadInt32(); + Md5Checksum = StringUtil.Deserialize(br); + FileHash = BytesUtil.Deserialize(br); + Secret = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(Parts); + StringUtil.Serialize(Md5Checksum, bw); + BytesUtil.Serialize(FileHash, bw); + BytesUtil.Serialize(Secret, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputSecureValue.cs b/src/TeleSharp.TL/TL/TLInputSecureValue.cs new file mode 100644 index 00000000..376be96b --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputSecureValue.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-618540889)] + public class TLInputSecureValue : TLObject + { + public override int Constructor + { + get + { + return -618540889; + } + } + + public int Flags { get; set; } + public TLAbsSecureValueType Type { get; set; } + public TLSecureData Data { get; set; } + public TLAbsInputSecureFile FrontSide { get; set; } + public TLAbsInputSecureFile ReverseSide { get; set; } + public TLAbsInputSecureFile Selfie { get; set; } + public TLVector Translation { get; set; } + public TLVector Files { get; set; } + public TLAbsSecurePlainData PlainData { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + Data = (TLSecureData)ObjectUtils.DeserializeObject(br); + else + Data = null; + + if ((Flags & 2) != 0) + FrontSide = (TLAbsInputSecureFile)ObjectUtils.DeserializeObject(br); + else + FrontSide = null; + + if ((Flags & 4) != 0) + ReverseSide = (TLAbsInputSecureFile)ObjectUtils.DeserializeObject(br); + else + ReverseSide = null; + + if ((Flags & 8) != 0) + Selfie = (TLAbsInputSecureFile)ObjectUtils.DeserializeObject(br); + else + Selfie = null; + + if ((Flags & 64) != 0) + Translation = (TLVector)ObjectUtils.DeserializeVector(br); + else + Translation = null; + + if ((Flags & 16) != 0) + Files = (TLVector)ObjectUtils.DeserializeVector(br); + else + Files = null; + + if ((Flags & 32) != 0) + PlainData = (TLAbsSecurePlainData)ObjectUtils.DeserializeObject(br); + else + PlainData = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Type, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Data, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(FrontSide, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(ReverseSide, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Selfie, bw); + if ((Flags & 64) != 0) + ObjectUtils.SerializeObject(Translation, bw); + if ((Flags & 16) != 0) + ObjectUtils.SerializeObject(Files, bw); + if ((Flags & 32) != 0) + ObjectUtils.SerializeObject(PlainData, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputSingleMedia.cs b/src/TeleSharp.TL/TL/TLInputSingleMedia.cs new file mode 100644 index 00000000..b5c3a969 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputSingleMedia.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(482797855)] + public class TLInputSingleMedia : TLObject + { + public override int Constructor + { + get + { + return 482797855; + } + } + + public int Flags { get; set; } + public TLAbsInputMedia Media { get; set; } + public long RandomId { get; set; } + public string Message { get; set; } + public TLVector Entities { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br); + RandomId = br.ReadInt64(); + Message = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + Entities = (TLVector)ObjectUtils.DeserializeVector(br); + else + Entities = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Media, bw); + bw.Write(RandomId); + StringUtil.Serialize(Message, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Entities, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs b/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs new file mode 100644 index 00000000..1c94b013 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(42402760)] + public class TLInputStickerSetAnimatedEmoji : TLAbsInputStickerSet + { + public override int Constructor + { + get + { + return 42402760; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs b/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs index 80d212f1..0e34eddc 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs @@ -26,8 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = MaskCoords != null ? (Flags | 1) : (Flags & ~1); } @@ -47,7 +45,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Document, bw); StringUtil.Serialize(Emoji, bw); diff --git a/src/TeleSharp.TL/TL/TLFileLocation.cs b/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs similarity index 70% rename from src/TeleSharp.TL/TL/TLFileLocation.cs rename to src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs index bea3dbda..6ec25291 100644 --- a/src/TeleSharp.TL/TL/TLFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs @@ -7,21 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1406570614)] - public class TLFileLocation : TLAbsFileLocation + [TLObject(230353641)] + public class TLInputStickerSetThumb : TLAbsInputFileLocation { public override int Constructor { get { - return 1406570614; + return 230353641; } } - public int DcId { get; set; } + public TLAbsInputStickerSet Stickerset { get; set; } public long VolumeId { get; set; } public int LocalId { get; set; } - public long Secret { get; set; } public void ComputeFlags() @@ -31,20 +30,18 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - DcId = br.ReadInt32(); + Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); - Secret = br.ReadInt64(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - bw.Write(DcId); + ObjectUtils.SerializeObject(Stickerset, bw); bw.Write(VolumeId); bw.Write(LocalId); - bw.Write(Secret); } } diff --git a/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs b/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs new file mode 100644 index 00000000..9fad4575 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(700340377)] + public class TLInputTakeoutFileLocation : TLAbsInputFileLocation + { + public override int Constructor + { + get + { + return 700340377; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputTheme.cs b/src/TeleSharp.TL/TL/TLInputTheme.cs new file mode 100644 index 00000000..2c0908b6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputTheme.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1012306921)] + public class TLInputTheme : TLAbsInputTheme + { + public override int Constructor + { + get + { + return 1012306921; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputThemeSettings.cs b/src/TeleSharp.TL/TL/TLInputThemeSettings.cs new file mode 100644 index 00000000..5264ba93 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputThemeSettings.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1118798639)] + public class TLInputThemeSettings : TLObject + { + public override int Constructor + { + get + { + return -1118798639; + } + } + + public int Flags { get; set; } + public TLAbsBaseTheme BaseTheme { get; set; } + public int AccentColor { get; set; } + public int? MessageTopColor { get; set; } + public int? MessageBottomColor { get; set; } + public TLAbsInputWallPaper Wallpaper { get; set; } + public TLWallPaperSettings WallpaperSettings { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + BaseTheme = (TLAbsBaseTheme)ObjectUtils.DeserializeObject(br); + AccentColor = br.ReadInt32(); + if ((Flags & 1) != 0) + MessageTopColor = br.ReadInt32(); + else + MessageTopColor = null; + + if ((Flags & 1) != 0) + MessageBottomColor = br.ReadInt32(); + else + MessageBottomColor = null; + + if ((Flags & 2) != 0) + Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); + else + Wallpaper = null; + + if ((Flags & 2) != 0) + WallpaperSettings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + else + WallpaperSettings = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(BaseTheme, bw); + bw.Write(AccentColor); + if ((Flags & 1) != 0) + bw.Write(MessageTopColor.Value); + if ((Flags & 1) != 0) + bw.Write(MessageBottomColor.Value); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Wallpaper, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(WallpaperSettings, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputThemeSlug.cs b/src/TeleSharp.TL/TL/TLInputThemeSlug.cs new file mode 100644 index 00000000..ba247aad --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputThemeSlug.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-175567375)] + public class TLInputThemeSlug : TLAbsInputTheme + { + public override int Constructor + { + get + { + return -175567375; + } + } + + public string Slug { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Slug = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Slug, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantModerator.cs b/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs similarity index 62% rename from src/TeleSharp.TL/TL/TLChannelParticipantModerator.cs rename to src/TeleSharp.TL/TL/TLInputUserFromMessage.cs index 61b4dfc7..bea03466 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantModerator.cs +++ b/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs @@ -7,20 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1861910545)] - public class TLChannelParticipantModerator : TLAbsChannelParticipant + [TLObject(756118935)] + public class TLInputUserFromMessage : TLAbsInputUser { public override int Constructor { get { - return -1861910545; + return 756118935; } } + public TLAbsInputPeer Peer { get; set; } + public int MsgId { get; set; } public int UserId { get; set; } - public int InviterId { get; set; } - public int Date { get; set; } public void ComputeFlags() @@ -30,18 +30,18 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); UserId = br.ReadInt32(); - InviterId = br.ReadInt32(); - Date = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); bw.Write(UserId); - bw.Write(InviterId); - bw.Write(Date); } } diff --git a/src/TeleSharp.TL/TL/TLInputWallPaper.cs b/src/TeleSharp.TL/TL/TLInputWallPaper.cs new file mode 100644 index 00000000..9d4b2022 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputWallPaper.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-433014407)] + public class TLInputWallPaper : TLAbsInputWallPaper + { + public override int Constructor + { + get + { + return -433014407; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs b/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs new file mode 100644 index 00000000..b6227510 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2077770836)] + public class TLInputWallPaperNoFile : TLAbsInputWallPaper + { + public override int Constructor + { + get + { + return -2077770836; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs b/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs new file mode 100644 index 00000000..5de70238 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1913199744)] + public class TLInputWallPaperSlug : TLAbsInputWallPaper + { + public override int Constructor + { + get + { + return 1913199744; + } + } + + public string Slug { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Slug = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Slug, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs b/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs new file mode 100644 index 00000000..3f0bd792 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1625153079)] + public class TLInputWebFileGeoPointLocation : TLAbsInputWebFileLocation + { + public override int Constructor + { + get + { + return -1625153079; + } + } + + public TLAbsInputGeoPoint GeoPoint { get; set; } + public long AccessHash { get; set; } + public int W { get; set; } + public int H { get; set; } + public int Zoom { get; set; } + public int Scale { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); + AccessHash = br.ReadInt64(); + W = br.ReadInt32(); + H = br.ReadInt32(); + Zoom = br.ReadInt32(); + Scale = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(GeoPoint, bw); + bw.Write(AccessHash); + bw.Write(W); + bw.Write(H); + bw.Write(Zoom); + bw.Write(Scale); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs b/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs index bc70cde0..4a9075c0 100644 --- a/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs @@ -8,7 +8,7 @@ namespace TeleSharp.TL { [TLObject(-1036396922)] - public class TLInputWebFileLocation : TLObject + public class TLInputWebFileLocation : TLAbsInputWebFileLocation { public override int Constructor { diff --git a/src/TeleSharp.TL/TL/TLInvoice.cs b/src/TeleSharp.TL/TL/TLInvoice.cs index b12a2f59..a21fa43b 100644 --- a/src/TeleSharp.TL/TL/TLInvoice.cs +++ b/src/TeleSharp.TL/TL/TLInvoice.cs @@ -25,19 +25,14 @@ public override int Constructor public bool EmailRequested { get; set; } public bool ShippingAddressRequested { get; set; } public bool Flexible { get; set; } + public bool PhoneToProvider { get; set; } + public bool EmailToProvider { get; set; } public string Currency { get; set; } public TLVector Prices { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Test ? (Flags | 1) : (Flags & ~1); - Flags = NameRequested ? (Flags | 2) : (Flags & ~2); - Flags = PhoneRequested ? (Flags | 4) : (Flags & ~4); - Flags = EmailRequested ? (Flags | 8) : (Flags & ~8); - Flags = ShippingAddressRequested ? (Flags | 16) : (Flags & ~16); - Flags = Flexible ? (Flags | 32) : (Flags & ~32); } @@ -50,6 +45,8 @@ public override void DeserializeBody(BinaryReader br) EmailRequested = (Flags & 8) != 0; ShippingAddressRequested = (Flags & 16) != 0; Flexible = (Flags & 32) != 0; + PhoneToProvider = (Flags & 64) != 0; + EmailToProvider = (Flags & 128) != 0; Currency = StringUtil.Deserialize(br); Prices = (TLVector)ObjectUtils.DeserializeVector(br); @@ -58,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -66,6 +62,8 @@ public override void SerializeBody(BinaryWriter bw) + + StringUtil.Serialize(Currency, bw); ObjectUtils.SerializeObject(Prices, bw); diff --git a/src/TeleSharp.TL/TL/TLJsonArray.cs b/src/TeleSharp.TL/TL/TLJsonArray.cs new file mode 100644 index 00000000..db325b90 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonArray.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-146520221)] + public class TLJsonArray : TLAbsJSONValue + { + public override int Constructor + { + get + { + return -146520221; + } + } + + public TLVector Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonBool.cs b/src/TeleSharp.TL/TL/TLJsonBool.cs new file mode 100644 index 00000000..04ed273a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonBool.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-952869270)] + public class TLJsonBool : TLAbsJSONValue + { + public override int Constructor + { + get + { + return -952869270; + } + } + + public bool Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = BoolUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BoolUtil.Serialize(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonNull.cs b/src/TeleSharp.TL/TL/TLJsonNull.cs new file mode 100644 index 00000000..846506cf --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonNull.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1064139624)] + public class TLJsonNull : TLAbsJSONValue + { + public override int Constructor + { + get + { + return 1064139624; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonNumber.cs b/src/TeleSharp.TL/TL/TLJsonNumber.cs new file mode 100644 index 00000000..a26625ca --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonNumber.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(736157604)] + public class TLJsonNumber : TLAbsJSONValue + { + public override int Constructor + { + get + { + return 736157604; + } + } + + public double Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = br.ReadDouble(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonObject.cs b/src/TeleSharp.TL/TL/TLJsonObject.cs new file mode 100644 index 00000000..34e0a397 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonObject.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1715350371)] + public class TLJsonObject : TLAbsJSONValue + { + public override int Constructor + { + get + { + return -1715350371; + } + } + + public TLVector Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonObjectValue.cs b/src/TeleSharp.TL/TL/TLJsonObjectValue.cs new file mode 100644 index 00000000..0fa0b148 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonObjectValue.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1059185703)] + public class TLJsonObjectValue : TLObject + { + public override int Constructor + { + get + { + return -1059185703; + } + } + + public string Key { get; set; } + public TLAbsJSONValue Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Key = StringUtil.Deserialize(br); + Value = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Key, bw); + ObjectUtils.SerializeObject(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLJsonString.cs b/src/TeleSharp.TL/TL/TLJsonString.cs new file mode 100644 index 00000000..1f75ce75 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLJsonString.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1222740358)] + public class TLJsonString : TLAbsJSONValue + { + public override int Constructor + { + get + { + return -1222740358; + } + } + + public string Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Value = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs index ba06ddbd..62417ee0 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs @@ -26,8 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = SamePeer ? (Flags | 1) : (Flags & ~1); } @@ -43,7 +41,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Text, bw); diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs new file mode 100644 index 00000000..f2f94b4f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(280464681)] + public class TLKeyboardButtonUrlAuth : TLAbsKeyboardButton + { + public override int Constructor + { + get + { + return 280464681; + } + } + + public int Flags { get; set; } + public string Text { get; set; } + public string FwdText { get; set; } + public string Url { get; set; } + public int ButtonId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Text = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + FwdText = StringUtil.Deserialize(br); + else + FwdText = null; + + Url = StringUtil.Deserialize(br); + ButtonId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + StringUtil.Serialize(Text, bw); + if ((Flags & 1) != 0) + StringUtil.Serialize(FwdText, bw); + StringUtil.Serialize(Url, bw); + bw.Write(ButtonId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLLangPackDifference.cs b/src/TeleSharp.TL/TL/TLLangPackDifference.cs new file mode 100644 index 00000000..65355b2d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLLangPackDifference.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-209337866)] + public class TLLangPackDifference : TLObject + { + public override int Constructor + { + get + { + return -209337866; + } + } + + public string LangCode { get; set; } + public int FromVersion { get; set; } + public int Version { get; set; } + public TLVector Strings { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + FromVersion = br.ReadInt32(); + Version = br.ReadInt32(); + Strings = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + bw.Write(FromVersion); + bw.Write(Version); + ObjectUtils.SerializeObject(Strings, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLLangPackLanguage.cs b/src/TeleSharp.TL/TL/TLLangPackLanguage.cs new file mode 100644 index 00000000..59536f8c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLLangPackLanguage.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-288727837)] + public class TLLangPackLanguage : TLObject + { + public override int Constructor + { + get + { + return -288727837; + } + } + + public int Flags { get; set; } + public bool Official { get; set; } + public bool Rtl { get; set; } + public bool Beta { get; set; } + public string Name { get; set; } + public string NativeName { get; set; } + public string LangCode { get; set; } + public string BaseLangCode { get; set; } + public string PluralCode { get; set; } + public int StringsCount { get; set; } + public int TranslatedCount { get; set; } + public string TranslationsUrl { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Official = (Flags & 1) != 0; + Rtl = (Flags & 4) != 0; + Beta = (Flags & 8) != 0; + Name = StringUtil.Deserialize(br); + NativeName = StringUtil.Deserialize(br); + LangCode = StringUtil.Deserialize(br); + if ((Flags & 2) != 0) + BaseLangCode = StringUtil.Deserialize(br); + else + BaseLangCode = null; + + PluralCode = StringUtil.Deserialize(br); + StringsCount = br.ReadInt32(); + TranslatedCount = br.ReadInt32(); + TranslationsUrl = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + StringUtil.Serialize(Name, bw); + StringUtil.Serialize(NativeName, bw); + StringUtil.Serialize(LangCode, bw); + if ((Flags & 2) != 0) + StringUtil.Serialize(BaseLangCode, bw); + StringUtil.Serialize(PluralCode, bw); + bw.Write(StringsCount); + bw.Write(TranslatedCount); + StringUtil.Serialize(TranslationsUrl, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLLangPackString.cs b/src/TeleSharp.TL/TL/TLLangPackString.cs new file mode 100644 index 00000000..bd01a2a6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLLangPackString.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-892239370)] + public class TLLangPackString : TLAbsLangPackString + { + public override int Constructor + { + get + { + return -892239370; + } + } + + public string Key { get; set; } + public string Value { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Key = StringUtil.Deserialize(br); + Value = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Key, bw); + StringUtil.Serialize(Value, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs b/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs new file mode 100644 index 00000000..c9db00fd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(695856818)] + public class TLLangPackStringDeleted : TLAbsLangPackString + { + public override int Constructor + { + get + { + return 695856818; + } + } + + public string Key { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Key = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Key, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs b/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs new file mode 100644 index 00000000..eefb4c8c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs @@ -0,0 +1,88 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1816636575)] + public class TLLangPackStringPluralized : TLAbsLangPackString + { + public override int Constructor + { + get + { + return 1816636575; + } + } + + public int Flags { get; set; } + public string Key { get; set; } + public string ZeroValue { get; set; } + public string OneValue { get; set; } + public string TwoValue { get; set; } + public string FewValue { get; set; } + public string ManyValue { get; set; } + public string OtherValue { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Key = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + ZeroValue = StringUtil.Deserialize(br); + else + ZeroValue = null; + + if ((Flags & 2) != 0) + OneValue = StringUtil.Deserialize(br); + else + OneValue = null; + + if ((Flags & 4) != 0) + TwoValue = StringUtil.Deserialize(br); + else + TwoValue = null; + + if ((Flags & 8) != 0) + FewValue = StringUtil.Deserialize(br); + else + FewValue = null; + + if ((Flags & 16) != 0) + ManyValue = StringUtil.Deserialize(br); + else + ManyValue = null; + + OtherValue = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + StringUtil.Serialize(Key, bw); + if ((Flags & 1) != 0) + StringUtil.Serialize(ZeroValue, bw); + if ((Flags & 2) != 0) + StringUtil.Serialize(OneValue, bw); + if ((Flags & 4) != 0) + StringUtil.Serialize(TwoValue, bw); + if ((Flags & 8) != 0) + StringUtil.Serialize(FewValue, bw); + if ((Flags & 16) != 0) + StringUtil.Serialize(ManyValue, bw); + StringUtil.Serialize(OtherValue, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessage.cs b/src/TeleSharp.TL/TL/TLMessage.cs index dd3388e6..e92a428b 100644 --- a/src/TeleSharp.TL/TL/TLMessage.cs +++ b/src/TeleSharp.TL/TL/TLMessage.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1063525281)] + [TLObject(1160515173)] public class TLMessage : TLAbsMessage { public override int Constructor { get { - return -1063525281; + return 1160515173; } } @@ -24,6 +24,9 @@ public override int Constructor public bool MediaUnread { get; set; } public bool Silent { get; set; } public bool Post { get; set; } + public bool FromScheduled { get; set; } + public bool Legacy { get; set; } + public bool EditHide { get; set; } public int Id { get; set; } public int? FromId { get; set; } public TLAbsPeer ToId { get; set; } @@ -37,25 +40,13 @@ public override int Constructor public TLVector Entities { get; set; } public int? Views { get; set; } public int? EditDate { get; set; } + public string PostAuthor { get; set; } + public long? GroupedId { get; set; } + public TLVector RestrictionReason { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Out ? (Flags | 2) : (Flags & ~2); - Flags = Mentioned ? (Flags | 16) : (Flags & ~16); - Flags = MediaUnread ? (Flags | 32) : (Flags & ~32); - Flags = Silent ? (Flags | 8192) : (Flags & ~8192); - Flags = Post ? (Flags | 16384) : (Flags & ~16384); - Flags = FromId != null ? (Flags | 256) : (Flags & ~256); - Flags = FwdFrom != null ? (Flags | 4) : (Flags & ~4); - Flags = ViaBotId != null ? (Flags | 2048) : (Flags & ~2048); - Flags = ReplyToMsgId != null ? (Flags | 8) : (Flags & ~8); - Flags = Media != null ? (Flags | 512) : (Flags & ~512); - Flags = ReplyMarkup != null ? (Flags | 64) : (Flags & ~64); - Flags = Entities != null ? (Flags | 128) : (Flags & ~128); - Flags = Views != null ? (Flags | 1024) : (Flags & ~1024); - Flags = EditDate != null ? (Flags | 32768) : (Flags & ~32768); } @@ -67,6 +58,9 @@ public override void DeserializeBody(BinaryReader br) MediaUnread = (Flags & 32) != 0; Silent = (Flags & 8192) != 0; Post = (Flags & 16384) != 0; + FromScheduled = (Flags & 262144) != 0; + Legacy = (Flags & 524288) != 0; + EditHide = (Flags & 2097152) != 0; Id = br.ReadInt32(); if ((Flags & 256) != 0) FromId = br.ReadInt32(); @@ -116,19 +110,36 @@ public override void DeserializeBody(BinaryReader br) else EditDate = null; + if ((Flags & 65536) != 0) + PostAuthor = StringUtil.Deserialize(br); + else + PostAuthor = null; + + if ((Flags & 131072) != 0) + GroupedId = br.ReadInt64(); + else + GroupedId = null; + + if ((Flags & 4194304) != 0) + RestrictionReason = (TLVector)ObjectUtils.DeserializeVector(br); + else + RestrictionReason = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + + bw.Write(Id); if ((Flags & 256) != 0) bw.Write(FromId.Value); @@ -151,6 +162,12 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Views.Value); if ((Flags & 32768) != 0) bw.Write(EditDate.Value); + if ((Flags & 65536) != 0) + StringUtil.Serialize(PostAuthor, bw); + if ((Flags & 131072) != 0) + bw.Write(GroupedId.Value); + if ((Flags & 4194304) != 0) + ObjectUtils.SerializeObject(RestrictionReason, bw); } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs b/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs new file mode 100644 index 00000000..002a0864 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1410748418)] + public class TLMessageActionBotAllowed : TLAbsMessageAction + { + public override int Constructor + { + get + { + return -1410748418; + } + } + + public string Domain { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Domain = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Domain, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs b/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs new file mode 100644 index 00000000..5c50ea58 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-202219658)] + public class TLMessageActionContactSignUp : TLAbsMessageAction + { + public override int Constructor + { + get + { + return -202219658; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs b/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs new file mode 100644 index 00000000..729554bb --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-85549226)] + public class TLMessageActionCustomAction : TLAbsMessageAction + { + public override int Constructor + { + get + { + return -85549226; + } + } + + public string Message { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Message, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs b/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs index 229cb133..69410cd0 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs @@ -29,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Info != null ? (Flags | 1) : (Flags & ~1); - Flags = ShippingOptionId != null ? (Flags | 2) : (Flags & ~2); } @@ -58,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); StringUtil.Serialize(Currency, bw); bw.Write(TotalAmount); diff --git a/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs b/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs index 53528695..e6d9ce2b 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs @@ -19,6 +19,7 @@ public override int Constructor } public int Flags { get; set; } + public bool Video { get; set; } public long CallId { get; set; } public TLAbsPhoneCallDiscardReason Reason { get; set; } public int? Duration { get; set; } @@ -26,15 +27,13 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Reason != null ? (Flags | 1) : (Flags & ~1); - Flags = Duration != null ? (Flags | 2) : (Flags & ~2); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); + Video = (Flags & 4) != 0; CallId = br.ReadInt64(); if ((Flags & 1) != 0) Reason = (TLAbsPhoneCallDiscardReason)ObjectUtils.DeserializeObject(br); @@ -52,8 +51,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(CallId); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Reason, bw); diff --git a/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs b/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs new file mode 100644 index 00000000..b010aabd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1200788123)] + public class TLMessageActionScreenshotTaken : TLAbsMessageAction + { + public override int Constructor + { + get + { + return 1200788123; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs new file mode 100644 index 00000000..5b818dd6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-648257196)] + public class TLMessageActionSecureValuesSent : TLAbsMessageAction + { + public override int Constructor + { + get + { + return -648257196; + } + } + + public TLVector Types { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Types = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Types, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs new file mode 100644 index 00000000..50bff157 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(455635795)] + public class TLMessageActionSecureValuesSentMe : TLAbsMessageAction + { + public override int Constructor + { + get + { + return 455635795; + } + } + + public TLVector Values { get; set; } + public TLSecureCredentialsEncrypted Credentials { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Values = (TLVector)ObjectUtils.DeserializeVector(br); + Credentials = (TLSecureCredentialsEncrypted)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Values, bw); + ObjectUtils.SerializeObject(Credentials, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs b/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs new file mode 100644 index 00000000..0b28c5e8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(34469328)] + public class TLMessageEntityBlockquote : TLAbsMessageEntity + { + public override int Constructor + { + get + { + return 34469328; + } + } + + public int Offset { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs b/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs new file mode 100644 index 00000000..457f2026 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1280209983)] + public class TLMessageEntityCashtag : TLAbsMessageEntity + { + public override int Constructor + { + get + { + return 1280209983; + } + } + + public int Offset { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs b/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs new file mode 100644 index 00000000..ceb33bb3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1687559349)] + public class TLMessageEntityPhone : TLAbsMessageEntity + { + public override int Constructor + { + get + { + return -1687559349; + } + } + + public int Offset { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs b/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs new file mode 100644 index 00000000..850d0688 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1090087980)] + public class TLMessageEntityStrike : TLAbsMessageEntity + { + public override int Constructor + { + get + { + return -1090087980; + } + } + + public int Offset { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs b/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs new file mode 100644 index 00000000..35297b09 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1672577397)] + public class TLMessageEntityUnderline : TLAbsMessageEntity + { + public override int Constructor + { + get + { + return -1672577397; + } + } + + public int Offset { get; set; } + public int Length { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Offset = br.ReadInt32(); + Length = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Offset); + bw.Write(Length); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs b/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs index 622bd0c6..5326f06d 100644 --- a/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs +++ b/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs @@ -7,30 +7,30 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-947462709)] + [TLObject(-332168592)] public class TLMessageFwdHeader : TLObject { public override int Constructor { get { - return -947462709; + return -332168592; } } public int Flags { get; set; } public int? FromId { get; set; } + public string FromName { get; set; } public int Date { get; set; } public int? ChannelId { get; set; } public int? ChannelPost { get; set; } + public string PostAuthor { get; set; } + public TLAbsPeer SavedFromPeer { get; set; } + public int? SavedFromMsgId { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = FromId != null ? (Flags | 1) : (Flags & ~1); - Flags = ChannelId != null ? (Flags | 2) : (Flags & ~2); - Flags = ChannelPost != null ? (Flags | 4) : (Flags & ~4); } @@ -42,6 +42,11 @@ public override void DeserializeBody(BinaryReader br) else FromId = null; + if ((Flags & 32) != 0) + FromName = StringUtil.Deserialize(br); + else + FromName = null; + Date = br.ReadInt32(); if ((Flags & 2) != 0) ChannelId = br.ReadInt32(); @@ -53,21 +58,43 @@ public override void DeserializeBody(BinaryReader br) else ChannelPost = null; + if ((Flags & 8) != 0) + PostAuthor = StringUtil.Deserialize(br); + else + PostAuthor = null; + + if ((Flags & 16) != 0) + SavedFromPeer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + else + SavedFromPeer = null; + + if ((Flags & 16) != 0) + SavedFromMsgId = br.ReadInt32(); + else + SavedFromMsgId = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) bw.Write(FromId.Value); + if ((Flags & 32) != 0) + StringUtil.Serialize(FromName, bw); bw.Write(Date); if ((Flags & 2) != 0) bw.Write(ChannelId.Value); if ((Flags & 4) != 0) bw.Write(ChannelPost.Value); + if ((Flags & 8) != 0) + StringUtil.Serialize(PostAuthor, bw); + if ((Flags & 16) != 0) + ObjectUtils.SerializeObject(SavedFromPeer, bw); + if ((Flags & 16) != 0) + bw.Write(SavedFromMsgId.Value); } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLMessageMediaContact.cs index 1a5c8aa6..04119e47 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaContact.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1585262393)] + [TLObject(-873313984)] public class TLMessageMediaContact : TLAbsMessageMedia { public override int Constructor { get { - return 1585262393; + return -873313984; } } public string PhoneNumber { get; set; } public string FirstName { get; set; } public string LastName { get; set; } + public string Vcard { get; set; } public int UserId { get; set; } @@ -34,6 +35,7 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); + Vcard = StringUtil.Deserialize(br); UserId = br.ReadInt32(); } @@ -44,6 +46,7 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); + StringUtil.Serialize(Vcard, bw); bw.Write(UserId); } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs b/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs index 80ba11a4..ddc278bb 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-203411800)] + [TLObject(-1666158377)] public class TLMessageMediaDocument : TLAbsMessageMedia { public override int Constructor { get { - return -203411800; + return -1666158377; } } + public int Flags { get; set; } public TLAbsDocument Document { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,28 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); - Caption = StringUtil.Deserialize(br); + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); + else + Document = null; + + if ((Flags & 4) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ObjectUtils.SerializeObject(Document, bw); - StringUtil.Serialize(Caption, bw); + bw.Write(Flags); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 4) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs b/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs new file mode 100644 index 00000000..d3322911 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(2084316681)] + public class TLMessageMediaGeoLive : TLAbsMessageMedia + { + public override int Constructor + { + get + { + return 2084316681; + } + } + + public TLAbsGeoPoint Geo { get; set; } + public int Period { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Geo = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); + Period = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Geo, bw); + bw.Write(Period); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs b/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs index 81a65eb2..049159a9 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs @@ -23,7 +23,7 @@ public override int Constructor public bool Test { get; set; } public string Title { get; set; } public string Description { get; set; } - public TLWebDocument Photo { get; set; } + public TLAbsWebDocument Photo { get; set; } public int? ReceiptMsgId { get; set; } public string Currency { get; set; } public long TotalAmount { get; set; } @@ -32,11 +32,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = ShippingAddressRequested ? (Flags | 2) : (Flags & ~2); - Flags = Test ? (Flags | 8) : (Flags & ~8); - Flags = Photo != null ? (Flags | 1) : (Flags & ~1); - Flags = ReceiptMsgId != null ? (Flags | 4) : (Flags & ~4); } @@ -48,7 +43,7 @@ public override void DeserializeBody(BinaryReader br) Title = StringUtil.Deserialize(br); Description = StringUtil.Deserialize(br); if ((Flags & 1) != 0) - Photo = (TLWebDocument)ObjectUtils.DeserializeObject(br); + Photo = (TLAbsWebDocument)ObjectUtils.DeserializeObject(br); else Photo = null; @@ -66,7 +61,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs b/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs index a62ac89c..005f922b 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs @@ -7,19 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1032643901)] + [TLObject(1766936791)] public class TLMessageMediaPhoto : TLAbsMessageMedia { public override int Constructor { get { - return 1032643901; + return 1766936791; } } + public int Flags { get; set; } public TLAbsPhoto Photo { get; set; } - public string Caption { get; set; } + public int? TtlSeconds { get; set; } public void ComputeFlags() @@ -29,16 +30,28 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); - Caption = StringUtil.Deserialize(br); + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); + else + Photo = null; + + if ((Flags & 4) != 0) + TtlSeconds = br.ReadInt32(); + else + TtlSeconds = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ObjectUtils.SerializeObject(Photo, bw); - StringUtil.Serialize(Caption, bw); + bw.Write(Flags); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Photo, bw); + if ((Flags & 4) != 0) + bw.Write(TtlSeconds.Value); } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs b/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs new file mode 100644 index 00000000..e0a6b7e3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1272375192)] + public class TLMessageMediaPoll : TLAbsMessageMedia + { + public override int Constructor + { + get + { + return 1272375192; + } + } + + public TLPoll Poll { get; set; } + public TLPollResults Results { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Poll = (TLPoll)ObjectUtils.DeserializeObject(br); + Results = (TLPollResults)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Poll, bw); + ObjectUtils.SerializeObject(Results, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs index 61421285..3dbe6ec4 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(2031269663)] + [TLObject(784356159)] public class TLMessageMediaVenue : TLAbsMessageMedia { public override int Constructor { get { - return 2031269663; + return 784356159; } } @@ -23,6 +23,7 @@ public override int Constructor public string Address { get; set; } public string Provider { get; set; } public string VenueId { get; set; } + public string VenueType { get; set; } public void ComputeFlags() @@ -37,6 +38,7 @@ public override void DeserializeBody(BinaryReader br) Address = StringUtil.Deserialize(br); Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); + VenueType = StringUtil.Deserialize(br); } @@ -48,6 +50,7 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Address, bw); StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); + StringUtil.Serialize(VenueType, bw); } } diff --git a/src/TeleSharp.TL/TL/TLMessageService.cs b/src/TeleSharp.TL/TL/TLMessageService.cs index ff16be22..79820bb8 100644 --- a/src/TeleSharp.TL/TL/TLMessageService.cs +++ b/src/TeleSharp.TL/TL/TLMessageService.cs @@ -24,6 +24,7 @@ public override int Constructor public bool MediaUnread { get; set; } public bool Silent { get; set; } public bool Post { get; set; } + public bool Legacy { get; set; } public int Id { get; set; } public int? FromId { get; set; } public TLAbsPeer ToId { get; set; } @@ -34,14 +35,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Out ? (Flags | 2) : (Flags & ~2); - Flags = Mentioned ? (Flags | 16) : (Flags & ~16); - Flags = MediaUnread ? (Flags | 32) : (Flags & ~32); - Flags = Silent ? (Flags | 8192) : (Flags & ~8192); - Flags = Post ? (Flags | 16384) : (Flags & ~16384); - Flags = FromId != null ? (Flags | 256) : (Flags & ~256); - Flags = ReplyToMsgId != null ? (Flags | 8) : (Flags & ~8); } @@ -53,6 +46,7 @@ public override void DeserializeBody(BinaryReader br) MediaUnread = (Flags & 32) != 0; Silent = (Flags & 8192) != 0; Post = (Flags & 16384) != 0; + Legacy = (Flags & 524288) != 0; Id = br.ReadInt32(); if ((Flags & 256) != 0) FromId = br.ReadInt32(); @@ -73,13 +67,13 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Id); if ((Flags & 256) != 0) bw.Write(FromId.Value); diff --git a/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs b/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs new file mode 100644 index 00000000..3297c519 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-703403793)] + public class TLNotifyBroadcasts : TLAbsNotifyPeer + { + public override int Constructor + { + get + { + return -703403793; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPage.cs b/src/TeleSharp.TL/TL/TLPage.cs new file mode 100644 index 00000000..270eb686 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPage.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1366746132)] + public class TLPage : TLObject + { + public override int Constructor + { + get + { + return -1366746132; + } + } + + public int Flags { get; set; } + public bool Part { get; set; } + public bool Rtl { get; set; } + public bool V2 { get; set; } + public string Url { get; set; } + public TLVector Blocks { get; set; } + public TLVector Photos { get; set; } + public TLVector Documents { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Part = (Flags & 1) != 0; + Rtl = (Flags & 2) != 0; + V2 = (Flags & 4) != 0; + Url = StringUtil.Deserialize(br); + Blocks = (TLVector)ObjectUtils.DeserializeVector(br); + Photos = (TLVector)ObjectUtils.DeserializeVector(br); + Documents = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + StringUtil.Serialize(Url, bw); + ObjectUtils.SerializeObject(Blocks, bw); + ObjectUtils.SerializeObject(Photos, bw); + ObjectUtils.SerializeObject(Documents, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockAudio.cs b/src/TeleSharp.TL/TL/TLPageBlockAudio.cs new file mode 100644 index 00000000..0f854bfe --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockAudio.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2143067670)] + public class TLPageBlockAudio : TLAbsPageBlock + { + public override int Constructor + { + get + { + return -2143067670; + } + } + + public long AudioId { get; set; } + public TLPageCaption Caption { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + AudioId = br.ReadInt64(); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(AudioId); + ObjectUtils.SerializeObject(Caption, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockCollage.cs b/src/TeleSharp.TL/TL/TLPageBlockCollage.cs index e62e7720..8af241b6 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockCollage.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockCollage.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(145955919)] + [TLObject(1705048653)] public class TLPageBlockCollage : TLAbsPageBlock { public override int Constructor { get { - return 145955919; + return 1705048653; } } public TLVector Items { get; set; } - public TLAbsRichText Caption { get; set; } + public TLPageCaption Caption { get; set; } public void ComputeFlags() @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); } diff --git a/src/TeleSharp.TL/TL/TLPageFull.cs b/src/TeleSharp.TL/TL/TLPageBlockDetails.cs similarity index 60% rename from src/TeleSharp.TL/TL/TLPageFull.cs rename to src/TeleSharp.TL/TL/TLPageBlockDetails.cs index 1f56e8d6..61604166 100644 --- a/src/TeleSharp.TL/TL/TLPageFull.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockDetails.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-677274263)] - public class TLPageFull : TLAbsPage + [TLObject(1987480557)] + public class TLPageBlockDetails : TLAbsPageBlock { public override int Constructor { get { - return -677274263; + return 1987480557; } } + public int Flags { get; set; } + public bool Open { get; set; } public TLVector Blocks { get; set; } - public TLVector Photos { get; set; } - public TLVector Videos { get; set; } + public TLAbsRichText Title { get; set; } public void ComputeFlags() @@ -30,18 +31,20 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Open = (Flags & 1) != 0; Blocks = (TLVector)ObjectUtils.DeserializeVector(br); - Photos = (TLVector)ObjectUtils.DeserializeVector(br); - Videos = (TLVector)ObjectUtils.DeserializeVector(br); + Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Blocks, bw); - ObjectUtils.SerializeObject(Photos, bw); - ObjectUtils.SerializeObject(Videos, bw); + ObjectUtils.SerializeObject(Title, bw); } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs b/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs index 81893ab6..1399a43c 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-840826671)] + [TLObject(-1468953147)] public class TLPageBlockEmbed : TLAbsPageBlock { public override int Constructor { get { - return -840826671; + return -1468953147; } } @@ -24,19 +24,13 @@ public override int Constructor public string Url { get; set; } public string Html { get; set; } public long? PosterPhotoId { get; set; } - public int W { get; set; } - public int H { get; set; } - public TLAbsRichText Caption { get; set; } + public int? W { get; set; } + public int? H { get; set; } + public TLPageCaption Caption { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = FullWidth ? (Flags | 1) : (Flags & ~1); - Flags = AllowScrolling ? (Flags | 8) : (Flags & ~8); - Flags = Url != null ? (Flags | 2) : (Flags & ~2); - Flags = Html != null ? (Flags | 4) : (Flags & ~4); - Flags = PosterPhotoId != null ? (Flags | 16) : (Flags & ~16); } @@ -60,16 +54,23 @@ public override void DeserializeBody(BinaryReader br) else PosterPhotoId = null; - W = br.ReadInt32(); - H = br.ReadInt32(); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + if ((Flags & 32) != 0) + W = br.ReadInt32(); + else + W = null; + + if ((Flags & 32) != 0) + H = br.ReadInt32(); + else + H = null; + + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -79,8 +80,10 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Html, bw); if ((Flags & 16) != 0) bw.Write(PosterPhotoId.Value); - bw.Write(W); - bw.Write(H); + if ((Flags & 32) != 0) + bw.Write(W.Value); + if ((Flags & 32) != 0) + bw.Write(H.Value); ObjectUtils.SerializeObject(Caption, bw); } diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs b/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs index cc69b30b..b13e3910 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(690781161)] + [TLObject(-229005301)] public class TLPageBlockEmbedPost : TLAbsPageBlock { public override int Constructor { get { - return 690781161; + return -229005301; } } @@ -24,7 +24,7 @@ public override int Constructor public string Author { get; set; } public int Date { get; set; } public TLVector Blocks { get; set; } - public TLAbsRichText Caption { get; set; } + public TLPageCaption Caption { get; set; } public void ComputeFlags() @@ -40,7 +40,7 @@ public override void DeserializeBody(BinaryReader br) Author = StringUtil.Deserialize(br); Date = br.ReadInt32(); Blocks = (TLVector)ObjectUtils.DeserializeVector(br); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); } diff --git a/src/TeleSharp.TL/TL/TLPageBlockKicker.cs b/src/TeleSharp.TL/TL/TLPageBlockKicker.cs new file mode 100644 index 00000000..abfb162a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockKicker.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(504660880)] + public class TLPageBlockKicker : TLAbsPageBlock + { + public override int Constructor + { + get + { + return 504660880; + } + } + + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockList.cs b/src/TeleSharp.TL/TL/TLPageBlockList.cs index 7b2fa3bb..4390a5dd 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockList.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockList.cs @@ -7,19 +7,18 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(978896884)] + [TLObject(-454524911)] public class TLPageBlockList : TLAbsPageBlock { public override int Constructor { get { - return 978896884; + return -454524911; } } - public bool Ordered { get; set; } - public TLVector Items { get; set; } + public TLVector Items { get; set; } public void ComputeFlags() @@ -29,15 +28,13 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Ordered = BoolUtil.Deserialize(br); - Items = (TLVector)ObjectUtils.DeserializeVector(br); + Items = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - BoolUtil.Serialize(Ordered, bw); ObjectUtils.SerializeObject(Items, bw); } diff --git a/src/TeleSharp.TL/TL/TLPageBlockMap.cs b/src/TeleSharp.TL/TL/TLPageBlockMap.cs new file mode 100644 index 00000000..d705516c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockMap.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1538310410)] + public class TLPageBlockMap : TLAbsPageBlock + { + public override int Constructor + { + get + { + return -1538310410; + } + } + + public TLAbsGeoPoint Geo { get; set; } + public int Zoom { get; set; } + public int W { get; set; } + public int H { get; set; } + public TLPageCaption Caption { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Geo = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); + Zoom = br.ReadInt32(); + W = br.ReadInt32(); + H = br.ReadInt32(); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Geo, bw); + bw.Write(Zoom); + bw.Write(W); + bw.Write(H); + ObjectUtils.SerializeObject(Caption, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs b/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs new file mode 100644 index 00000000..c5078c4e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1702174239)] + public class TLPageBlockOrderedList : TLAbsPageBlock + { + public override int Constructor + { + get + { + return -1702174239; + } + } + + public TLVector Items { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Items = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Items, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs b/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs index d7f6a20e..5ccb7a53 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs @@ -7,19 +7,22 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-372860542)] + [TLObject(391759200)] public class TLPageBlockPhoto : TLAbsPageBlock { public override int Constructor { get { - return -372860542; + return 391759200; } } + public int Flags { get; set; } public long PhotoId { get; set; } - public TLAbsRichText Caption { get; set; } + public TLPageCaption Caption { get; set; } + public string Url { get; set; } + public long? WebpageId { get; set; } public void ComputeFlags() @@ -29,16 +32,32 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); PhotoId = br.ReadInt64(); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + Url = StringUtil.Deserialize(br); + else + Url = null; + + if ((Flags & 1) != 0) + WebpageId = br.ReadInt64(); + else + WebpageId = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); bw.Write(PhotoId); ObjectUtils.SerializeObject(Caption, bw); + if ((Flags & 1) != 0) + StringUtil.Serialize(Url, bw); + if ((Flags & 1) != 0) + bw.Write(WebpageId.Value); } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs b/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs new file mode 100644 index 00000000..67794e09 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(370236054)] + public class TLPageBlockRelatedArticles : TLAbsPageBlock + { + public override int Constructor + { + get + { + return 370236054; + } + } + + public TLAbsRichText Title { get; set; } + public TLVector Articles { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Articles = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Title, bw); + ObjectUtils.SerializeObject(Articles, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs b/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs index e74545a4..c27f5add 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(319588707)] + [TLObject(52401552)] public class TLPageBlockSlideshow : TLAbsPageBlock { public override int Constructor { get { - return 319588707; + return 52401552; } } public TLVector Items { get; set; } - public TLAbsRichText Caption { get; set; } + public TLPageCaption Caption { get; set; } public void ComputeFlags() @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); } diff --git a/src/TeleSharp.TL/TL/TLPageBlockTable.cs b/src/TeleSharp.TL/TL/TLPageBlockTable.cs new file mode 100644 index 00000000..1a3137f3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageBlockTable.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1085412734)] + public class TLPageBlockTable : TLAbsPageBlock + { + public override int Constructor + { + get + { + return -1085412734; + } + } + + public int Flags { get; set; } + public bool Bordered { get; set; } + public bool Striped { get; set; } + public TLAbsRichText Title { get; set; } + public TLVector Rows { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Bordered = (Flags & 1) != 0; + Striped = (Flags & 2) != 0; + Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Rows = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + ObjectUtils.SerializeObject(Title, bw); + ObjectUtils.SerializeObject(Rows, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageBlockVideo.cs b/src/TeleSharp.TL/TL/TLPageBlockVideo.cs index 1443903a..9e4ba169 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockVideo.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockVideo.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-640214938)] + [TLObject(2089805750)] public class TLPageBlockVideo : TLAbsPageBlock { public override int Constructor { get { - return -640214938; + return 2089805750; } } @@ -22,14 +22,11 @@ public override int Constructor public bool Autoplay { get; set; } public bool Loop { get; set; } public long VideoId { get; set; } - public TLAbsRichText Caption { get; set; } + public TLPageCaption Caption { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Autoplay ? (Flags | 1) : (Flags & ~1); - Flags = Loop ? (Flags | 2) : (Flags & ~2); } @@ -39,14 +36,13 @@ public override void DeserializeBody(BinaryReader br) Autoplay = (Flags & 1) != 0; Loop = (Flags & 2) != 0; VideoId = br.ReadInt64(); - Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLPageCaption.cs b/src/TeleSharp.TL/TL/TLPageCaption.cs new file mode 100644 index 00000000..2ecb46d6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageCaption.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1869903447)] + public class TLPageCaption : TLObject + { + public override int Constructor + { + get + { + return 1869903447; + } + } + + public TLAbsRichText Text { get; set; } + public TLAbsRichText Credit { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Credit = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + ObjectUtils.SerializeObject(Credit, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs b/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs new file mode 100644 index 00000000..e86d8345 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(635466748)] + public class TLPageListItemBlocks : TLAbsPageListItem + { + public override int Constructor + { + get + { + return 635466748; + } + } + + public TLVector Blocks { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Blocks = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Blocks, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageListItemText.cs b/src/TeleSharp.TL/TL/TLPageListItemText.cs new file mode 100644 index 00000000..d75f07e7 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageListItemText.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1188055347)] + public class TLPageListItemText : TLAbsPageListItem + { + public override int Constructor + { + get + { + return -1188055347; + } + } + + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPagePart.cs b/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs similarity index 59% rename from src/TeleSharp.TL/TL/TLPagePart.cs rename to src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs index e64b1e94..d1f54f9b 100644 --- a/src/TeleSharp.TL/TL/TLPagePart.cs +++ b/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs @@ -7,20 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1913754556)] - public class TLPagePart : TLAbsPage + [TLObject(-1730311882)] + public class TLPageListOrderedItemBlocks : TLAbsPageListOrderedItem { public override int Constructor { get { - return -1913754556; + return -1730311882; } } + public string Num { get; set; } public TLVector Blocks { get; set; } - public TLVector Photos { get; set; } - public TLVector Videos { get; set; } public void ComputeFlags() @@ -30,18 +29,16 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Num = StringUtil.Deserialize(br); Blocks = (TLVector)ObjectUtils.DeserializeVector(br); - Photos = (TLVector)ObjectUtils.DeserializeVector(br); - Videos = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + StringUtil.Serialize(Num, bw); ObjectUtils.SerializeObject(Blocks, bw); - ObjectUtils.SerializeObject(Photos, bw); - ObjectUtils.SerializeObject(Videos, bw); } } diff --git a/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs b/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs new file mode 100644 index 00000000..c840152c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1577484359)] + public class TLPageListOrderedItemText : TLAbsPageListOrderedItem + { + public override int Constructor + { + get + { + return 1577484359; + } + } + + public string Num { get; set; } + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Num = StringUtil.Deserialize(br); + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Num, bw); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs b/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs new file mode 100644 index 00000000..b8e51f65 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs @@ -0,0 +1,88 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1282352120)] + public class TLPageRelatedArticle : TLObject + { + public override int Constructor + { + get + { + return -1282352120; + } + } + + public int Flags { get; set; } + public string Url { get; set; } + public long WebpageId { get; set; } + public string Title { get; set; } + public string Description { get; set; } + public long? PhotoId { get; set; } + public string Author { get; set; } + public int? PublishedDate { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Url = StringUtil.Deserialize(br); + WebpageId = br.ReadInt64(); + if ((Flags & 1) != 0) + Title = StringUtil.Deserialize(br); + else + Title = null; + + if ((Flags & 2) != 0) + Description = StringUtil.Deserialize(br); + else + Description = null; + + if ((Flags & 4) != 0) + PhotoId = br.ReadInt64(); + else + PhotoId = null; + + if ((Flags & 8) != 0) + Author = StringUtil.Deserialize(br); + else + Author = null; + + if ((Flags & 16) != 0) + PublishedDate = br.ReadInt32(); + else + PublishedDate = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + StringUtil.Serialize(Url, bw); + bw.Write(WebpageId); + if ((Flags & 1) != 0) + StringUtil.Serialize(Title, bw); + if ((Flags & 2) != 0) + StringUtil.Serialize(Description, bw); + if ((Flags & 4) != 0) + bw.Write(PhotoId.Value); + if ((Flags & 8) != 0) + StringUtil.Serialize(Author, bw); + if ((Flags & 16) != 0) + bw.Write(PublishedDate.Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageTableCell.cs b/src/TeleSharp.TL/TL/TLPageTableCell.cs new file mode 100644 index 00000000..09ac0c8d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageTableCell.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(878078826)] + public class TLPageTableCell : TLObject + { + public override int Constructor + { + get + { + return 878078826; + } + } + + public int Flags { get; set; } + public bool Header { get; set; } + public bool AlignCenter { get; set; } + public bool AlignRight { get; set; } + public bool ValignMiddle { get; set; } + public bool ValignBottom { get; set; } + public TLAbsRichText Text { get; set; } + public int? Colspan { get; set; } + public int? Rowspan { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Header = (Flags & 1) != 0; + AlignCenter = (Flags & 8) != 0; + AlignRight = (Flags & 16) != 0; + ValignMiddle = (Flags & 32) != 0; + ValignBottom = (Flags & 64) != 0; + if ((Flags & 128) != 0) + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + else + Text = null; + + if ((Flags & 2) != 0) + Colspan = br.ReadInt32(); + else + Colspan = null; + + if ((Flags & 4) != 0) + Rowspan = br.ReadInt32(); + else + Rowspan = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + + + if ((Flags & 128) != 0) + ObjectUtils.SerializeObject(Text, bw); + if ((Flags & 2) != 0) + bw.Write(Colspan.Value); + if ((Flags & 4) != 0) + bw.Write(Rowspan.Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPageTableRow.cs b/src/TeleSharp.TL/TL/TLPageTableRow.cs new file mode 100644 index 00000000..f1eb002e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPageTableRow.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-524237339)] + public class TLPageTableRow : TLObject + { + public override int Constructor + { + get + { + return -524237339; + } + } + + public TLVector Cells { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Cells = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Cells, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs new file mode 100644 index 00000000..cd2afaf6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(982592842)] + public class TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow : TLAbsPasswordKdfAlgo + { + public override int Constructor + { + get + { + return 982592842; + } + } + + public byte[] Salt1 { get; set; } + public byte[] Salt2 { get; set; } + public int G { get; set; } + public byte[] P { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Salt1 = BytesUtil.Deserialize(br); + Salt2 = BytesUtil.Deserialize(br); + G = br.ReadInt32(); + P = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Salt1, bw); + BytesUtil.Serialize(Salt2, bw); + bw.Write(G); + BytesUtil.Serialize(P, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs new file mode 100644 index 00000000..bd1da833 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-732254058)] + public class TLPasswordKdfAlgoUnknown : TLAbsPasswordKdfAlgo + { + public override int Constructor + { + get + { + return -732254058; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs b/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs index e01d9661..75d62cdc 100644 --- a/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs @@ -27,11 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Name != null ? (Flags | 1) : (Flags & ~1); - Flags = Phone != null ? (Flags | 2) : (Flags & ~2); - Flags = Email != null ? (Flags | 4) : (Flags & ~4); - Flags = ShippingAddress != null ? (Flags | 8) : (Flags & ~8); } @@ -64,7 +59,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 1) != 0) StringUtil.Serialize(Name, bw); diff --git a/src/TeleSharp.TL/TL/TLPeerLocated.cs b/src/TeleSharp.TL/TL/TLPeerLocated.cs new file mode 100644 index 00000000..31deb1b6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPeerLocated.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-901375139)] + public class TLPeerLocated : TLObject + { + public override int Constructor + { + get + { + return -901375139; + } + } + + public TLAbsPeer Peer { get; set; } + public int Expires { get; set; } + public int Distance { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + Expires = br.ReadInt32(); + Distance = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(Expires); + bw.Write(Distance); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPeerNotifyEventsAll.cs b/src/TeleSharp.TL/TL/TLPeerNotifyEventsAll.cs deleted file mode 100644 index 6d829fd5..00000000 --- a/src/TeleSharp.TL/TL/TLPeerNotifyEventsAll.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(1830677896)] - public class TLPeerNotifyEventsAll : TLAbsPeerNotifyEvents - { - public override int Constructor - { - get - { - return 1830677896; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs b/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs index 412a4b7c..2a95ed91 100644 --- a/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs @@ -7,51 +7,67 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1697798976)] - public class TLPeerNotifySettings : TLAbsPeerNotifySettings + [TLObject(-1353671392)] + public class TLPeerNotifySettings : TLObject { public override int Constructor { get { - return -1697798976; + return -1353671392; } } public int Flags { get; set; } - public bool ShowPreviews { get; set; } - public bool Silent { get; set; } - public int MuteUntil { get; set; } + public bool? ShowPreviews { get; set; } + public bool? Silent { get; set; } + public int? MuteUntil { get; set; } public string Sound { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ShowPreviews ? (Flags | 1) : (Flags & ~1); - Flags = Silent ? (Flags | 2) : (Flags & ~2); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - ShowPreviews = (Flags & 1) != 0; - Silent = (Flags & 2) != 0; - MuteUntil = br.ReadInt32(); - Sound = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + ShowPreviews = BoolUtil.Deserialize(br); + else + ShowPreviews = null; + + if ((Flags & 2) != 0) + Silent = BoolUtil.Deserialize(br); + else + Silent = null; + + if ((Flags & 4) != 0) + MuteUntil = br.ReadInt32(); + else + MuteUntil = null; + + if ((Flags & 8) != 0) + Sound = StringUtil.Deserialize(br); + else + Sound = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - - - bw.Write(MuteUntil); - StringUtil.Serialize(Sound, bw); + if ((Flags & 1) != 0) + BoolUtil.Serialize(ShowPreviews.Value, bw); + if ((Flags & 2) != 0) + BoolUtil.Serialize(Silent.Value, bw); + if ((Flags & 4) != 0) + bw.Write(MuteUntil.Value); + if ((Flags & 8) != 0) + StringUtil.Serialize(Sound, bw); } } diff --git a/src/TeleSharp.TL/TL/TLPeerNotifySettingsEmpty.cs b/src/TeleSharp.TL/TL/TLPeerNotifySettingsEmpty.cs deleted file mode 100644 index d3e028fb..00000000 --- a/src/TeleSharp.TL/TL/TLPeerNotifySettingsEmpty.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(1889961234)] - public class TLPeerNotifySettingsEmpty : TLAbsPeerNotifySettings - { - public override int Constructor - { - get - { - return 1889961234; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLPeerSettings.cs b/src/TeleSharp.TL/TL/TLPeerSettings.cs index 05647c9c..b4509933 100644 --- a/src/TeleSharp.TL/TL/TLPeerSettings.cs +++ b/src/TeleSharp.TL/TL/TLPeerSettings.cs @@ -20,12 +20,15 @@ public override int Constructor public int Flags { get; set; } public bool ReportSpam { get; set; } + public bool AddContact { get; set; } + public bool BlockContact { get; set; } + public bool ShareContact { get; set; } + public bool NeedContactsException { get; set; } + public bool ReportGeo { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = ReportSpam ? (Flags | 1) : (Flags & ~1); } @@ -33,16 +36,25 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); ReportSpam = (Flags & 1) != 0; + AddContact = (Flags & 2) != 0; + BlockContact = (Flags & 4) != 0; + ShareContact = (Flags & 8) != 0; + NeedContactsException = (Flags & 16) != 0; + ReportGeo = (Flags & 32) != 0; } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + + + + } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCall.cs b/src/TeleSharp.TL/TL/TLPhoneCall.cs index 84dbc637..8895a465 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCall.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1660057)] + [TLObject(-2025673089)] public class TLPhoneCall : TLAbsPhoneCall { public override int Constructor { get { - return -1660057; + return -2025673089; } } + public int Flags { get; set; } + public bool P2pAllowed { get; set; } public long Id { get; set; } public long AccessHash { get; set; } public int Date { get; set; } @@ -26,8 +28,7 @@ public override int Constructor public byte[] GAOrB { get; set; } public long KeyFingerprint { get; set; } public TLPhoneCallProtocol Protocol { get; set; } - public TLPhoneConnection Connection { get; set; } - public TLVector AlternativeConnections { get; set; } + public TLVector Connections { get; set; } public int StartDate { get; set; } @@ -38,6 +39,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + P2pAllowed = (Flags & 32) != 0; Id = br.ReadInt64(); AccessHash = br.ReadInt64(); Date = br.ReadInt32(); @@ -46,8 +49,7 @@ public override void DeserializeBody(BinaryReader br) GAOrB = BytesUtil.Deserialize(br); KeyFingerprint = br.ReadInt64(); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - Connection = (TLPhoneConnection)ObjectUtils.DeserializeObject(br); - AlternativeConnections = (TLVector)ObjectUtils.DeserializeVector(br); + Connections = (TLVector)ObjectUtils.DeserializeVector(br); StartDate = br.ReadInt32(); } @@ -55,6 +57,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); @@ -63,8 +67,7 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(GAOrB, bw); bw.Write(KeyFingerprint); ObjectUtils.SerializeObject(Protocol, bw); - ObjectUtils.SerializeObject(Connection, bw); - ObjectUtils.SerializeObject(AlternativeConnections, bw); + ObjectUtils.SerializeObject(Connections, bw); bw.Write(StartDate); } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs b/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs index 8a3c92fb..c085e6cc 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1828732223)] + [TLObject(-1719909046)] public class TLPhoneCallAccepted : TLAbsPhoneCall { public override int Constructor { get { - return 1828732223; + return -1719909046; } } + public int Flags { get; set; } + public bool Video { get; set; } public long Id { get; set; } public long AccessHash { get; set; } public int Date { get; set; } @@ -34,6 +36,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Video = (Flags & 32) != 0; Id = br.ReadInt64(); AccessHash = br.ReadInt64(); Date = br.ReadInt32(); @@ -47,6 +51,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs index 36ecbea3..405fee74 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs @@ -21,6 +21,7 @@ public override int Constructor public int Flags { get; set; } public bool NeedRating { get; set; } public bool NeedDebug { get; set; } + public bool Video { get; set; } public long Id { get; set; } public TLAbsPhoneCallDiscardReason Reason { get; set; } public int? Duration { get; set; } @@ -28,11 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = NeedRating ? (Flags | 4) : (Flags & ~4); - Flags = NeedDebug ? (Flags | 8) : (Flags & ~8); - Flags = Reason != null ? (Flags | 1) : (Flags & ~1); - Flags = Duration != null ? (Flags | 2) : (Flags & ~2); } @@ -41,6 +37,7 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); NeedRating = (Flags & 4) != 0; NeedDebug = (Flags & 8) != 0; + Video = (Flags & 32) != 0; Id = br.ReadInt64(); if ((Flags & 1) != 0) Reason = (TLAbsPhoneCallDiscardReason)ObjectUtils.DeserializeObject(br); @@ -58,10 +55,10 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Id); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Reason, bw); diff --git a/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs b/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs index 87c73611..a8218ac3 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs @@ -27,9 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = UdpP2p ? (Flags | 1) : (Flags & ~1); - Flags = UdpReflector ? (Flags | 2) : (Flags & ~2); } @@ -46,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs b/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs index a09895fa..b701c466 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs @@ -7,17 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-2089411356)] + [TLObject(-2014659757)] public class TLPhoneCallRequested : TLAbsPhoneCall { public override int Constructor { get { - return -2089411356; + return -2014659757; } } + public int Flags { get; set; } + public bool Video { get; set; } public long Id { get; set; } public long AccessHash { get; set; } public int Date { get; set; } @@ -34,6 +36,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Video = (Flags & 32) != 0; Id = br.ReadInt64(); AccessHash = br.ReadInt64(); Date = br.ReadInt32(); @@ -47,6 +51,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); diff --git a/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs b/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs index 20eb4556..77b4d504 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs @@ -19,6 +19,7 @@ public override int Constructor } public int Flags { get; set; } + public bool Video { get; set; } public long Id { get; set; } public long AccessHash { get; set; } public int Date { get; set; } @@ -30,14 +31,13 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = ReceiveDate != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); + Video = (Flags & 32) != 0; Id = br.ReadInt64(); AccessHash = br.ReadInt64(); Date = br.ReadInt32(); @@ -55,8 +55,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); diff --git a/src/TeleSharp.TL/TL/TLPhoto.cs b/src/TeleSharp.TL/TL/TLPhoto.cs index 8857440f..478adacd 100644 --- a/src/TeleSharp.TL/TL/TLPhoto.cs +++ b/src/TeleSharp.TL/TL/TLPhoto.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1836524247)] + [TLObject(-797637467)] public class TLPhoto : TLAbsPhoto { public override int Constructor { get { - return -1836524247; + return -797637467; } } @@ -22,14 +22,14 @@ public override int Constructor public bool HasStickers { get; set; } public long Id { get; set; } public long AccessHash { get; set; } + public byte[] FileReference { get; set; } public int Date { get; set; } public TLVector Sizes { get; set; } + public int DcId { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = HasStickers ? (Flags | 1) : (Flags & ~1); } @@ -39,21 +39,24 @@ public override void DeserializeBody(BinaryReader br) HasStickers = (Flags & 1) != 0; Id = br.ReadInt64(); AccessHash = br.ReadInt64(); + FileReference = BytesUtil.Deserialize(br); Date = br.ReadInt32(); Sizes = (TLVector)ObjectUtils.DeserializeVector(br); + DcId = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Id); bw.Write(AccessHash); + BytesUtil.Serialize(FileReference, bw); bw.Write(Date); ObjectUtils.SerializeObject(Sizes, bw); + bw.Write(DcId); } } diff --git a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs index 2625bad5..d1c542c9 100644 --- a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs @@ -19,7 +19,7 @@ public override int Constructor } public string Type { get; set; } - public TLAbsFileLocation Location { get; set; } + public TLFileLocationToBeDeprecated Location { get; set; } public int W { get; set; } public int H { get; set; } public byte[] Bytes { get; set; } @@ -33,7 +33,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); + Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); diff --git a/src/TeleSharp.TL/TL/TLPhotoSize.cs b/src/TeleSharp.TL/TL/TLPhotoSize.cs index 877fc5fd..5c1fc6fb 100644 --- a/src/TeleSharp.TL/TL/TLPhotoSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoSize.cs @@ -19,7 +19,7 @@ public override int Constructor } public string Type { get; set; } - public TLAbsFileLocation Location { get; set; } + public TLFileLocationToBeDeprecated Location { get; set; } public int W { get; set; } public int H { get; set; } public int Size { get; set; } @@ -33,7 +33,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); + Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Size = br.ReadInt32(); diff --git a/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs b/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs new file mode 100644 index 00000000..c9fdfddc --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-525288402)] + public class TLPhotoStrippedSize : TLAbsPhotoSize + { + public override int Constructor + { + get + { + return -525288402; + } + } + + public string Type { get; set; } + public byte[] Bytes { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = StringUtil.Deserialize(br); + Bytes = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Type, bw); + BytesUtil.Serialize(Bytes, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPoll.cs b/src/TeleSharp.TL/TL/TLPoll.cs new file mode 100644 index 00000000..80eeb66b --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPoll.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-716006138)] + public class TLPoll : TLObject + { + public override int Constructor + { + get + { + return -716006138; + } + } + + public long Id { get; set; } + public int Flags { get; set; } + public bool Closed { get; set; } + public bool PublicVoters { get; set; } + public bool MultipleChoice { get; set; } + public bool Quiz { get; set; } + public string Question { get; set; } + public TLVector Answers { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + Flags = br.ReadInt32(); + Closed = (Flags & 1) != 0; + PublicVoters = (Flags & 2) != 0; + MultipleChoice = (Flags & 4) != 0; + Quiz = (Flags & 8) != 0; + Question = StringUtil.Deserialize(br); + Answers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(Flags); + + + + + StringUtil.Serialize(Question, bw); + ObjectUtils.SerializeObject(Answers, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPollAnswer.cs b/src/TeleSharp.TL/TL/TLPollAnswer.cs new file mode 100644 index 00000000..05f41183 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPollAnswer.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1823064809)] + public class TLPollAnswer : TLObject + { + public override int Constructor + { + get + { + return 1823064809; + } + } + + public string Text { get; set; } + public byte[] Option { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = StringUtil.Deserialize(br); + Option = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Text, bw); + BytesUtil.Serialize(Option, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs b/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs new file mode 100644 index 00000000..a8595b12 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(997055186)] + public class TLPollAnswerVoters : TLObject + { + public override int Constructor + { + get + { + return 997055186; + } + } + + public int Flags { get; set; } + public bool Chosen { get; set; } + public bool Correct { get; set; } + public byte[] Option { get; set; } + public int Voters { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Chosen = (Flags & 1) != 0; + Correct = (Flags & 2) != 0; + Option = BytesUtil.Deserialize(br); + Voters = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + BytesUtil.Serialize(Option, bw); + bw.Write(Voters); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPollResults.cs b/src/TeleSharp.TL/TL/TLPollResults.cs new file mode 100644 index 00000000..912f0544 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPollResults.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1465219162)] + public class TLPollResults : TLObject + { + public override int Constructor + { + get + { + return 1465219162; + } + } + + public int Flags { get; set; } + public bool Min { get; set; } + public TLVector Results { get; set; } + public int? TotalVoters { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Min = (Flags & 1) != 0; + if ((Flags & 2) != 0) + Results = (TLVector)ObjectUtils.DeserializeVector(br); + else + Results = null; + + if ((Flags & 4) != 0) + TotalVoters = br.ReadInt32(); + else + TotalVoters = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Results, bw); + if ((Flags & 4) != 0) + bw.Write(TotalVoters.Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPopularContact.cs b/src/TeleSharp.TL/TL/TLPopularContact.cs new file mode 100644 index 00000000..672036b0 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPopularContact.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1558266229)] + public class TLPopularContact : TLObject + { + public override int Constructor + { + get + { + return 1558266229; + } + } + + public long ClientId { get; set; } + public int Importers { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + ClientId = br.ReadInt64(); + Importers = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(ClientId); + bw.Write(Importers); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs new file mode 100644 index 00000000..a3afdbeb --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1124062251)] + public class TLPrivacyKeyAddedByPhone : TLAbsPrivacyKey + { + public override int Constructor + { + get + { + return 1124062251; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs new file mode 100644 index 00000000..8ee9b0ce --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1777096355)] + public class TLPrivacyKeyForwards : TLAbsPrivacyKey + { + public override int Constructor + { + get + { + return 1777096355; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLContactLinkUnknown.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs similarity index 82% rename from src/TeleSharp.TL/TL/TLContactLinkUnknown.cs rename to src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs index a4a4cd65..6ea31e8c 100644 --- a/src/TeleSharp.TL/TL/TLContactLinkUnknown.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1599050311)] - public class TLContactLinkUnknown : TLAbsContactLink + [TLObject(-778378131)] + public class TLPrivacyKeyPhoneNumber : TLAbsPrivacyKey { public override int Constructor { get { - return 1599050311; + return -778378131; } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs new file mode 100644 index 00000000..08c69e0f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(961092808)] + public class TLPrivacyKeyPhoneP2P : TLAbsPrivacyKey + { + public override int Constructor + { + get + { + return 961092808; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs new file mode 100644 index 00000000..4221a55d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1777000467)] + public class TLPrivacyKeyProfilePhoto : TLAbsPrivacyKey + { + public override int Constructor + { + get + { + return -1777000467; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs b/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs new file mode 100644 index 00000000..11574baf --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(415136107)] + public class TLPrivacyValueAllowChatParticipants : TLAbsPrivacyRule + { + public override int Constructor + { + get + { + return 415136107; + } + } + + public TLVector Chats { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Chats, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs new file mode 100644 index 00000000..7380cb5b --- /dev/null +++ b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1397881200)] + public class TLPrivacyValueDisallowChatParticipants : TLAbsPrivacyRule + { + public override int Constructor + { + get + { + return -1397881200; + } + } + + public TLVector Chats { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Chats = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Chats, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs b/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs index 7990fdee..095f0af2 100644 --- a/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs +++ b/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs @@ -24,7 +24,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; } @@ -38,9 +37,8 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); - bw.Write(Flags); bw.Write(Id); + bw.Write(Flags); } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs new file mode 100644 index 00000000..6ccc7fda --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1608834311)] + public class TLRecentMeUrlChat : TLAbsRecentMeUrl + { + public override int Constructor + { + get + { + return -1608834311; + } + } + + public string Url { get; set; } + public int ChatId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + ChatId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + bw.Write(ChatId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs new file mode 100644 index 00000000..8f52a931 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-347535331)] + public class TLRecentMeUrlChatInvite : TLAbsRecentMeUrl + { + public override int Constructor + { + get + { + return -347535331; + } + } + + public string Url { get; set; } + public TLAbsChatInvite ChatInvite { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + ChatInvite = (TLAbsChatInvite)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + ObjectUtils.SerializeObject(ChatInvite, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs new file mode 100644 index 00000000..90f83cd9 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1140172836)] + public class TLRecentMeUrlStickerSet : TLAbsRecentMeUrl + { + public override int Constructor + { + get + { + return -1140172836; + } + } + + public string Url { get; set; } + public TLAbsStickerSetCovered Set { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + Set = (TLAbsStickerSetCovered)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + ObjectUtils.SerializeObject(Set, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs new file mode 100644 index 00000000..33e192c5 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1189204285)] + public class TLRecentMeUrlUnknown : TLAbsRecentMeUrl + { + public override int Constructor + { + get + { + return 1189204285; + } + } + + public string Url { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantKicked.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs similarity index 65% rename from src/TeleSharp.TL/TL/TLChannelParticipantKicked.cs rename to src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs index 85599240..b6e536c9 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantKicked.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs @@ -7,20 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1933187430)] - public class TLChannelParticipantKicked : TLAbsChannelParticipant + [TLObject(-1917045962)] + public class TLRecentMeUrlUser : TLAbsRecentMeUrl { public override int Constructor { get { - return -1933187430; + return -1917045962; } } + public string Url { get; set; } public int UserId { get; set; } - public int KickedBy { get; set; } - public int Date { get; set; } public void ComputeFlags() @@ -30,18 +29,16 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Url = StringUtil.Deserialize(br); UserId = br.ReadInt32(); - KickedBy = br.ReadInt32(); - Date = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + StringUtil.Serialize(Url, bw); bw.Write(UserId); - bw.Write(KickedBy); - bw.Write(Date); } } diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs index a7ca09f0..52832661 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs @@ -25,9 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = SingleUse ? (Flags | 2) : (Flags & ~2); - Flags = Selective ? (Flags | 4) : (Flags & ~4); } @@ -42,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs index 707a1cc4..23764336 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs @@ -24,8 +24,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Selective ? (Flags | 4) : (Flags & ~4); } @@ -39,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs index 7a9385f8..8a7e3c6d 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs @@ -27,10 +27,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Resize ? (Flags | 1) : (Flags & ~1); - Flags = SingleUse ? (Flags | 2) : (Flags & ~2); - Flags = Selective ? (Flags | 4) : (Flags & ~4); } @@ -47,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLRequestInitConnection.cs b/src/TeleSharp.TL/TL/TLRequestInitConnection.cs index 656fd4ba..f2fa790c 100644 --- a/src/TeleSharp.TL/TL/TLRequestInitConnection.cs +++ b/src/TeleSharp.TL/TL/TLRequestInitConnection.cs @@ -7,22 +7,27 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1769565673)] + [TLObject(2018609336)] public class TLRequestInitConnection : TLMethod { public override int Constructor { get { - return 1769565673; + return 2018609336; } } + public int Flags { get; set; } public int ApiId { get; set; } public string DeviceModel { get; set; } public string SystemVersion { get; set; } public string AppVersion { get; set; } + public string SystemLangCode { get; set; } + public string LangPack { get; set; } public string LangCode { get; set; } + public TLInputClientProxy Proxy { get; set; } + public TLAbsJSONValue Params { get; set; } public TLObject Query { get; set; } public TLObject Response { get; set; } @@ -34,11 +39,24 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); ApiId = br.ReadInt32(); DeviceModel = StringUtil.Deserialize(br); SystemVersion = StringUtil.Deserialize(br); AppVersion = StringUtil.Deserialize(br); + SystemLangCode = StringUtil.Deserialize(br); + LangPack = StringUtil.Deserialize(br); LangCode = StringUtil.Deserialize(br); + if ((Flags & 1) != 0) + Proxy = (TLInputClientProxy)ObjectUtils.DeserializeObject(br); + else + Proxy = null; + + if ((Flags & 2) != 0) + Params = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); + else + Params = null; + Query = (TLObject)ObjectUtils.DeserializeObject(br); } @@ -46,11 +64,18 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); bw.Write(ApiId); StringUtil.Serialize(DeviceModel, bw); StringUtil.Serialize(SystemVersion, bw); StringUtil.Serialize(AppVersion, bw); + StringUtil.Serialize(SystemLangCode, bw); + StringUtil.Serialize(LangPack, bw); StringUtil.Serialize(LangCode, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Proxy, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Params, bw); ObjectUtils.SerializeObject(Query, bw); } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs new file mode 100644 index 00000000..211ae6c4 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(911373810)] + public class TLRequestInvokeWithMessagesRange : TLMethod + { + public override int Constructor + { + get + { + return 911373810; + } + } + + public TLMessageRange Range { get; set; } + public TLObject Query { get; set; } + public TLObject Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Range = (TLMessageRange)ObjectUtils.DeserializeObject(br); + Query = (TLObject)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Range, bw); + ObjectUtils.SerializeObject(Query, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLObject)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs new file mode 100644 index 00000000..b6d5ee94 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1398145746)] + public class TLRequestInvokeWithTakeout : TLMethod + { + public override int Constructor + { + get + { + return -1398145746; + } + } + + public long TakeoutId { get; set; } + public TLObject Query { get; set; } + public TLObject Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + TakeoutId = br.ReadInt64(); + Query = (TLObject)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(TakeoutId); + ObjectUtils.SerializeObject(Query, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLObject)ObjectUtils.DeserializeObject(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLRestrictionReason.cs b/src/TeleSharp.TL/TL/TLRestrictionReason.cs new file mode 100644 index 00000000..9232086a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLRestrictionReason.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-797791052)] + public class TLRestrictionReason : TLObject + { + public override int Constructor + { + get + { + return -797791052; + } + } + + public string Platform { get; set; } + public string Reason { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Platform = StringUtil.Deserialize(br); + Reason = StringUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Platform, bw); + StringUtil.Serialize(Reason, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs b/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs new file mode 100644 index 00000000..e4c1b05c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(289586518)] + public class TLSavedPhoneContact : TLObject + { + public override int Constructor + { + get + { + return 289586518; + } + } + + public string Phone { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + public int Date { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Phone = StringUtil.Deserialize(br); + FirstName = StringUtil.Deserialize(br); + LastName = StringUtil.Deserialize(br); + Date = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Phone, bw); + StringUtil.Serialize(FirstName, bw); + StringUtil.Serialize(LastName, bw); + bw.Write(Date); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs b/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs new file mode 100644 index 00000000..96fa719c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(871426631)] + public class TLSecureCredentialsEncrypted : TLObject + { + public override int Constructor + { + get + { + return 871426631; + } + } + + public byte[] Data { get; set; } + public byte[] Hash { get; set; } + public byte[] Secret { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Data = BytesUtil.Deserialize(br); + Hash = BytesUtil.Deserialize(br); + Secret = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Data, bw); + BytesUtil.Serialize(Hash, bw); + BytesUtil.Serialize(Secret, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureData.cs b/src/TeleSharp.TL/TL/TLSecureData.cs new file mode 100644 index 00000000..b3bf86d0 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureData.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1964327229)] + public class TLSecureData : TLObject + { + public override int Constructor + { + get + { + return -1964327229; + } + } + + public byte[] Data { get; set; } + public byte[] DataHash { get; set; } + public byte[] Secret { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Data = BytesUtil.Deserialize(br); + DataHash = BytesUtil.Deserialize(br); + Secret = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Data, bw); + BytesUtil.Serialize(DataHash, bw); + BytesUtil.Serialize(Secret, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureFile.cs b/src/TeleSharp.TL/TL/TLSecureFile.cs new file mode 100644 index 00000000..2198bb51 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureFile.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-534283678)] + public class TLSecureFile : TLAbsSecureFile + { + public override int Constructor + { + get + { + return -534283678; + } + } + + public long Id { get; set; } + public long AccessHash { get; set; } + public int Size { get; set; } + public int DcId { get; set; } + public int Date { get; set; } + public byte[] FileHash { get; set; } + public byte[] Secret { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + Size = br.ReadInt32(); + DcId = br.ReadInt32(); + Date = br.ReadInt32(); + FileHash = BytesUtil.Deserialize(br); + Secret = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Id); + bw.Write(AccessHash); + bw.Write(Size); + bw.Write(DcId); + bw.Write(Date); + BytesUtil.Serialize(FileHash, bw); + BytesUtil.Serialize(Secret, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs b/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs new file mode 100644 index 00000000..bf97ba79 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1679398724)] + public class TLSecureFileEmpty : TLAbsSecureFile + { + public override int Constructor + { + get + { + return 1679398724; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs new file mode 100644 index 00000000..b29ed649 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1141711456)] + public class TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 : TLAbsSecurePasswordKdfAlgo + { + public override int Constructor + { + get + { + return -1141711456; + } + } + + public byte[] Salt { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Salt = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Salt, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs new file mode 100644 index 00000000..fb14eb43 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2042159726)] + public class TLSecurePasswordKdfAlgoSHA512 : TLAbsSecurePasswordKdfAlgo + { + public override int Constructor + { + get + { + return -2042159726; + } + } + + public byte[] Salt { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Salt = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(Salt, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs new file mode 100644 index 00000000..f89747f7 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(4883767)] + public class TLSecurePasswordKdfAlgoUnknown : TLAbsSecurePasswordKdfAlgo + { + public override int Constructor + { + get + { + return 4883767; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs b/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs new file mode 100644 index 00000000..74d30dc8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(569137759)] + public class TLSecurePlainEmail : TLAbsSecurePlainData + { + public override int Constructor + { + get + { + return 569137759; + } + } + + public string Email { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Email = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Email, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs b/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs new file mode 100644 index 00000000..6ba9a30f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(2103482845)] + public class TLSecurePlainPhone : TLAbsSecurePlainData + { + public override int Constructor + { + get + { + return 2103482845; + } + } + + public string Phone { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Phone = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Phone, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredType.cs b/src/TeleSharp.TL/TL/TLSecureRequiredType.cs new file mode 100644 index 00000000..90fb96a7 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureRequiredType.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2103600678)] + public class TLSecureRequiredType : TLAbsSecureRequiredType + { + public override int Constructor + { + get + { + return -2103600678; + } + } + + public int Flags { get; set; } + public bool NativeNames { get; set; } + public bool SelfieRequired { get; set; } + public bool TranslationRequired { get; set; } + public TLAbsSecureValueType Type { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + NativeNames = (Flags & 1) != 0; + SelfieRequired = (Flags & 2) != 0; + TranslationRequired = (Flags & 4) != 0; + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + + ObjectUtils.SerializeObject(Type, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs b/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs new file mode 100644 index 00000000..efa277df --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(41187252)] + public class TLSecureRequiredTypeOneOf : TLAbsSecureRequiredType + { + public override int Constructor + { + get + { + return 41187252; + } + } + + public TLVector Types { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Types = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Types, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs b/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs new file mode 100644 index 00000000..45eaaa78 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(354925740)] + public class TLSecureSecretSettings : TLObject + { + public override int Constructor + { + get + { + return 354925740; + } + } + + public TLAbsSecurePasswordKdfAlgo SecureAlgo { get; set; } + public byte[] SecureSecret { get; set; } + public long SecureSecretId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + SecureAlgo = (TLAbsSecurePasswordKdfAlgo)ObjectUtils.DeserializeObject(br); + SecureSecret = BytesUtil.Deserialize(br); + SecureSecretId = br.ReadInt64(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(SecureAlgo, bw); + BytesUtil.Serialize(SecureSecret, bw); + bw.Write(SecureSecretId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValue.cs b/src/TeleSharp.TL/TL/TLSecureValue.cs new file mode 100644 index 00000000..b34040db --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValue.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(411017418)] + public class TLSecureValue : TLObject + { + public override int Constructor + { + get + { + return 411017418; + } + } + + public int Flags { get; set; } + public TLAbsSecureValueType Type { get; set; } + public TLSecureData Data { get; set; } + public TLAbsSecureFile FrontSide { get; set; } + public TLAbsSecureFile ReverseSide { get; set; } + public TLAbsSecureFile Selfie { get; set; } + public TLVector Translation { get; set; } + public TLVector Files { get; set; } + public TLAbsSecurePlainData PlainData { get; set; } + public byte[] Hash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + if ((Flags & 1) != 0) + Data = (TLSecureData)ObjectUtils.DeserializeObject(br); + else + Data = null; + + if ((Flags & 2) != 0) + FrontSide = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); + else + FrontSide = null; + + if ((Flags & 4) != 0) + ReverseSide = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); + else + ReverseSide = null; + + if ((Flags & 8) != 0) + Selfie = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); + else + Selfie = null; + + if ((Flags & 64) != 0) + Translation = (TLVector)ObjectUtils.DeserializeVector(br); + else + Translation = null; + + if ((Flags & 16) != 0) + Files = (TLVector)ObjectUtils.DeserializeVector(br); + else + Files = null; + + if ((Flags & 32) != 0) + PlainData = (TLAbsSecurePlainData)ObjectUtils.DeserializeObject(br); + else + PlainData = null; + + Hash = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(Type, bw); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Data, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(FrontSide, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(ReverseSide, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Selfie, bw); + if ((Flags & 64) != 0) + ObjectUtils.SerializeObject(Translation, bw); + if ((Flags & 16) != 0) + ObjectUtils.SerializeObject(Files, bw); + if ((Flags & 32) != 0) + ObjectUtils.SerializeObject(PlainData, bw); + BytesUtil.Serialize(Hash, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueError.cs b/src/TeleSharp.TL/TL/TLSecureValueError.cs new file mode 100644 index 00000000..a3c0e4af --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueError.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2036501105)] + public class TLSecureValueError : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return -2036501105; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] Hash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + Hash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(Hash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs new file mode 100644 index 00000000..e685ff24 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-391902247)] + public class TLSecureValueErrorData : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return -391902247; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] DataHash { get; set; } + public string Field { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + DataHash = BytesUtil.Deserialize(br); + Field = StringUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(DataHash, bw); + StringUtil.Serialize(Field, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs new file mode 100644 index 00000000..f100745d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(2054162547)] + public class TLSecureValueErrorFile : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return 2054162547; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs new file mode 100644 index 00000000..6c99ca05 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1717706985)] + public class TLSecureValueErrorFiles : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return 1717706985; + } + } + + public TLAbsSecureValueType Type { get; set; } + public TLVector FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = (TLVector)ObjectUtils.DeserializeVector(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + ObjectUtils.SerializeObject(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs new file mode 100644 index 00000000..4f63a17c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(12467706)] + public class TLSecureValueErrorFrontSide : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return 12467706; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs new file mode 100644 index 00000000..fc26699e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2037765467)] + public class TLSecureValueErrorReverseSide : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return -2037765467; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs new file mode 100644 index 00000000..18b77906 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-449327402)] + public class TLSecureValueErrorSelfie : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return -449327402; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs new file mode 100644 index 00000000..7e478887 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1592506512)] + public class TLSecureValueErrorTranslationFile : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return -1592506512; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = BytesUtil.Deserialize(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs new file mode 100644 index 00000000..b1416325 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(878931416)] + public class TLSecureValueErrorTranslationFiles : TLAbsSecureValueError + { + public override int Constructor + { + get + { + return 878931416; + } + } + + public TLAbsSecureValueType Type { get; set; } + public TLVector FileHash { get; set; } + public string Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + FileHash = (TLVector)ObjectUtils.DeserializeVector(br); + Text = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + ObjectUtils.SerializeObject(FileHash, bw); + StringUtil.Serialize(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueHash.cs b/src/TeleSharp.TL/TL/TLSecureValueHash.cs new file mode 100644 index 00000000..87dc445d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueHash.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-316748368)] + public class TLSecureValueHash : TLObject + { + public override int Constructor + { + get + { + return -316748368; + } + } + + public TLAbsSecureValueType Type { get; set; } + public byte[] Hash { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); + Hash = BytesUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Type, bw); + BytesUtil.Serialize(Hash, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs new file mode 100644 index 00000000..98d5ee33 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-874308058)] + public class TLSecureValueTypeAddress : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -874308058; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs new file mode 100644 index 00000000..27bbdef0 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1995211763)] + public class TLSecureValueTypeBankStatement : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1995211763; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs new file mode 100644 index 00000000..ccf929ab --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(115615172)] + public class TLSecureValueTypeDriverLicense : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return 115615172; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs new file mode 100644 index 00000000..f3c32771 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1908627474)] + public class TLSecureValueTypeEmail : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1908627474; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelRoleModerator.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs similarity index 80% rename from src/TeleSharp.TL/TL/TLChannelRoleModerator.cs rename to src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs index 4c83babd..781b75e4 100644 --- a/src/TeleSharp.TL/TL/TLChannelRoleModerator.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1776756363)] - public class TLChannelRoleModerator : TLAbsChannelParticipantRole + [TLObject(-1596951477)] + public class TLSecureValueTypeIdentityCard : TLAbsSecureValueType { public override int Constructor { get { - return -1776756363; + return -1596951477; } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs new file mode 100644 index 00000000..a15b0f2a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1717268701)] + public class TLSecureValueTypeInternalPassport : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1717268701; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLChannelRoleEmpty.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs similarity index 81% rename from src/TeleSharp.TL/TL/TLChannelRoleEmpty.cs rename to src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs index 53820738..98e2c33f 100644 --- a/src/TeleSharp.TL/TL/TLChannelRoleEmpty.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1299865402)] - public class TLChannelRoleEmpty : TLAbsChannelParticipantRole + [TLObject(1034709504)] + public class TLSecureValueTypePassport : TLAbsSecureValueType { public override int Constructor { get { - return -1299865402; + return 1034709504; } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs new file mode 100644 index 00000000..cd90d969 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1713143702)] + public class TLSecureValueTypePassportRegistration : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1713143702; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs new file mode 100644 index 00000000..849cdbf0 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1658158621)] + public class TLSecureValueTypePersonalDetails : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1658158621; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs new file mode 100644 index 00000000..dde0794e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1289704741)] + public class TLSecureValueTypePhone : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1289704741; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs new file mode 100644 index 00000000..0f830440 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1954007928)] + public class TLSecureValueTypeRentalAgreement : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -1954007928; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs new file mode 100644 index 00000000..e259e2fd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-368907213)] + public class TLSecureValueTypeTemporaryRegistration : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -368907213; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs new file mode 100644 index 00000000..d5cff501 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-63531698)] + public class TLSecureValueTypeUtilityBill : TLAbsSecureValueType + { + public override int Constructor + { + get + { + return -63531698; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLStatsURL.cs b/src/TeleSharp.TL/TL/TLStatsURL.cs new file mode 100644 index 00000000..d3044a88 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLStatsURL.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1202287072)] + public class TLStatsURL : TLObject + { + public override int Constructor + { + get + { + return 1202287072; + } + } + + public string Url { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLStickerSet.cs b/src/TeleSharp.TL/TL/TLStickerSet.cs index 73724d11..ad877d5a 100644 --- a/src/TeleSharp.TL/TL/TLStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLStickerSet.cs @@ -7,51 +7,64 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-852477119)] + [TLObject(-290164953)] public class TLStickerSet : TLObject { public override int Constructor { get { - return -852477119; + return -290164953; } } public int Flags { get; set; } - public bool Installed { get; set; } public bool Archived { get; set; } public bool Official { get; set; } public bool Masks { get; set; } + public bool Animated { get; set; } + public int? InstalledDate { get; set; } public long Id { get; set; } public long AccessHash { get; set; } public string Title { get; set; } public string ShortName { get; set; } + public TLAbsPhotoSize Thumb { get; set; } + public int? ThumbDcId { get; set; } public int Count { get; set; } public int Hash { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Installed ? (Flags | 1) : (Flags & ~1); - Flags = Archived ? (Flags | 2) : (Flags & ~2); - Flags = Official ? (Flags | 4) : (Flags & ~4); - Flags = Masks ? (Flags | 8) : (Flags & ~8); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); - Installed = (Flags & 1) != 0; Archived = (Flags & 2) != 0; Official = (Flags & 4) != 0; Masks = (Flags & 8) != 0; + Animated = (Flags & 32) != 0; + if ((Flags & 1) != 0) + InstalledDate = br.ReadInt32(); + else + InstalledDate = null; + Id = br.ReadInt64(); AccessHash = br.ReadInt64(); Title = StringUtil.Deserialize(br); ShortName = StringUtil.Deserialize(br); + if ((Flags & 16) != 0) + Thumb = (TLAbsPhotoSize)ObjectUtils.DeserializeObject(br); + else + Thumb = null; + + if ((Flags & 16) != 0) + ThumbDcId = br.ReadInt32(); + else + ThumbDcId = null; + Count = br.ReadInt32(); Hash = br.ReadInt32(); @@ -60,16 +73,21 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + if ((Flags & 1) != 0) + bw.Write(InstalledDate.Value); bw.Write(Id); bw.Write(AccessHash); StringUtil.Serialize(Title, bw); StringUtil.Serialize(ShortName, bw); + if ((Flags & 16) != 0) + ObjectUtils.SerializeObject(Thumb, bw); + if ((Flags & 16) != 0) + bw.Write(ThumbDcId.Value); bw.Write(Count); bw.Write(Hash); diff --git a/src/TeleSharp.TL/TL/TLTextAnchor.cs b/src/TeleSharp.TL/TL/TLTextAnchor.cs new file mode 100644 index 00000000..9ad2c598 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextAnchor.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(894777186)] + public class TLTextAnchor : TLAbsRichText + { + public override int Constructor + { + get + { + return 894777186; + } + } + + public TLAbsRichText Text { get; set; } + public string Name { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Name = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + StringUtil.Serialize(Name, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTextImage.cs b/src/TeleSharp.TL/TL/TLTextImage.cs new file mode 100644 index 00000000..0de5e60e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextImage.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(136105807)] + public class TLTextImage : TLAbsRichText + { + public override int Constructor + { + get + { + return 136105807; + } + } + + public long DocumentId { get; set; } + public int W { get; set; } + public int H { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + DocumentId = br.ReadInt64(); + W = br.ReadInt32(); + H = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(DocumentId); + bw.Write(W); + bw.Write(H); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTextMarked.cs b/src/TeleSharp.TL/TL/TLTextMarked.cs new file mode 100644 index 00000000..7d603e64 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextMarked.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(55281185)] + public class TLTextMarked : TLAbsRichText + { + public override int Constructor + { + get + { + return 55281185; + } + } + + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTextPhone.cs b/src/TeleSharp.TL/TL/TLTextPhone.cs new file mode 100644 index 00000000..744ddf97 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextPhone.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(483104362)] + public class TLTextPhone : TLAbsRichText + { + public override int Constructor + { + get + { + return 483104362; + } + } + + public TLAbsRichText Text { get; set; } + public string Phone { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + Phone = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + StringUtil.Serialize(Phone, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTextSubscript.cs b/src/TeleSharp.TL/TL/TLTextSubscript.cs new file mode 100644 index 00000000..b2053af4 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextSubscript.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-311786236)] + public class TLTextSubscript : TLAbsRichText + { + public override int Constructor + { + get + { + return -311786236; + } + } + + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTextSuperscript.cs b/src/TeleSharp.TL/TL/TLTextSuperscript.cs new file mode 100644 index 00000000..b72d64ae --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTextSuperscript.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-939827711)] + public class TLTextSuperscript : TLAbsRichText + { + public override int Constructor + { + get + { + return -939827711; + } + } + + public TLAbsRichText Text { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Text, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTheme.cs b/src/TeleSharp.TL/TL/TLTheme.cs new file mode 100644 index 00000000..0e54e91c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTheme.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(42930452)] + public class TLTheme : TLObject + { + public override int Constructor + { + get + { + return 42930452; + } + } + + public int Flags { get; set; } + public bool Creator { get; set; } + public bool Default { get; set; } + public long Id { get; set; } + public long AccessHash { get; set; } + public string Slug { get; set; } + public string Title { get; set; } + public TLAbsDocument Document { get; set; } + public TLThemeSettings Settings { get; set; } + public int InstallsCount { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Creator = (Flags & 1) != 0; + Default = (Flags & 2) != 0; + Id = br.ReadInt64(); + AccessHash = br.ReadInt64(); + Slug = StringUtil.Deserialize(br); + Title = StringUtil.Deserialize(br); + if ((Flags & 4) != 0) + Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); + else + Document = null; + + if ((Flags & 8) != 0) + Settings = (TLThemeSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + + InstallsCount = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + bw.Write(Id); + bw.Write(AccessHash); + StringUtil.Serialize(Slug, bw); + StringUtil.Serialize(Title, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 8) != 0) + ObjectUtils.SerializeObject(Settings, bw); + bw.Write(InstallsCount); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLThemeSettings.cs b/src/TeleSharp.TL/TL/TLThemeSettings.cs new file mode 100644 index 00000000..c574e047 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLThemeSettings.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1676371894)] + public class TLThemeSettings : TLObject + { + public override int Constructor + { + get + { + return -1676371894; + } + } + + public int Flags { get; set; } + public TLAbsBaseTheme BaseTheme { get; set; } + public int AccentColor { get; set; } + public int? MessageTopColor { get; set; } + public int? MessageBottomColor { get; set; } + public TLAbsWallPaper Wallpaper { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + BaseTheme = (TLAbsBaseTheme)ObjectUtils.DeserializeObject(br); + AccentColor = br.ReadInt32(); + if ((Flags & 1) != 0) + MessageTopColor = br.ReadInt32(); + else + MessageTopColor = null; + + if ((Flags & 1) != 0) + MessageBottomColor = br.ReadInt32(); + else + MessageBottomColor = null; + + if ((Flags & 2) != 0) + Wallpaper = (TLAbsWallPaper)ObjectUtils.DeserializeObject(br); + else + Wallpaper = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + ObjectUtils.SerializeObject(BaseTheme, bw); + bw.Write(AccentColor); + if ((Flags & 1) != 0) + bw.Write(MessageTopColor.Value); + if ((Flags & 1) != 0) + bw.Write(MessageBottomColor.Value); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Wallpaper, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs new file mode 100644 index 00000000..082ba9a3 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-68239120)] + public class TLTopPeerCategoryForwardChats : TLAbsTopPeerCategory + { + public override int Constructor + { + get + { + return -68239120; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs new file mode 100644 index 00000000..06c60014 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1472172887)] + public class TLTopPeerCategoryForwardUsers : TLAbsTopPeerCategory + { + public override int Constructor + { + get + { + return -1472172887; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs new file mode 100644 index 00000000..d2263676 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(511092620)] + public class TLTopPeerCategoryPhoneCalls : TLAbsTopPeerCategory + { + public override int Constructor + { + get + { + return 511092620; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs index a5b84ae5..41f95cb2 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs @@ -30,9 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Data != null ? (Flags | 1) : (Flags & ~1); - Flags = GameShortName != null ? (Flags | 2) : (Flags & ~2); } @@ -60,7 +57,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); bw.Write(UserId); diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs index 24fbfa2b..6dab6f04 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs @@ -28,8 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Geo != null ? (Flags | 1) : (Flags & ~1); } @@ -51,7 +49,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); bw.Write(UserId); diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs b/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs index ab22b9bd..694e732c 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs @@ -28,9 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Geo != null ? (Flags | 1) : (Flags & ~1); - Flags = MsgId != null ? (Flags | 2) : (Flags & ~2); } @@ -56,7 +53,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(UserId); StringUtil.Serialize(Query, bw); diff --git a/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs index 4db1dafd..bfccc1ca 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs @@ -30,9 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Info != null ? (Flags | 1) : (Flags & ~1); - Flags = ShippingOptionId != null ? (Flags | 2) : (Flags & ~2); } @@ -60,7 +57,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); bw.Write(UserId); diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs b/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs new file mode 100644 index 00000000..2a07ed4c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1893427255)] + public class TLUpdateChannelAvailableMessages : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1893427255; + } + } + + public int ChannelId { get; set; } + public int AvailableMinId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + ChannelId = br.ReadInt32(); + AvailableMinId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(ChannelId); + bw.Write(AvailableMinId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs b/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs new file mode 100644 index 00000000..5154492f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1987495099)] + public class TLUpdateChannelReadMessagesContents : TLAbsUpdate + { + public override int Constructor + { + get + { + return -1987495099; + } + } + + public int ChannelId { get; set; } + public TLVector Messages { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + ChannelId = br.ReadInt32(); + Messages = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(ChannelId); + ObjectUtils.SerializeObject(Messages, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs b/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs index e8c2b4d7..82d3bcad 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Pts != null ? (Flags | 1) : (Flags & ~1); } @@ -45,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(ChannelId); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs b/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs new file mode 100644 index 00000000..4db40835 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1421875280)] + public class TLUpdateChatDefaultBannedRights : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1421875280; + } + } + + public TLAbsPeer Peer { get; set; } + public TLChatBannedRights DefaultBannedRights { get; set; } + public int Version { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + DefaultBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); + Version = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(DefaultBannedRights, bw); + bw.Write(Version); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateChatAdmins.cs b/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs similarity index 75% rename from src/TeleSharp.TL/TL/TLUpdateChatAdmins.cs rename to src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs index 8632d9c9..40634391 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatAdmins.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1855224129)] - public class TLUpdateChatAdmins : TLAbsUpdate + [TLObject(-519195831)] + public class TLUpdateChatPinnedMessage : TLAbsUpdate { public override int Constructor { get { - return 1855224129; + return -519195831; } } public int ChatId { get; set; } - public bool Enabled { get; set; } + public int Id { get; set; } public int Version { get; set; } @@ -31,7 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - Enabled = BoolUtil.Deserialize(br); + Id = br.ReadInt32(); Version = br.ReadInt32(); } @@ -40,7 +40,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - BoolUtil.Serialize(Enabled, bw); + bw.Write(Id); bw.Write(Version); } diff --git a/src/TeleSharp.TL/TL/TLUpdateContactLink.cs b/src/TeleSharp.TL/TL/TLUpdateContactLink.cs deleted file mode 100644 index bba7e0b1..00000000 --- a/src/TeleSharp.TL/TL/TLUpdateContactLink.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(-1657903163)] - public class TLUpdateContactLink : TLAbsUpdate - { - public override int Constructor - { - get - { - return -1657903163; - } - } - - public int UserId { get; set; } - public TLAbsContactLink MyLink { get; set; } - public TLAbsContactLink ForeignLink { get; set; } - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - UserId = br.ReadInt32(); - MyLink = (TLAbsContactLink)ObjectUtils.DeserializeObject(br); - ForeignLink = (TLAbsContactLink)ObjectUtils.DeserializeObject(br); - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - bw.Write(UserId); - ObjectUtils.SerializeObject(MyLink, bw); - ObjectUtils.SerializeObject(ForeignLink, bw); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs b/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs new file mode 100644 index 00000000..274f1f08 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1887741886)] + public class TLUpdateContactsReset : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1887741886; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs b/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs new file mode 100644 index 00000000..241e4e6c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1870238482)] + public class TLUpdateDeleteScheduledMessages : TLAbsUpdate + { + public override int Constructor + { + get + { + return -1870238482; + } + } + + public TLAbsPeer Peer { get; set; } + public TLVector Messages { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + Messages = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Messages, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs b/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs index e32d0c6c..695fe890 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs @@ -7,26 +7,25 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-686710068)] + [TLObject(1852826908)] public class TLUpdateDialogPinned : TLAbsUpdate { public override int Constructor { get { - return -686710068; + return 1852826908; } } public int Flags { get; set; } public bool Pinned { get; set; } - public TLAbsPeer Peer { get; set; } + public int? FolderId { get; set; } + public TLAbsDialogPeer Peer { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Pinned ? (Flags | 1) : (Flags & ~1); } @@ -34,16 +33,22 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Pinned = (Flags & 1) != 0; - Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + if ((Flags & 2) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + + Peer = (TLAbsDialogPeer)ObjectUtils.DeserializeObject(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + if ((Flags & 2) != 0) + bw.Write(FolderId.Value); ObjectUtils.SerializeObject(Peer, bw); } diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs b/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs new file mode 100644 index 00000000..2df1320a --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-513517117)] + public class TLUpdateDialogUnreadMark : TLAbsUpdate + { + public override int Constructor + { + get + { + return -513517117; + } + } + + public int Flags { get; set; } + public bool Unread { get; set; } + public TLAbsDialogPeer Peer { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Unread = (Flags & 1) != 0; + Peer = (TLAbsDialogPeer)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Peer, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs b/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs new file mode 100644 index 00000000..c994760d --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-451831443)] + public class TLUpdateFavedStickers : TLAbsUpdate + { + public override int Constructor + { + get + { + return -451831443; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs b/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs new file mode 100644 index 00000000..8f5ba317 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(422972864)] + public class TLUpdateFolderPeers : TLAbsUpdate + { + public override int Constructor + { + get + { + return 422972864; + } + } + + public TLVector FolderPeers { get; set; } + public int Pts { get; set; } + public int PtsCount { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FolderPeers = (TLVector)ObjectUtils.DeserializeVector(br); + Pts = br.ReadInt32(); + PtsCount = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(FolderPeers, bw); + bw.Write(Pts); + bw.Write(PtsCount); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs b/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs new file mode 100644 index 00000000..d99a2edd --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2027964103)] + public class TLUpdateGeoLiveViewed : TLAbsUpdate + { + public override int Constructor + { + get + { + return -2027964103; + } + } + + public TLAbsPeer Peer { get; set; } + public int MsgId { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + MsgId = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + bw.Write(MsgId); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs b/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs index 24d36bec..4a54d2e6 100644 --- a/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs @@ -29,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Data != null ? (Flags | 1) : (Flags & ~1); - Flags = GameShortName != null ? (Flags | 2) : (Flags & ~2); } @@ -58,7 +55,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(QueryId); bw.Write(UserId); diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPack.cs b/src/TeleSharp.TL/TL/TLUpdateLangPack.cs new file mode 100644 index 00000000..732b8c34 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateLangPack.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1442983757)] + public class TLUpdateLangPack : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1442983757; + } + } + + public TLLangPackDifference Difference { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Difference = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Difference, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs b/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs new file mode 100644 index 00000000..e91a6f13 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1180041828)] + public class TLUpdateLangPackTooLong : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1180041828; + } + } + + public string LangCode { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + LangCode = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(LangCode, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs b/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs new file mode 100644 index 00000000..a4a3ef34 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1448076945)] + public class TLUpdateLoginToken : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1448076945; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs b/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs new file mode 100644 index 00000000..ad1127b6 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1398708869)] + public class TLUpdateMessagePoll : TLAbsUpdate + { + public override int Constructor + { + get + { + return -1398708869; + } + } + + public int Flags { get; set; } + public long PollId { get; set; } + public TLPoll Poll { get; set; } + public TLPollResults Results { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + PollId = br.ReadInt64(); + if ((Flags & 1) != 0) + Poll = (TLPoll)ObjectUtils.DeserializeObject(br); + else + Poll = null; + + Results = (TLPollResults)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + bw.Write(PollId); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Poll, bw); + ObjectUtils.SerializeObject(Results, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs b/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs new file mode 100644 index 00000000..a4714f00 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(967122427)] + public class TLUpdateNewScheduledMessage : TLAbsUpdate + { + public override int Constructor + { + get + { + return 967122427; + } + } + + public TLAbsMessage Message { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Message, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs b/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs index 7fa5fca3..3714f83a 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs @@ -19,7 +19,7 @@ public override int Constructor } public TLAbsNotifyPeer Peer { get; set; } - public TLAbsPeerNotifySettings NotifySettings { get; set; } + public TLPeerNotifySettings NotifySettings { get; set; } public void ComputeFlags() @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsNotifyPeer)ObjectUtils.DeserializeObject(br); - NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); } diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs b/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs new file mode 100644 index 00000000..eab67fde --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1263546448)] + public class TLUpdatePeerLocated : TLAbsUpdate + { + public override int Constructor + { + get + { + return -1263546448; + } + } + + public TLVector Peers { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peers = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peers, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs b/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs new file mode 100644 index 00000000..86094cdf --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1786671974)] + public class TLUpdatePeerSettings : TLAbsUpdate + { + public override int Constructor + { + get + { + return 1786671974; + } + } + + public TLAbsPeer Peer { get; set; } + public TLPeerSettings Settings { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); + Settings = (TLPeerSettings)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Peer, bw); + ObjectUtils.SerializeObject(Settings, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs b/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs index 270db76d..da27fd62 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs @@ -7,33 +7,37 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-657787251)] + [TLObject(-99664734)] public class TLUpdatePinnedDialogs : TLAbsUpdate { public override int Constructor { get { - return -657787251; + return -99664734; } } public int Flags { get; set; } - public TLVector Order { get; set; } + public int? FolderId { get; set; } + public TLVector Order { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Order != null ? (Flags | 1) : (Flags & ~1); } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); + if ((Flags & 2) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + if ((Flags & 1) != 0) - Order = (TLVector)ObjectUtils.DeserializeVector(br); + Order = (TLVector)ObjectUtils.DeserializeVector(br); else Order = null; @@ -43,8 +47,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + if ((Flags & 2) != 0) + bw.Write(FolderId.Value); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Order, bw); diff --git a/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs index bc0e8756..f57a5fca 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs @@ -7,19 +7,23 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1108669311)] + [TLObject(856380452)] public class TLUpdateReadChannelInbox : TLAbsUpdate { public override int Constructor { get { - return 1108669311; + return 856380452; } } + public int Flags { get; set; } + public int? FolderId { get; set; } public int ChannelId { get; set; } public int MaxId { get; set; } + public int StillUnreadCount { get; set; } + public int Pts { get; set; } public void ComputeFlags() @@ -29,16 +33,29 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + ChannelId = br.ReadInt32(); MaxId = br.ReadInt32(); + StillUnreadCount = br.ReadInt32(); + Pts = br.ReadInt32(); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + bw.Write(FolderId.Value); bw.Write(ChannelId); bw.Write(MaxId); + bw.Write(StillUnreadCount); + bw.Write(Pts); } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs index 7334caaa..c31dd8c4 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs @@ -7,19 +7,22 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-1721631396)] + [TLObject(-1667805217)] public class TLUpdateReadHistoryInbox : TLAbsUpdate { public override int Constructor { get { - return -1721631396; + return -1667805217; } } + public int Flags { get; set; } + public int? FolderId { get; set; } public TLAbsPeer Peer { get; set; } public int MaxId { get; set; } + public int StillUnreadCount { get; set; } public int Pts { get; set; } public int PtsCount { get; set; } @@ -31,8 +34,15 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); + StillUnreadCount = br.ReadInt32(); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); @@ -41,8 +51,12 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + bw.Write(FolderId.Value); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MaxId); + bw.Write(StillUnreadCount); bw.Write(Pts); bw.Write(PtsCount); diff --git a/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs b/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs index f2a70e8f..8d30766b 100644 --- a/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs +++ b/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs @@ -29,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Popup ? (Flags | 1) : (Flags & ~1); - Flags = InboxDate != null ? (Flags | 2) : (Flags & ~2); } @@ -54,7 +51,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); if ((Flags & 2) != 0) diff --git a/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs index eed4f179..d89a6211 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs @@ -38,15 +38,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Out ? (Flags | 2) : (Flags & ~2); - Flags = Mentioned ? (Flags | 16) : (Flags & ~16); - Flags = MediaUnread ? (Flags | 32) : (Flags & ~32); - Flags = Silent ? (Flags | 8192) : (Flags & ~8192); - Flags = FwdFrom != null ? (Flags | 4) : (Flags & ~4); - Flags = ViaBotId != null ? (Flags | 2048) : (Flags & ~2048); - Flags = ReplyToMsgId != null ? (Flags | 8) : (Flags & ~8); - Flags = Entities != null ? (Flags | 128) : (Flags & ~128); } @@ -90,7 +81,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs index 822d2559..79b764cd 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs @@ -37,15 +37,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Out ? (Flags | 2) : (Flags & ~2); - Flags = Mentioned ? (Flags | 16) : (Flags & ~16); - Flags = MediaUnread ? (Flags | 32) : (Flags & ~32); - Flags = Silent ? (Flags | 8192) : (Flags & ~8192); - Flags = FwdFrom != null ? (Flags | 4) : (Flags & ~4); - Flags = ViaBotId != null ? (Flags | 2048) : (Flags & ~2048); - Flags = ReplyToMsgId != null ? (Flags | 8) : (Flags & ~8); - Flags = Entities != null ? (Flags | 128) : (Flags & ~128); } @@ -88,7 +79,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); diff --git a/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs index 24ddc2a0..2382ee05 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs @@ -30,10 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Out ? (Flags | 2) : (Flags & ~2); - Flags = Media != null ? (Flags | 512) : (Flags & ~512); - Flags = Entities != null ? (Flags | 128) : (Flags & ~128); } @@ -61,7 +57,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Id); diff --git a/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs b/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs index 0f0de131..8c5836fe 100644 --- a/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs +++ b/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs @@ -25,8 +25,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Masks ? (Flags | 1) : (Flags & ~1); } @@ -41,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Order, bw); diff --git a/src/TeleSharp.TL/TL/TLUpdateTheme.cs b/src/TeleSharp.TL/TL/TLUpdateTheme.cs new file mode 100644 index 00000000..455007e4 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUpdateTheme.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-2112423005)] + public class TLUpdateTheme : TLAbsUpdate + { + public override int Constructor + { + get + { + return -2112423005; + } + } + + public TLTheme Theme { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Theme = (TLTheme)ObjectUtils.DeserializeObject(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Theme, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUpdateContactRegistered.cs b/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs similarity index 75% rename from src/TeleSharp.TL/TL/TLUpdateContactRegistered.cs rename to src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs index 5cc83f73..55adfdab 100644 --- a/src/TeleSharp.TL/TL/TLUpdateContactRegistered.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs @@ -7,19 +7,19 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(628472761)] - public class TLUpdateContactRegistered : TLAbsUpdate + [TLObject(1279515160)] + public class TLUpdateUserPinnedMessage : TLAbsUpdate { public override int Constructor { get { - return 628472761; + return 1279515160; } } public int UserId { get; set; } - public int Date { get; set; } + public int Id { get; set; } public void ComputeFlags() @@ -30,7 +30,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); - Date = br.ReadInt32(); + Id = br.ReadInt32(); } @@ -38,7 +38,7 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(UserId); - bw.Write(Date); + bw.Write(Id); } } diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs new file mode 100644 index 00000000..d7c81202 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1886646706)] + public class TLUrlAuthResultAccepted : TLAbsUrlAuthResult + { + public override int Constructor + { + get + { + return -1886646706; + } + } + + public string Url { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs new file mode 100644 index 00000000..1ca33249 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1445536993)] + public class TLUrlAuthResultDefault : TLAbsUrlAuthResult + { + public override int Constructor + { + get + { + return -1445536993; + } + } + + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs new file mode 100644 index 00000000..a1e94dc0 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1831650802)] + public class TLUrlAuthResultRequest : TLAbsUrlAuthResult + { + public override int Constructor + { + get + { + return -1831650802; + } + } + + public int Flags { get; set; } + public bool RequestWriteAccess { get; set; } + public TLAbsUser Bot { get; set; } + public string Domain { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + RequestWriteAccess = (Flags & 1) != 0; + Bot = (TLAbsUser)ObjectUtils.DeserializeObject(br); + Domain = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Bot, bw); + StringUtil.Serialize(Domain, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLUser.cs b/src/TeleSharp.TL/TL/TLUser.cs index 4456102f..65629568 100644 --- a/src/TeleSharp.TL/TL/TLUser.cs +++ b/src/TeleSharp.TL/TL/TLUser.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(773059779)] + [TLObject(-1820043071)] public class TLUser : TLAbsUser { public override int Constructor { get { - return 773059779; + return -1820043071; } } @@ -30,6 +30,8 @@ public override int Constructor public bool Restricted { get; set; } public bool Min { get; set; } public bool BotInlineGeo { get; set; } + public bool Support { get; set; } + public bool Scam { get; set; } public int Id { get; set; } public long? AccessHash { get; set; } public string FirstName { get; set; } @@ -39,36 +41,13 @@ public override int Constructor public TLAbsUserProfilePhoto Photo { get; set; } public TLAbsUserStatus Status { get; set; } public int? BotInfoVersion { get; set; } - public string RestrictionReason { get; set; } + public TLVector RestrictionReason { get; set; } public string BotInlinePlaceholder { get; set; } public string LangCode { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Self ? (Flags | 1024) : (Flags & ~1024); - Flags = Contact ? (Flags | 2048) : (Flags & ~2048); - Flags = MutualContact ? (Flags | 4096) : (Flags & ~4096); - Flags = Deleted ? (Flags | 8192) : (Flags & ~8192); - Flags = Bot ? (Flags | 16384) : (Flags & ~16384); - Flags = BotChatHistory ? (Flags | 32768) : (Flags & ~32768); - Flags = BotNochats ? (Flags | 65536) : (Flags & ~65536); - Flags = Verified ? (Flags | 131072) : (Flags & ~131072); - Flags = Restricted ? (Flags | 262144) : (Flags & ~262144); - Flags = Min ? (Flags | 1048576) : (Flags & ~1048576); - Flags = BotInlineGeo ? (Flags | 2097152) : (Flags & ~2097152); - Flags = AccessHash != null ? (Flags | 1) : (Flags & ~1); - Flags = FirstName != null ? (Flags | 2) : (Flags & ~2); - Flags = LastName != null ? (Flags | 4) : (Flags & ~4); - Flags = Username != null ? (Flags | 8) : (Flags & ~8); - Flags = Phone != null ? (Flags | 16) : (Flags & ~16); - Flags = Photo != null ? (Flags | 32) : (Flags & ~32); - Flags = Status != null ? (Flags | 64) : (Flags & ~64); - Flags = BotInfoVersion != null ? (Flags | 16384) : (Flags & ~16384); - Flags = RestrictionReason != null ? (Flags | 262144) : (Flags & ~262144); - Flags = BotInlinePlaceholder != null ? (Flags | 524288) : (Flags & ~524288); - Flags = LangCode != null ? (Flags | 4194304) : (Flags & ~4194304); } @@ -86,6 +65,8 @@ public override void DeserializeBody(BinaryReader br) Restricted = (Flags & 262144) != 0; Min = (Flags & 1048576) != 0; BotInlineGeo = (Flags & 2097152) != 0; + Support = (Flags & 8388608) != 0; + Scam = (Flags & 16777216) != 0; Id = br.ReadInt32(); if ((Flags & 1) != 0) AccessHash = br.ReadInt64(); @@ -128,7 +109,7 @@ public override void DeserializeBody(BinaryReader br) BotInfoVersion = null; if ((Flags & 262144) != 0) - RestrictionReason = StringUtil.Deserialize(br); + RestrictionReason = (TLVector)ObjectUtils.DeserializeVector(br); else RestrictionReason = null; @@ -148,7 +129,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); @@ -161,6 +141,8 @@ public override void SerializeBody(BinaryWriter bw) + + bw.Write(Id); if ((Flags & 1) != 0) bw.Write(AccessHash.Value); @@ -179,7 +161,7 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 16384) != 0) bw.Write(BotInfoVersion.Value); if ((Flags & 262144) != 0) - StringUtil.Serialize(RestrictionReason, bw); + ObjectUtils.SerializeObject(RestrictionReason, bw); if ((Flags & 524288) != 0) StringUtil.Serialize(BotInlinePlaceholder, bw); if ((Flags & 4194304) != 0) diff --git a/src/TeleSharp.TL/TL/TLUserFull.cs b/src/TeleSharp.TL/TL/TLUserFull.cs index 370852f3..2ef6b132 100644 --- a/src/TeleSharp.TL/TL/TLUserFull.cs +++ b/src/TeleSharp.TL/TL/TLUserFull.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(253890367)] + [TLObject(-302941166)] public class TLUserFull : TLObject { public override int Constructor { get { - return 253890367; + return -302941166; } } @@ -22,24 +22,21 @@ public override int Constructor public bool Blocked { get; set; } public bool PhoneCallsAvailable { get; set; } public bool PhoneCallsPrivate { get; set; } + public bool CanPinMessage { get; set; } + public bool HasScheduled { get; set; } public TLAbsUser User { get; set; } public string About { get; set; } - public Contacts.TLLink Link { get; set; } + public TLPeerSettings Settings { get; set; } public TLAbsPhoto ProfilePhoto { get; set; } - public TLAbsPeerNotifySettings NotifySettings { get; set; } + public TLPeerNotifySettings NotifySettings { get; set; } public TLBotInfo BotInfo { get; set; } + public int? PinnedMsgId { get; set; } public int CommonChatsCount { get; set; } + public int? FolderId { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Blocked ? (Flags | 1) : (Flags & ~1); - Flags = PhoneCallsAvailable ? (Flags | 16) : (Flags & ~16); - Flags = PhoneCallsPrivate ? (Flags | 32) : (Flags & ~32); - Flags = About != null ? (Flags | 2) : (Flags & ~2); - Flags = ProfilePhoto != null ? (Flags | 4) : (Flags & ~4); - Flags = BotInfo != null ? (Flags | 8) : (Flags & ~8); } @@ -49,46 +46,63 @@ public override void DeserializeBody(BinaryReader br) Blocked = (Flags & 1) != 0; PhoneCallsAvailable = (Flags & 16) != 0; PhoneCallsPrivate = (Flags & 32) != 0; + CanPinMessage = (Flags & 128) != 0; + HasScheduled = (Flags & 4096) != 0; User = (TLAbsUser)ObjectUtils.DeserializeObject(br); if ((Flags & 2) != 0) About = StringUtil.Deserialize(br); else About = null; - Link = (Contacts.TLLink)ObjectUtils.DeserializeObject(br); + Settings = (TLPeerSettings)ObjectUtils.DeserializeObject(br); if ((Flags & 4) != 0) ProfilePhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); else ProfilePhoto = null; - NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); + NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); if ((Flags & 8) != 0) BotInfo = (TLBotInfo)ObjectUtils.DeserializeObject(br); else BotInfo = null; + if ((Flags & 64) != 0) + PinnedMsgId = br.ReadInt32(); + else + PinnedMsgId = null; + CommonChatsCount = br.ReadInt32(); + if ((Flags & 2048) != 0) + FolderId = br.ReadInt32(); + else + FolderId = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); + + ObjectUtils.SerializeObject(User, bw); if ((Flags & 2) != 0) StringUtil.Serialize(About, bw); - ObjectUtils.SerializeObject(Link, bw); + ObjectUtils.SerializeObject(Settings, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ProfilePhoto, bw); ObjectUtils.SerializeObject(NotifySettings, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(BotInfo, bw); + if ((Flags & 64) != 0) + bw.Write(PinnedMsgId.Value); bw.Write(CommonChatsCount); + if ((Flags & 2048) != 0) + bw.Write(FolderId.Value); } } diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs index a6a774e0..f23793f5 100644 --- a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs @@ -7,20 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-715532088)] + [TLObject(-321430132)] public class TLUserProfilePhoto : TLAbsUserProfilePhoto { public override int Constructor { get { - return -715532088; + return -321430132; } } public long PhotoId { get; set; } - public TLAbsFileLocation PhotoSmall { get; set; } - public TLAbsFileLocation PhotoBig { get; set; } + public TLFileLocationToBeDeprecated PhotoSmall { get; set; } + public TLFileLocationToBeDeprecated PhotoBig { get; set; } + public int DcId { get; set; } public void ComputeFlags() @@ -31,8 +32,9 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { PhotoId = br.ReadInt64(); - PhotoSmall = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); - PhotoBig = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br); + PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + DcId = br.ReadInt32(); } @@ -42,6 +44,7 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(PhotoId); ObjectUtils.SerializeObject(PhotoSmall, bw); ObjectUtils.SerializeObject(PhotoBig, bw); + bw.Write(DcId); } } diff --git a/src/TeleSharp.TL/TL/TLVector.cs b/src/TeleSharp.TL/TL/TLVector.cs index 562ceb0a..c46d9dbd 100644 --- a/src/TeleSharp.TL/TL/TLVector.cs +++ b/src/TeleSharp.TL/TL/TLVector.cs @@ -7,7 +7,7 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(481674261)] + [TLObject(481674261)] public class TLVector : TLObject { public override int Constructor @@ -18,22 +18,22 @@ public override int Constructor } } - - public void ComputeFlags() - { - - } + + public void ComputeFlags() + { + + } public override void DeserializeBody(BinaryReader br) { - + } public override void SerializeBody(BinaryWriter bw) { - bw.Write(Constructor); - + bw.Write(Constructor); + } } } diff --git a/src/TeleSharp.TL/TL/TLWallPaper.cs b/src/TeleSharp.TL/TL/TLWallPaper.cs index ece244d6..741cd728 100644 --- a/src/TeleSharp.TL/TL/TLWallPaper.cs +++ b/src/TeleSharp.TL/TL/TLWallPaper.cs @@ -7,21 +7,27 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-860866985)] + [TLObject(-1539849235)] public class TLWallPaper : TLAbsWallPaper { public override int Constructor { get { - return -860866985; + return -1539849235; } } - public int Id { get; set; } - public string Title { get; set; } - public TLVector Sizes { get; set; } - public int Color { get; set; } + public long Id { get; set; } + public int Flags { get; set; } + public bool Creator { get; set; } + public bool Default { get; set; } + public bool Pattern { get; set; } + public bool Dark { get; set; } + public long AccessHash { get; set; } + public string Slug { get; set; } + public TLAbsDocument Document { get; set; } + public TLWallPaperSettings Settings { get; set; } public void ComputeFlags() @@ -31,10 +37,20 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Id = br.ReadInt32(); - Title = StringUtil.Deserialize(br); - Sizes = (TLVector)ObjectUtils.DeserializeVector(br); - Color = br.ReadInt32(); + Id = br.ReadInt64(); + Flags = br.ReadInt32(); + Creator = (Flags & 1) != 0; + Default = (Flags & 2) != 0; + Pattern = (Flags & 8) != 0; + Dark = (Flags & 16) != 0; + AccessHash = br.ReadInt64(); + Slug = StringUtil.Deserialize(br); + Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); + if ((Flags & 4) != 0) + Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + } @@ -42,9 +58,16 @@ public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - StringUtil.Serialize(Title, bw); - ObjectUtils.SerializeObject(Sizes, bw); - bw.Write(Color); + bw.Write(Flags); + + + + + bw.Write(AccessHash); + StringUtil.Serialize(Slug, bw); + ObjectUtils.SerializeObject(Document, bw); + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Settings, bw); } } diff --git a/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs b/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs new file mode 100644 index 00000000..30825f7f --- /dev/null +++ b/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-1963717851)] + public class TLWallPaperNoFile : TLAbsWallPaper + { + public override int Constructor + { + get + { + return -1963717851; + } + } + + public int Flags { get; set; } + public bool Default { get; set; } + public bool Dark { get; set; } + public TLWallPaperSettings Settings { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Default = (Flags & 2) != 0; + Dark = (Flags & 16) != 0; + if ((Flags & 4) != 0) + Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + if ((Flags & 4) != 0) + ObjectUtils.SerializeObject(Settings, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLWallPaperSettings.cs b/src/TeleSharp.TL/TL/TLWallPaperSettings.cs new file mode 100644 index 00000000..d1ef709c --- /dev/null +++ b/src/TeleSharp.TL/TL/TLWallPaperSettings.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(84438264)] + public class TLWallPaperSettings : TLObject + { + public override int Constructor + { + get + { + return 84438264; + } + } + + public int Flags { get; set; } + public bool Blur { get; set; } + public bool Motion { get; set; } + public int? BackgroundColor { get; set; } + public int? SecondBackgroundColor { get; set; } + public int? Intensity { get; set; } + public int? Rotation { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + Blur = (Flags & 2) != 0; + Motion = (Flags & 4) != 0; + if ((Flags & 1) != 0) + BackgroundColor = br.ReadInt32(); + else + BackgroundColor = null; + + if ((Flags & 16) != 0) + SecondBackgroundColor = br.ReadInt32(); + else + SecondBackgroundColor = null; + + if ((Flags & 8) != 0) + Intensity = br.ReadInt32(); + else + Intensity = null; + + if ((Flags & 16) != 0) + Rotation = br.ReadInt32(); + else + Rotation = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + + + if ((Flags & 1) != 0) + bw.Write(BackgroundColor.Value); + if ((Flags & 16) != 0) + bw.Write(SecondBackgroundColor.Value); + if ((Flags & 8) != 0) + bw.Write(Intensity.Value); + if ((Flags & 16) != 0) + bw.Write(Rotation.Value); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLWallPaperSolid.cs b/src/TeleSharp.TL/TL/TLWallPaperSolid.cs deleted file mode 100644 index 3ddfda07..00000000 --- a/src/TeleSharp.TL/TL/TLWallPaperSolid.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(1662091044)] - public class TLWallPaperSolid : TLAbsWallPaper - { - public override int Constructor - { - get - { - return 1662091044; - } - } - - public int Id { get; set; } - public string Title { get; set; } - public int BgColor { get; set; } - public int Color { get; set; } - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - Id = br.ReadInt32(); - Title = StringUtil.Deserialize(br); - BgColor = br.ReadInt32(); - Color = br.ReadInt32(); - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - bw.Write(Id); - StringUtil.Serialize(Title, bw); - bw.Write(BgColor); - bw.Write(Color); - - } - } -} diff --git a/src/TeleSharp.TL/TL/TLWebAuthorization.cs b/src/TeleSharp.TL/TL/TLWebAuthorization.cs new file mode 100644 index 00000000..a9ab6fe8 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLWebAuthorization.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-892779534)] + public class TLWebAuthorization : TLObject + { + public override int Constructor + { + get + { + return -892779534; + } + } + + public long Hash { get; set; } + public int BotId { get; set; } + public string Domain { get; set; } + public string Browser { get; set; } + public string Platform { get; set; } + public int DateCreated { get; set; } + public int DateActive { get; set; } + public string Ip { get; set; } + public string Region { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Hash = br.ReadInt64(); + BotId = br.ReadInt32(); + Domain = StringUtil.Deserialize(br); + Browser = StringUtil.Deserialize(br); + Platform = StringUtil.Deserialize(br); + DateCreated = br.ReadInt32(); + DateActive = br.ReadInt32(); + Ip = StringUtil.Deserialize(br); + Region = StringUtil.Deserialize(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Hash); + bw.Write(BotId); + StringUtil.Serialize(Domain, bw); + StringUtil.Serialize(Browser, bw); + StringUtil.Serialize(Platform, bw); + bw.Write(DateCreated); + bw.Write(DateActive); + StringUtil.Serialize(Ip, bw); + StringUtil.Serialize(Region, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLWebDocument.cs b/src/TeleSharp.TL/TL/TLWebDocument.cs index 321d0dd8..06cadcfc 100644 --- a/src/TeleSharp.TL/TL/TLWebDocument.cs +++ b/src/TeleSharp.TL/TL/TLWebDocument.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(-971322408)] - public class TLWebDocument : TLObject + [TLObject(475467473)] + public class TLWebDocument : TLAbsWebDocument { public override int Constructor { get { - return -971322408; + return 475467473; } } @@ -23,7 +23,6 @@ public override int Constructor public int Size { get; set; } public string MimeType { get; set; } public TLVector Attributes { get; set; } - public int DcId { get; set; } public void ComputeFlags() @@ -38,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) Size = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - DcId = br.ReadInt32(); } @@ -50,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Size); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Attributes, bw); - bw.Write(DcId); } } diff --git a/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs b/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs new file mode 100644 index 00000000..93a73e86 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(-104284986)] + public class TLWebDocumentNoProxy : TLAbsWebDocument + { + public override int Constructor + { + get + { + return -104284986; + } + } + + public string Url { get; set; } + public int Size { get; set; } + public string MimeType { get; set; } + public TLVector Attributes { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Url = StringUtil.Deserialize(br); + Size = br.ReadInt32(); + MimeType = StringUtil.Deserialize(br); + Attributes = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + StringUtil.Serialize(Url, bw); + bw.Write(Size); + StringUtil.Serialize(MimeType, bw); + ObjectUtils.SerializeObject(Attributes, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/TLWebPage.cs b/src/TeleSharp.TL/TL/TLWebPage.cs index b673437f..4625baa8 100644 --- a/src/TeleSharp.TL/TL/TLWebPage.cs +++ b/src/TeleSharp.TL/TL/TLWebPage.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL { - [TLObject(1594340540)] + [TLObject(-392411726)] public class TLWebPage : TLAbsWebPage { public override int Constructor { get { - return 1594340540; + return -392411726; } } @@ -35,25 +35,12 @@ public override int Constructor public int? Duration { get; set; } public string Author { get; set; } public TLAbsDocument Document { get; set; } - public TLAbsPage CachedPage { get; set; } + public TLPage CachedPage { get; set; } + public TLVector Attributes { get; set; } public void ComputeFlags() { - Flags = 0; - Flags = Type != null ? (Flags | 1) : (Flags & ~1); - Flags = SiteName != null ? (Flags | 2) : (Flags & ~2); - Flags = Title != null ? (Flags | 4) : (Flags & ~4); - Flags = Description != null ? (Flags | 8) : (Flags & ~8); - Flags = Photo != null ? (Flags | 16) : (Flags & ~16); - Flags = EmbedUrl != null ? (Flags | 32) : (Flags & ~32); - Flags = EmbedType != null ? (Flags | 32) : (Flags & ~32); - Flags = EmbedWidth != null ? (Flags | 64) : (Flags & ~64); - Flags = EmbedHeight != null ? (Flags | 64) : (Flags & ~64); - Flags = Duration != null ? (Flags | 128) : (Flags & ~128); - Flags = Author != null ? (Flags | 256) : (Flags & ~256); - Flags = Document != null ? (Flags | 512) : (Flags & ~512); - Flags = CachedPage != null ? (Flags | 1024) : (Flags & ~1024); } @@ -125,17 +112,21 @@ public override void DeserializeBody(BinaryReader br) Document = null; if ((Flags & 1024) != 0) - CachedPage = (TLAbsPage)ObjectUtils.DeserializeObject(br); + CachedPage = (TLPage)ObjectUtils.DeserializeObject(br); else CachedPage = null; + if ((Flags & 4096) != 0) + Attributes = (TLVector)ObjectUtils.DeserializeVector(br); + else + Attributes = null; + } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Id); StringUtil.Serialize(Url, bw); @@ -167,6 +158,8 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Document, bw); if ((Flags & 1024) != 0) ObjectUtils.SerializeObject(CachedPage, bw); + if ((Flags & 4096) != 0) + ObjectUtils.SerializeObject(Attributes, bw); } } diff --git a/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs b/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs new file mode 100644 index 00000000..98ab6d5e --- /dev/null +++ b/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL +{ + [TLObject(1421174295)] + public class TLWebPageAttributeTheme : TLObject + { + public override int Constructor + { + get + { + return 1421174295; + } + } + + public int Flags { get; set; } + public TLVector Documents { get; set; } + public TLThemeSettings Settings { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Flags = br.ReadInt32(); + if ((Flags & 1) != 0) + Documents = (TLVector)ObjectUtils.DeserializeVector(br); + else + Documents = null; + + if ((Flags & 2) != 0) + Settings = (TLThemeSettings)ObjectUtils.DeserializeObject(br); + else + Settings = null; + + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + bw.Write(Flags); + if ((Flags & 1) != 0) + ObjectUtils.SerializeObject(Documents, bw); + if ((Flags & 2) != 0) + ObjectUtils.SerializeObject(Settings, bw); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs index deb181de..e12d3f1f 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs @@ -30,9 +30,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Final ? (Flags | 1) : (Flags & ~1); - Flags = Timeout != null ? (Flags | 2) : (Flags & ~2); } @@ -56,7 +53,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Pts); diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs index 9850a3f6..ea9766d6 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs @@ -26,9 +26,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Final ? (Flags | 1) : (Flags & ~1); - Flags = Timeout != null ? (Flags | 2) : (Flags & ~2); } @@ -48,7 +45,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Pts); diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs index a21b8fba..8adf18c0 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs @@ -7,25 +7,21 @@ using TeleSharp.TL; namespace TeleSharp.TL.Updates { - [TLObject(1091431943)] + [TLObject(-1531132162)] public class TLChannelDifferenceTooLong : TLAbsChannelDifference { public override int Constructor { get { - return 1091431943; + return -1531132162; } } public int Flags { get; set; } public bool Final { get; set; } - public int Pts { get; set; } public int? Timeout { get; set; } - public int TopMessage { get; set; } - public int ReadInboxMaxId { get; set; } - public int ReadOutboxMaxId { get; set; } - public int UnreadCount { get; set; } + public TLAbsDialog Dialog { get; set; } public TLVector Messages { get; set; } public TLVector Chats { get; set; } public TLVector Users { get; set; } @@ -33,9 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Final ? (Flags | 1) : (Flags & ~1); - Flags = Timeout != null ? (Flags | 2) : (Flags & ~2); } @@ -43,16 +36,12 @@ public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Final = (Flags & 1) != 0; - Pts = br.ReadInt32(); if ((Flags & 2) != 0) Timeout = br.ReadInt32(); else Timeout = null; - TopMessage = br.ReadInt32(); - ReadInboxMaxId = br.ReadInt32(); - ReadOutboxMaxId = br.ReadInt32(); - UnreadCount = br.ReadInt32(); + Dialog = (TLAbsDialog)ObjectUtils.DeserializeObject(br); Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); @@ -62,16 +51,11 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); - bw.Write(Pts); if ((Flags & 2) != 0) bw.Write(Timeout.Value); - bw.Write(TopMessage); - bw.Write(ReadInboxMaxId); - bw.Write(ReadOutboxMaxId); - bw.Write(UnreadCount); + ObjectUtils.SerializeObject(Dialog, bw); ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs b/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs index dc212f6a..66654dbc 100644 --- a/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs @@ -29,8 +29,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = Force ? (Flags | 1) : (Flags & ~1); } @@ -48,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); ObjectUtils.SerializeObject(Channel, bw); diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs b/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs index c02d8f63..c7d9e1d0 100644 --- a/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs @@ -28,8 +28,6 @@ public override int Constructor public void ComputeFlags() { - Flags = 0; - Flags = PtsTotalLimit != null ? (Flags | 1) : (Flags & ~1); } @@ -50,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - ComputeFlags(); bw.Write(Flags); bw.Write(Pts); if ((Flags & 1) != 0) diff --git a/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs b/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs index 5d492b5b..d98fcff2 100644 --- a/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs +++ b/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs @@ -7,14 +7,14 @@ using TeleSharp.TL; namespace TeleSharp.TL.Upload { - [TLObject(352864346)] + [TLObject(-242427324)] public class TLFileCdnRedirect : TLAbsFile { public override int Constructor { get { - return 352864346; + return -242427324; } } @@ -22,6 +22,7 @@ public override int Constructor public byte[] FileToken { get; set; } public byte[] EncryptionKey { get; set; } public byte[] EncryptionIv { get; set; } + public TLVector FileHashes { get; set; } public void ComputeFlags() @@ -35,6 +36,7 @@ public override void DeserializeBody(BinaryReader br) FileToken = BytesUtil.Deserialize(br); EncryptionKey = BytesUtil.Deserialize(br); EncryptionIv = BytesUtil.Deserialize(br); + FileHashes = (TLVector)ObjectUtils.DeserializeVector(br); } @@ -45,6 +47,7 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(FileToken, bw); BytesUtil.Serialize(EncryptionKey, bw); BytesUtil.Serialize(EncryptionIv, bw); + ObjectUtils.SerializeObject(FileHashes, bw); } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs new file mode 100644 index 00000000..3cd65ec2 --- /dev/null +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Upload +{ + [TLObject(1302676017)] + public class TLRequestGetCdnFileHashes : TLMethod + { + public override int Constructor + { + get + { + return 1302676017; + } + } + + public byte[] FileToken { get; set; } + public int Offset { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + FileToken = BytesUtil.Deserialize(br); + Offset = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + BytesUtil.Serialize(FileToken, bw); + bw.Write(Offset); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs index 69737feb..1292d826 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs @@ -7,17 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Upload { - [TLObject(-475607115)] + [TLObject(-1319462148)] public class TLRequestGetFile : TLMethod { public override int Constructor { get { - return -475607115; + return -1319462148; } } + public int Flags { get; set; } + public bool Precise { get; set; } + public bool CdnSupported { get; set; } public TLAbsInputFileLocation Location { get; set; } public int Offset { get; set; } public int Limit { get; set; } @@ -31,6 +34,9 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { + Flags = br.ReadInt32(); + Precise = (Flags & 1) != 0; + CdnSupported = (Flags & 2) != 0; Location = (TLAbsInputFileLocation)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); @@ -40,6 +46,9 @@ public override void DeserializeBody(BinaryReader br) public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); + bw.Write(Flags); + + ObjectUtils.SerializeObject(Location, bw); bw.Write(Offset); bw.Write(Limit); diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs new file mode 100644 index 00000000..1545b3a8 --- /dev/null +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Upload +{ + [TLObject(-956147407)] + public class TLRequestGetFileHashes : TLMethod + { + public override int Constructor + { + get + { + return -956147407; + } + } + + public TLAbsInputFileLocation Location { get; set; } + public int Offset { get; set; } + public TLVector Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Location = (TLAbsInputFileLocation)ObjectUtils.DeserializeObject(br); + Offset = br.ReadInt32(); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Location, bw); + bw.Write(Offset); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = (TLVector)ObjectUtils.DeserializeVector(br); + + } + } +} diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs index 3f4b946d..daf636d1 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs @@ -18,7 +18,7 @@ public override int Constructor } } - public TLInputWebFileLocation Location { get; set; } + public TLAbsInputWebFileLocation Location { get; set; } public int Offset { get; set; } public int Limit { get; set; } public Upload.TLWebFile Response { get; set; } @@ -31,7 +31,7 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Location = (TLInputWebFileLocation)ObjectUtils.DeserializeObject(br); + Location = (TLAbsInputWebFileLocation)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs index 9602cd16..713d09ff 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs @@ -7,20 +7,20 @@ using TeleSharp.TL; namespace TeleSharp.TL.Upload { - [TLObject(779755552)] + [TLObject(-1691921240)] public class TLRequestReuploadCdnFile : TLMethod { public override int Constructor { get { - return 779755552; + return -1691921240; } } public byte[] FileToken { get; set; } public byte[] RequestToken { get; set; } - public bool Response { get; set; } + public TLVector Response { get; set; } public void ComputeFlags() @@ -44,7 +44,7 @@ public override void SerializeBody(BinaryWriter bw) } public override void DeserializeResponse(BinaryReader br) { - Response = BoolUtil.Deserialize(br); + Response = (TLVector)ObjectUtils.DeserializeVector(br); } } diff --git a/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs b/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs new file mode 100644 index 00000000..1d464555 --- /dev/null +++ b/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TeleSharp.TL; +namespace TeleSharp.TL.Users +{ + [TLObject(-1865902923)] + public class TLRequestSetSecureValueErrors : TLMethod + { + public override int Constructor + { + get + { + return -1865902923; + } + } + + public TLAbsInputUser Id { get; set; } + public TLVector Errors { get; set; } + public bool Response { get; set; } + + + public void ComputeFlags() + { + + } + + public override void DeserializeBody(BinaryReader br) + { + Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); + Errors = (TLVector)ObjectUtils.DeserializeVector(br); + + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + ObjectUtils.SerializeObject(Id, bw); + ObjectUtils.SerializeObject(Errors, bw); + + } + public override void DeserializeResponse(BinaryReader br) + { + Response = BoolUtil.Deserialize(br); + + } + } +} diff --git a/src/TeleSharp.TL/TeleSharp.TL.csproj b/src/TeleSharp.TL/TeleSharp.TL.csproj index b6c36d52..803c0e22 100644 --- a/src/TeleSharp.TL/TeleSharp.TL.csproj +++ b/src/TeleSharp.TL/TeleSharp.TL.csproj @@ -77,4 +77,4 @@ --> - \ No newline at end of file + diff --git a/src/TgSharp.Core/TelegramClient.cs b/src/TgSharp.Core/TelegramClient.cs index b078ada0..2918694c 100644 --- a/src/TgSharp.Core/TelegramClient.cs +++ b/src/TgSharp.Core/TelegramClient.cs @@ -164,7 +164,7 @@ public TelegramClient(int apiId, string apiHash, throw new InvalidOperationException("Not connected!"); var completed = false; - while(!completed) + while (!completed) { try { @@ -172,7 +172,7 @@ public TelegramClient(int apiId, string apiHash, await sender.Receive(request, token).ConfigureAwait(false); completed = true; } - catch(DataCenterMigrationException e) + catch (DataCenterMigrationException e) { if (session.DataCenter.DataCenterId.HasValue && session.DataCenter.DataCenterId.Value == e.DC) @@ -192,18 +192,6 @@ public bool IsUserAuthorized() return session.TLUser != null; } - public async Task IsPhoneRegisteredAsync(string phoneNumber, CancellationToken token = default(CancellationToken)) - { - if (String.IsNullOrWhiteSpace(phoneNumber)) - throw new ArgumentNullException(nameof(phoneNumber)); - - var authCheckPhoneRequest = new TLRequestCheckPhone() { PhoneNumber = phoneNumber }; - - await RequestWithDcMigration(authCheckPhoneRequest, token).ConfigureAwait(false); - - return authCheckPhoneRequest.Response.PhoneRegistered; - } - public async Task SendCodeRequestAsync(string phoneNumber, CancellationToken token = default(CancellationToken)) { if (String.IsNullOrWhiteSpace(phoneNumber)) @@ -216,7 +204,7 @@ public bool IsUserAuthorized() return request.Response.PhoneCodeHash; } - public async Task MakeAuthAsync(string phoneNumber, string phoneCodeHash, string code, CancellationToken token = default(CancellationToken)) + public async Task MakeAuthAsync(string phoneNumber, string phoneCodeHash, string code, string firstName = "", string lastName = "", CancellationToken token = default(CancellationToken)) { if (String.IsNullOrWhiteSpace(phoneNumber)) throw new ArgumentNullException(nameof(phoneNumber)); @@ -226,53 +214,23 @@ public bool IsUserAuthorized() if (String.IsNullOrWhiteSpace(code)) throw new ArgumentNullException(nameof(code)); - - var request = new TLRequestSignIn() { PhoneNumber = phoneNumber, PhoneCodeHash = phoneCodeHash, PhoneCode = code }; - - await RequestWithDcMigration(request, token).ConfigureAwait(false); - - OnUserAuthenticated(((TLUser)request.Response.User)); - - return ((TLUser)request.Response.User); - } - - public async Task GetPasswordSetting(CancellationToken token = default(CancellationToken)) - { - var request = new TLRequestGetPassword(); - - await RequestWithDcMigration(request, token).ConfigureAwait(false); - - return (TLPassword)request.Response; - } - - public async Task MakeAuthWithPasswordAsync(TLPassword password, string password_str, CancellationToken token = default(CancellationToken)) - { - token.ThrowIfCancellationRequested(); - - byte[] password_Bytes = Encoding.UTF8.GetBytes(password_str); - IEnumerable rv = password.CurrentSalt.Concat(password_Bytes).Concat(password.CurrentSalt); - - SHA256Managed hashstring = new SHA256Managed(); - var password_hash = hashstring.ComputeHash(rv.ToArray()); - - var request = new TLRequestCheckPassword() { PasswordHash = password_hash }; - - await RequestWithDcMigration(request, token).ConfigureAwait(false); - OnUserAuthenticated((TLUser)request.Response.User); - - return (TLUser)request.Response.User; - } + var request = new TLRequestSignIn() { PhoneNumber = phoneNumber, PhoneCodeHash = phoneCodeHash, PhoneCode = code }; - public async Task SignUpAsync(string phoneNumber, string phoneCodeHash, string code, string firstName, string lastName, CancellationToken token = default(CancellationToken)) - { - var request = new TLRequestSignUp() { PhoneNumber = phoneNumber, PhoneCode = code, PhoneCodeHash = phoneCodeHash, FirstName = firstName, LastName = lastName }; - await RequestWithDcMigration(request, token).ConfigureAwait(false); - OnUserAuthenticated((TLUser)request.Response.User); - - return (TLUser)request.Response.User; + if (request.Response is TLAuthorization) + { + OnUserAuthenticated(((TLUser)((TLAuthorization)request.Response).User)); + return ((TLUser)((TLAuthorization)request.Response).User); + } + else + { + var signUpRequest = new TLRequestSignUp() { PhoneNumber = phoneNumber, PhoneCodeHash = phoneCodeHash, FirstName = firstName, LastName = lastName }; + await RequestWithDcMigration(signUpRequest, token).ConfigureAwait(false); + OnUserAuthenticated((TLUser)signUpRequest.Response.User); + return (TLUser)signUpRequest.Response.User; + } } public async Task SendRequestAsync(TLMethod methodToExecute, CancellationToken token = default(CancellationToken)) @@ -284,7 +242,7 @@ public bool IsUserAuthorized() return (T)result; } - internal async Task SendAuthenticatedRequestAsync (TLMethod methodToExecute, CancellationToken token = default(CancellationToken)) + internal async Task SendAuthenticatedRequestAsync(TLMethod methodToExecute, CancellationToken token = default(CancellationToken)) { if (!IsUserAuthorized()) throw new InvalidOperationException("Authorize user first!"); @@ -311,7 +269,7 @@ public bool IsUserAuthorized() public async Task ImportContactsAsync(IReadOnlyList contacts, CancellationToken token = default(CancellationToken)) { - var req = new TLRequestImportContacts { Contacts = new TLVector(contacts)}; + var req = new TLRequestImportContacts { Contacts = new TLVector(contacts) }; return await SendAuthenticatedRequestAsync(req, token) .ConfigureAwait(false); @@ -319,23 +277,15 @@ public bool IsUserAuthorized() public async Task DeleteContactsAsync(IReadOnlyList users, CancellationToken token = default(CancellationToken)) { - var req = new TLRequestDeleteContacts {Id = new TLVector(users)}; + var req = new TLRequestDeleteContacts { Id = new TLVector(users) }; return await SendAuthenticatedRequestAsync(req, token) .ConfigureAwait(false); } - public async Task DeleteContactAsync(TLAbsInputUser user, CancellationToken token = default(CancellationToken)) - { - var req = new TLRequestDeleteContact {Id = user}; - - return await SendAuthenticatedRequestAsync(req, token) - .ConfigureAwait(false); - } - public async Task GetContactsAsync(CancellationToken token = default(CancellationToken)) { - var req = new TLRequestGetContacts() { Hash = "" }; + var req = new TLRequestGetContacts() { Hash = 0 }; return await SendAuthenticatedRequestAsync(req, token) .ConfigureAwait(false); @@ -370,57 +320,56 @@ public bool IsUserAuthorized() offsetPeer = new TLInputPeerSelf(); var req = new TLRequestGetDialogs() - { - OffsetDate = offsetDate, - OffsetId = offsetId, - OffsetPeer = offsetPeer, + { + OffsetDate = offsetDate, + OffsetId = offsetId, + OffsetPeer = offsetPeer, Limit = limit }; return await SendAuthenticatedRequestAsync(req, token) .ConfigureAwait(false); } - public async Task SendUploadedPhoto(TLAbsInputPeer peer, TLAbsInputFile file, string caption, CancellationToken token = default(CancellationToken)) + public async Task SendUploadedPhoto(TLAbsInputPeer peer, TLAbsInputFile file, CancellationToken token = default(CancellationToken)) { return await SendAuthenticatedRequestAsync(new TLRequestSendMedia() - { - RandomId = Helpers.GenerateRandomLong(), - Background = false, - ClearDraft = false, - Media = new TLInputMediaUploadedPhoto() { File = file, Caption = caption }, - Peer = peer - }, token) + { + RandomId = Helpers.GenerateRandomLong(), + Background = false, + ClearDraft = false, + Media = new TLInputMediaUploadedPhoto() { File = file }, + Peer = peer + }, token) .ConfigureAwait(false); } public async Task SendUploadedDocument( - TLAbsInputPeer peer, TLAbsInputFile file, string caption, string mimeType, TLVector attributes, CancellationToken token = default(CancellationToken)) + TLAbsInputPeer peer, TLAbsInputFile file, string mimeType, TLVector attributes, CancellationToken token = default(CancellationToken)) { return await SendAuthenticatedRequestAsync(new TLRequestSendMedia() + { + RandomId = Helpers.GenerateRandomLong(), + Background = false, + ClearDraft = false, + Media = new TLInputMediaUploadedDocument() { - RandomId = Helpers.GenerateRandomLong(), - Background = false, - ClearDraft = false, - Media = new TLInputMediaUploadedDocument() - { - File = file, - Caption = caption, - MimeType = mimeType, - Attributes = attributes - }, - Peer = peer - }, token) + File = file, + MimeType = mimeType, + Attributes = attributes + }, + Peer = peer + }, token) .ConfigureAwait(false); } public async Task GetFile(TLAbsInputFileLocation location, int filePartSize, int offset = 0, CancellationToken token = default(CancellationToken)) { TLFile result = await SendAuthenticatedRequestAsync(new TLRequestGetFile - { - Location = location, - Limit = filePartSize, - Offset = offset - }, token) + { + Location = location, + Limit = filePartSize, + Offset = offset + }, token) .ConfigureAwait(false); return result; } diff --git a/src/TgSharp.Tests.NUnit/Test.cs b/src/TgSharp.Tests.NUnit/Test.cs index b8a49a58..7845f08f 100644 --- a/src/TgSharp.Tests.NUnit/Test.cs +++ b/src/TgSharp.Tests.NUnit/Test.cs @@ -63,19 +63,6 @@ public override async Task SignUpNewUser() await base.SignUpNewUser(); } - [Test] - public override async Task CheckPhones() - { - await base.CheckPhones(); - } - - [Test] - [Ignore("FIXME")] - public override async Task FloodExceptionShouldNotCauseCannotReadPackageLengthError() - { - await base.FloodExceptionShouldNotCauseCannotReadPackageLengthError(); - } - [Test] public override async Task SendMessageByUserNameTest() { diff --git a/src/TgSharp.Tests.VS/TgSharpTestsVs.cs b/src/TgSharp.Tests.VS/TgSharpTestsVs.cs index b06d896a..a063a35d 100644 --- a/src/TgSharp.Tests.VS/TgSharpTestsVs.cs +++ b/src/TgSharp.Tests.VS/TgSharpTestsVs.cs @@ -62,18 +62,6 @@ public override async Task SignUpNewUser() await base.SignUpNewUser(); } - [TestMethod] - public override async Task CheckPhones() - { - await base.CheckPhones(); - } - [TestMethod] - [Ignore] - public override async Task FloodExceptionShouldNotCauseCannotReadPackageLengthError() - { - await base.FloodExceptionShouldNotCauseCannotReadPackageLengthError(); - } - [TestMethod] public override async Task SendMessageByUserNameTest() { diff --git a/src/TgSharp.Tests/TgSharpTests.cs b/src/TgSharp.Tests/TgSharpTests.cs index 7d757fc4..cdc723fe 100644 --- a/src/TgSharp.Tests/TgSharpTests.cs +++ b/src/TgSharp.Tests/TgSharpTests.cs @@ -139,13 +139,6 @@ public virtual async Task AuthUser() { user = await client.MakeAuthAsync(NumberToAuthenticate, hash, code); } - catch (CloudPasswordNeededException ex) - { - var passwordSetting = await client.GetPasswordSetting(); - var password = PasswordToAuthenticate; - - user = await client.MakeAuthWithPasswordAsync(passwordSetting, password); - } catch (InvalidPhoneCodeException ex) { throw new Exception("CodeToAuthenticate is wrong in the app.config file, fill it with the code you just got now by SMS/Telegram", @@ -192,7 +185,7 @@ public virtual async Task SendMessageToChannelTest() await client.ConnectAsync(); - var dialogs = (TLDialogs) await client.GetUserDialogsAsync(); + var dialogs = (TLDialogs)await client.GetUserDialogsAsync(); var chat = dialogs.Chats .OfType() .FirstOrDefault(c => c.Title == "TestGroup"); @@ -213,7 +206,7 @@ public virtual async Task SendPhotoToContactTest() .FirstOrDefault(x => x.Phone == NumberToSendMessage); var fileResult = (TLInputFile)await client.UploadFile("cat.jpg", new StreamReader("data/cat.jpg")); - await client.SendUploadedPhoto(new TLInputPeerUser() { UserId = user.Id }, fileResult, "kitty"); + await client.SendUploadedPhoto(new TLInputPeerUser() { UserId = user.Id }, fileResult); } public virtual async Task SendBigFileToContactTest() @@ -233,7 +226,6 @@ public virtual async Task SendBigFileToContactTest() await client.SendUploadedDocument( new TLInputPeerUser() { UserId = user.Id }, fileResult, - "some zips", "application/zip", new TLVector()); } @@ -266,10 +258,11 @@ public virtual async Task DownloadFileFromContactTest() { AccessHash = document.AccessHash, Id = document.Id, - Version = document.Version + FileReference = document.FileReference, + ThumbSize = "250x250" }, document.Size); - + Assert.IsTrue(resFile.Bytes.Length > 0); } @@ -284,18 +277,19 @@ public virtual async Task DownloadFileFromWrongLocationTest() var user = result.Users .OfType() .FirstOrDefault(x => x.Id == 5880094); - + var photo = ((TLUserProfilePhoto)user.Photo); - var photoLocation = (TLFileLocation) photo.PhotoBig; + var photoLocation = (TLFileLocationToBeDeprecated)photo.PhotoBig; - var resFile = await client.GetFile(new TLInputFileLocation() + var resFile = await client.GetFile(new TLInputPeerPhotoFileLocation() { + Big = true, LocalId = photoLocation.LocalId, - Secret = photoLocation.Secret, - VolumeId = photoLocation.VolumeId + VolumeId = photoLocation.VolumeId, + Peer = new TLInputPeerUser { UserId = user.Id, AccessHash = user.AccessHash.Value } }, 1024); - var res = await client.GetUserDialogsAsync(); + var res = await client.GetUserDialogsAsync(); Assert.IsTrue(resFile.Bytes.Length > 0); } @@ -308,37 +302,9 @@ public virtual async Task SignUpNewUser() var hash = await client.SendCodeRequestAsync(NotRegisteredNumberToSignUp); var code = ""; - var registeredUser = await client.SignUpAsync(NotRegisteredNumberToSignUp, hash, code, "TgSharp", "User"); + var registeredUser = await client.MakeAuthAsync(NotRegisteredNumberToSignUp, hash, code, "TgSharp", "User"); Assert.IsNotNull(registeredUser); Assert.IsTrue(client.IsUserAuthorized()); - - var loggedInUser = await client.MakeAuthAsync(NotRegisteredNumberToSignUp, hash, code); - Assert.IsNotNull(loggedInUser); - } - - public virtual async Task CheckPhones() - { - var client = NewClient(); - await client.ConnectAsync(); - - var result = await client.IsPhoneRegisteredAsync(NumberToAuthenticate); - Assert.IsTrue(result); - } - - public virtual async Task FloodExceptionShouldNotCauseCannotReadPackageLengthError() - { - for (int i = 0; i < 50; i++) - { - try - { - await CheckPhones(); - } - catch (FloodException floodException) - { - Console.WriteLine($"FLOODEXCEPTION: {floodException}"); - Thread.Sleep(floodException.TimeToWait); - } - } } public virtual async Task SendMessageByUserNameTest() From 48171add3d7f77aa597055a30938730a356bbb69 Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 3 Apr 2020 17:52:46 +0430 Subject: [PATCH 02/12] fix: Duplicate TLVector and API Changes in SendCode Method --- src/TeleSharp.TL/TL/TLVector.cs | 39 ------------------------------ src/TgSharp.Core/TelegramClient.cs | 6 +++-- 2 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 src/TeleSharp.TL/TL/TLVector.cs diff --git a/src/TeleSharp.TL/TL/TLVector.cs b/src/TeleSharp.TL/TL/TLVector.cs deleted file mode 100644 index c46d9dbd..00000000 --- a/src/TeleSharp.TL/TL/TLVector.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TeleSharp.TL; -namespace TeleSharp.TL -{ - [TLObject(481674261)] - public class TLVector : TLObject - { - public override int Constructor - { - get - { - return 481674261; - } - } - - - - public void ComputeFlags() - { - - } - - public override void DeserializeBody(BinaryReader br) - { - - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - - } - } -} diff --git a/src/TgSharp.Core/TelegramClient.cs b/src/TgSharp.Core/TelegramClient.cs index 2918694c..4f354371 100644 --- a/src/TgSharp.Core/TelegramClient.cs +++ b/src/TgSharp.Core/TelegramClient.cs @@ -100,7 +100,9 @@ public TelegramClient(int apiId, string apiHash, DeviceModel = "PC", LangCode = "en", Query = config, - SystemVersion = "Win 10.0" + SystemVersion = "Win 10.0", + SystemLangCode = "en", + LangPack = "" }; var invokewithLayer = new TLRequestInvokeWithLayer() { Layer = 66, Query = request }; await sender.Send(invokewithLayer, token).ConfigureAwait(false); @@ -197,7 +199,7 @@ public bool IsUserAuthorized() if (String.IsNullOrWhiteSpace(phoneNumber)) throw new ArgumentNullException(nameof(phoneNumber)); - var request = new TLRequestSendCode() { PhoneNumber = phoneNumber, ApiId = apiId, ApiHash = apiHash }; + var request = new TLRequestSendCode() { PhoneNumber = phoneNumber, ApiId = apiId, ApiHash = apiHash, Settings = new TLCodeSettings { } }; await RequestWithDcMigration(request, token).ConfigureAwait(false); From 5280112971d2df499fefb79b5207fa20d172f50a Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 3 Apr 2020 12:13:09 +0430 Subject: [PATCH 03/12] api: change layer number --- src/TgSharp.Core/TelegramClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TgSharp.Core/TelegramClient.cs b/src/TgSharp.Core/TelegramClient.cs index 4f354371..2c186218 100644 --- a/src/TgSharp.Core/TelegramClient.cs +++ b/src/TgSharp.Core/TelegramClient.cs @@ -104,7 +104,7 @@ public TelegramClient(int apiId, string apiHash, SystemLangCode = "en", LangPack = "" }; - var invokewithLayer = new TLRequestInvokeWithLayer() { Layer = 66, Query = request }; + var invokewithLayer = new TLRequestInvokeWithLayer() { Layer = 108, Query = request }; await sender.Send(invokewithLayer, token).ConfigureAwait(false); await sender.Receive(invokewithLayer, token).ConfigureAwait(false); From 54666d21283a3a690ce0f987327bc913ad839625 Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 3 Apr 2020 11:59:10 +0430 Subject: [PATCH 04/12] README.md: update samples to match Layer 108 API --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 62b17fff..7578fa0f 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,6 @@ TgSharp provides two wrappers for sending photo and document: await client.SendUploadedPhoto(new TLInputPeerUser() { UserId = user.Id }, fileResult, "kitty"); await client.SendUploadedDocument(new TLInputPeerUser() { UserId = user.Id }, fileResult, - "some zips", //caption "application/zip", //mime-type //document attributes, such as file name @@ -138,7 +137,8 @@ To download a file you should call the **GetFile** method: { AccessHash = document.AccessHash, Id = document.Id, - Version = document.Version + FileReference = document.FileReference, + ThumbSize = "250x250" }, //size of fileChunk you want to retrieve @@ -152,10 +152,8 @@ You can see the Full code at [DownloadFileFromContactTest](https://github.com/nb For your convenience TgSharp have wrappers for several Telegram API methods. You could add your own, see details below. -1. IsPhoneRegisteredAsync 1. SendCodeRequestAsync 1. MakeAuthAsync -1. SignUpAsync 1. GetContactsAsync 1. SendMessageAsync 1. SendTypingAsync @@ -203,7 +201,7 @@ Latest scheme in JSON format you can find [here](https://gist.github.com/aarani/ #### What API layer is supported? -Layer 66. Thanks to Afshin Arani for his TLGenerator +Layer 108. Thanks to Afshin Arani for his TLGenerator #### I get a xxxMigrationException or a MIGRATE_X error! From f1299e49840a7142fc0f4083b90b27e83618b2c0 Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 3 Apr 2020 12:01:29 +0430 Subject: [PATCH 05/12] README.md: fix outdated information --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7578fa0f..17ba97cf 100644 --- a/README.md +++ b/README.md @@ -185,15 +185,14 @@ Don't panic. You can call any method with help of `SendRequestAsync` function. F **Where can you find a list of requests and its parameters?** -The only way is [Telegram API docs](https://core.telegram.org/methods). Yes, it's outdated. But there is no other source. -Latest scheme in JSON format you can find [here](https://gist.github.com/aarani/b22b7cda024973dff68e1672794b0298) +The only way is [Telegram API docs](https://core.telegram.org/methods). Yes, it's no longer outdated. +Latest scheme in JSON format you can find [here](https://core.telegram.org/schema/json) ## What things can I help on (Project Roadmap)? * Add Updates handling via events (WIP PR: https://github.com/sochix/TLSharp/pull/892 ) * GithubActions CI job for running tests -* Update to latest Layer (WIP PR: https://github.com/nblockchain/TgSharp/pull/5 ). * Upgrade to .NETStandard 2.0. From 601e6d7317f86556ac0c2f5ef5909fd8732b6bf4 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Wed, 15 Apr 2020 15:58:30 +0800 Subject: [PATCH 06/12] Generator: fix many whitespace nits (especially in generated code) --- src/TeleSharp.Generator/Constructor.tmp | 14 ++- src/TeleSharp.Generator/ConstructorAbs.tmp | 2 + src/TeleSharp.Generator/Method.tmp | 23 ++-- src/TeleSharp.Generator/Program.cs | 140 ++++++++++++++++----- 4 files changed, 130 insertions(+), 49 deletions(-) diff --git a/src/TeleSharp.Generator/Constructor.tmp b/src/TeleSharp.Generator/Constructor.tmp index 73bf2055..ccf59038 100644 --- a/src/TeleSharp.Generator/Constructor.tmp +++ b/src/TeleSharp.Generator/Constructor.tmp @@ -4,10 +4,12 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace /* NAMESPACE */ { - [TLObject(/*Constructor*/)] + [TLObject(/*Constructor*/)] public class /* NAME */ : /* PARENT */ { public override int Constructor @@ -20,10 +22,10 @@ namespace /* NAMESPACE */ /* PARAMS */ - public void ComputeFlags() - { - /* COMPUTE */ - } + public void ComputeFlags() + { + /* COMPUTE */ + } public override void DeserializeBody(BinaryReader br) { @@ -32,7 +34,7 @@ namespace /* NAMESPACE */ public override void SerializeBody(BinaryWriter bw) { - bw.Write(Constructor); + bw.Write(Constructor); /* SERIALIZE */ } } diff --git a/src/TeleSharp.Generator/ConstructorAbs.tmp b/src/TeleSharp.Generator/ConstructorAbs.tmp index 8a6dd2c2..93fa425c 100644 --- a/src/TeleSharp.Generator/ConstructorAbs.tmp +++ b/src/TeleSharp.Generator/ConstructorAbs.tmp @@ -4,7 +4,9 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace /* NAMESPACE */ { public abstract class /* NAME */ : TLObject diff --git a/src/TeleSharp.Generator/Method.tmp b/src/TeleSharp.Generator/Method.tmp index d370dd1d..f19c2c8d 100644 --- a/src/TeleSharp.Generator/Method.tmp +++ b/src/TeleSharp.Generator/Method.tmp @@ -4,10 +4,12 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace /* NAMESPACE */ { - [TLObject(/*Constructor*/)] + [TLObject(/*Constructor*/)] public class /* NAME */ : /* PARENT */ { public override int Constructor @@ -20,10 +22,10 @@ namespace /* NAMESPACE */ /* PARAMS */ - public void ComputeFlags() - { - /* COMPUTE */ - } + public void ComputeFlags() + { + /* COMPUTE */ + } public override void DeserializeBody(BinaryReader br) { @@ -32,12 +34,13 @@ namespace /* NAMESPACE */ public override void SerializeBody(BinaryWriter bw) { - bw.Write(Constructor); + bw.Write(Constructor); /* SERIALIZE */ } - public override void DeserializeResponse(BinaryReader br) - { - /* DESERIALIZEResp */ - } + + public override void DeserializeResponse(BinaryReader br) + { + /* DESERIALIZEResp */ + } } } diff --git a/src/TeleSharp.Generator/Program.cs b/src/TeleSharp.Generator/Program.cs index 426566a9..71ffc024 100644 --- a/src/TeleSharp.Generator/Program.cs +++ b/src/TeleSharp.Generator/Program.cs @@ -155,15 +155,23 @@ static void Main(string[] args) temp = temp.Replace("/* NAME */", GetNameofClass(c.Predicate, false)); #endregion #region Fields - string fields = ""; + string fields = String.Empty; + bool first = true; foreach (var tmp in c.Params) { - fields += $" public {CheckForFlagBase(tmp.Type, GetTypeName(tmp.Type))} {CheckForKeywordAndPascalCase(tmp.Name)} " + "{get;set;}" + Environment.NewLine; + if (!first) { + fields += Environment.NewLine + " "; + } else { + first = false; + } + fields += $"public {CheckForFlagBase (tmp.Type, GetTypeName (tmp.Type))} {CheckForKeywordAndPascalCase (tmp.Name)}" + " { get; set; }"; } + if (fields == String.Empty) + fields = "// no fields"; temp = temp.Replace("/* PARAMS */", fields); #endregion #region ComputeFlagFunc - if (!c.Params.Any(x => x.Name == "Flags")) temp = temp.Replace("/* COMPUTE */", ""); + if (!c.Params.Any(x => x.Name == "Flags")) temp = temp.Replace("/* COMPUTE */", "// do nothing"); else { var compute = "Flags = 0;" + Environment.NewLine; @@ -182,22 +190,45 @@ static void Main(string[] args) } #endregion #region SerializeFunc - var serialize = ""; - - if (c.Params.Any(x => x.Name == "Flags")) serialize += "ComputeFlags();" + Environment.NewLine + "bw.Write(Flags);" + Environment.NewLine; + var serialize = String.Empty; + first = true; + if (c.Params.Any (x => x.Name == "Flags")) { + serialize += "ComputeFlags();" + + Environment.NewLine + " " + + "bw.Write(Flags);"; + first = false; + } foreach (var p in c.Params.Where(x => x.Name != "Flags")) { - serialize += WriteWriteCode(p) + Environment.NewLine; + var code = WriteWriteCode (p); + if (String.IsNullOrEmpty(code)) + continue; + + if (!first) { + serialize += Environment.NewLine + " "; + } else { + first = false; + } + serialize += code; } + if (serialize == String.Empty) + serialize = "// do nothing"; temp = temp.Replace("/* SERIALIZE */", serialize); #endregion #region DeSerializeFunc - var deserialize = ""; - + var deserialize = String.Empty; + first = true; foreach (var p in c.Params) { - deserialize += WriteReadCode(p) + Environment.NewLine; + if (!first) { + deserialize += Environment.NewLine + " "; + } else { + first = false; + } + deserialize += WriteReadCode(p); } + if (deserialize == String.Empty) + deserialize = "// do nothing"; temp = temp.Replace("/* DESERIALIZE */", deserialize); #endregion writer.Write(temp); @@ -232,15 +263,26 @@ static void Main(string[] args) #endregion #region Fields string fields = ""; + bool first = true; foreach (var tmp in c.Params) { - fields += $" public {CheckForFlagBase(tmp.Type, GetTypeName(tmp.Type))} {CheckForKeywordAndPascalCase(tmp.Name)} " + "{get;set;}" + Environment.NewLine; + if (!first) { + fields += Environment.NewLine + " "; + } else { + first = false; + } + fields += $"public {CheckForFlagBase(tmp.Type, GetTypeName(tmp.Type))} {CheckForKeywordAndPascalCase(tmp.Name)}" + " { get; set; }"; + } + if (!first) { + fields += Environment.NewLine + " "; + } else { + first = false; } - fields += $" public {CheckForFlagBase(c.Type, GetTypeName(c.Type))} Response" + "{ get; set;}" + Environment.NewLine; + fields += $"public {CheckForFlagBase(c.Type, GetTypeName(c.Type))} Response" + " { get; set; }"; temp = temp.Replace("/* PARAMS */", fields); #endregion #region ComputeFlagFunc - if (!c.Params.Any(x => x.Name == "Flags")) temp = temp.Replace("/* COMPUTE */", ""); + if (!c.Params.Any(x => x.Name == "Flags")) temp = temp.Replace("/* COMPUTE */", "// do nothing"); else { var compute = "Flags = 0;" + Environment.NewLine; @@ -259,28 +301,50 @@ static void Main(string[] args) } #endregion #region SerializeFunc - var serialize = ""; - - if (c.Params.Any(x => x.Name == "Flags")) serialize += "ComputeFlags();" + Environment.NewLine + "bw.Write(Flags);" + Environment.NewLine; + var serialize = String.Empty; + first = true; + if (c.Params.Any (x => x.Name == "Flags")) { + serialize += "ComputeFlags();" + Environment.NewLine + + " " + "bw.Write(Flags);"; + first = false; + } foreach (var p in c.Params.Where(x => x.Name != "Flags")) { - serialize += WriteWriteCode(p) + Environment.NewLine; + var code = WriteWriteCode (p); + if (String.IsNullOrEmpty (code)) + continue; + + if (!first) { + serialize += Environment.NewLine + " "; + } else { + first = false; + } + serialize += code; } + if (serialize == String.Empty) + serialize = "// do nothing else"; temp = temp.Replace("/* SERIALIZE */", serialize); #endregion #region DeSerializeFunc - var deserialize = ""; - + var deserialize = String.Empty; + first = true; foreach (var p in c.Params) { - deserialize += WriteReadCode(p) + Environment.NewLine; + if (!first) { + deserialize += Environment.NewLine + " "; + } else { + first = false; + } + deserialize += WriteReadCode (p); } + if (deserialize == String.Empty) + deserialize = "// do nothing"; temp = temp.Replace("/* DESERIALIZE */", deserialize); #endregion #region DeSerializeRespFunc var deserializeResp = ""; TlParam p2 = new TlParam() { Name = "Response", Type = c.Type }; - deserializeResp += WriteReadCode(p2) + Environment.NewLine; + deserializeResp += WriteReadCode(p2); temp = temp.Replace("/* DESERIALIZEResp */", deserializeResp); #endregion writer.Write(temp); @@ -289,6 +353,7 @@ static void Main(string[] args) } } } + public static string FormatName(string input) { if (string.IsNullOrEmpty(input)) @@ -305,6 +370,7 @@ public static string FormatName(string input) } return input.First().ToString().ToUpper() + input.Substring(1); } + public static string CheckForKeywordAndPascalCase(string name) { name = name.Replace("_", " "); @@ -314,6 +380,7 @@ public static string CheckForKeywordAndPascalCase(string name) if (keywords.Contains(name)) return "@" + name; return name; } + public static string GetNameofClass(string type, bool isinterface = false, bool ismethod = false) { if (!ismethod) @@ -335,18 +402,22 @@ public static string GetNameofClass(string type, bool isinterface = false, bool return "TLRequest" + FormatName(type); } } + private static bool IsFlagBase(string type) { return type.IndexOf("?") != -1; } + private static int GetBitMask(string type) { return (int)Math.Pow((double)2, (double)int.Parse(type.Split('?')[0].Split('.')[1])); } + private static bool IsTrueFlag(string type) { return type.Split('?')[1] == "true"; } + public static string GetNameSpace(string type) { if (type.IndexOf('.') != -1) @@ -354,6 +425,7 @@ public static string GetNameSpace(string type) else return "TeleSharp.TL"; } + public static string CheckForFlagBase(string type, string result) { if (type.IndexOf('?') == -1) @@ -366,6 +438,7 @@ public static string CheckForFlagBase(string type, string result) else return result; } } + public static string GetTypeName(string type) { switch (type.ToLower()) @@ -401,7 +474,6 @@ public static string GetTypeName(string type) if (type.IndexOf('.') != -1 && type.IndexOf('?') == -1) { - if (interfacesList.Any(x => x.ToLower() == (type).ToLower())) return FormatName(type.Split('.')[0]) + "." + "TLAbs" + type.Split('.')[1]; else if (classesList.Any(x => x.ToLower() == (type).ToLower())) @@ -422,9 +494,8 @@ public static string GetTypeName(string type) { return GetTypeName(type.Split('?')[1]); } - - } + public static string LookTypeInLists(string src) { if (interfacesList.Any(x => x.ToLower() == src.ToLower())) @@ -434,6 +505,7 @@ public static string LookTypeInLists(string src) else return src; } + public static string WriteWriteCode(TlParam p, bool flag = false) { switch (p.Type.ToLower()) @@ -444,18 +516,18 @@ public static string WriteWriteCode(TlParam p, bool flag = false) case "long": return flag ? $"bw.Write({CheckForKeywordAndPascalCase(p.Name)}.Value);" : $"bw.Write({CheckForKeywordAndPascalCase(p.Name)});"; case "string": - return $"StringUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)},bw);"; + return $"StringUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}, bw);"; case "bool": - return flag ? $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}.Value,bw);" : $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)},bw);"; + return flag ? $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}.Value, bw);" : $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}, bw);"; case "true": - return $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)},bw);"; + return $"BoolUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}, bw);"; case "bytes": - return $"BytesUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)},bw);"; + return $"BytesUtil.Serialize({CheckForKeywordAndPascalCase(p.Name)}, bw);"; case "double": return flag ? $"bw.Write({CheckForKeywordAndPascalCase(p.Name)}.Value);" : $"bw.Write({CheckForKeywordAndPascalCase(p.Name)});"; default: if (!IsFlagBase(p.Type)) - return $"ObjectUtils.SerializeObject({CheckForKeywordAndPascalCase(p.Name)},bw);"; + return $"ObjectUtils.SerializeObject({CheckForKeywordAndPascalCase(p.Name)}, bw);"; else { if (IsTrueFlag(p.Type)) @@ -463,7 +535,8 @@ public static string WriteWriteCode(TlParam p, bool flag = false) else { TlParam p2 = new TlParam() { Name = p.Name, Type = p.Type.Split('?')[1] }; - return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + Environment.NewLine + + return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + + Environment.NewLine + " " + WriteWriteCode(p2, true); } } @@ -503,9 +576,10 @@ public static string WriteReadCode(TlParam p) else { TlParam p2 = new TlParam() { Name = p.Name, Type = p.Type.Split('?')[1] }; - return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + Environment.NewLine + - WriteReadCode(p2) + Environment.NewLine + - "else" + Environment.NewLine + + return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + + Environment.NewLine + " " + + WriteReadCode(p2) + Environment.NewLine + " " + + "else" + Environment.NewLine + " " + $"{CheckForKeywordAndPascalCase(p.Name)} = null;" + Environment.NewLine; } } From ebbe8e978720af27b8ba9be9d817a076cee9e41c Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Wed, 15 Apr 2020 18:50:52 +0800 Subject: [PATCH 07/12] TeleSharp.TL: update generated code This was the result of running the latest version of the generator, which fixes many whitespace issues such as trailing whitespace. --- src/TeleSharp.TL/TL/Account/TLAbsThemes.cs | 2 + .../TL/Account/TLAbsWallPapers.cs | 2 + .../TL/Account/TLAuthorizationForm.cs | 7 ++-- .../TL/Account/TLAuthorizations.cs | 7 ++-- .../TL/Account/TLAutoDownloadSettings.cs | 7 ++-- .../TL/Account/TLContentSettings.cs | 9 ++-- src/TeleSharp.TL/TL/Account/TLPassword.cs | 10 ++--- .../TL/Account/TLPasswordInputSettings.cs | 7 ++-- .../TL/Account/TLPasswordSettings.cs | 7 ++-- src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs | 7 ++-- .../Account/TLRequestAcceptAuthorization.cs | 9 ++-- .../Account/TLRequestCancelPasswordEmail.cs | 11 ++--- .../TL/Account/TLRequestChangePhone.cs | 9 ++-- .../TL/Account/TLRequestCheckUsername.cs | 9 ++-- .../Account/TLRequestConfirmPasswordEmail.cs | 9 ++-- .../TL/Account/TLRequestConfirmPhone.cs | 9 ++-- .../TL/Account/TLRequestCreateTheme.cs | 9 ++-- .../TL/Account/TLRequestDeleteAccount.cs | 9 ++-- .../TL/Account/TLRequestDeleteSecureValue.cs | 9 ++-- .../Account/TLRequestFinishTakeoutSession.cs | 10 ++--- .../TL/Account/TLRequestGetAccountTTL.cs | 11 ++--- .../TL/Account/TLRequestGetAllSecureValues.cs | 11 ++--- .../Account/TLRequestGetAuthorizationForm.cs | 9 ++-- .../TL/Account/TLRequestGetAuthorizations.cs | 11 ++--- .../TLRequestGetAutoDownloadSettings.cs | 11 ++--- .../TLRequestGetContactSignUpNotification.cs | 11 ++--- .../TL/Account/TLRequestGetContentSettings.cs | 11 ++--- .../TL/Account/TLRequestGetMultiWallPapers.cs | 9 ++-- .../Account/TLRequestGetNotifyExceptions.cs | 10 ++--- .../TL/Account/TLRequestGetNotifySettings.cs | 9 ++-- .../TL/Account/TLRequestGetPassword.cs | 11 ++--- .../Account/TLRequestGetPasswordSettings.cs | 9 ++-- .../TL/Account/TLRequestGetPrivacy.cs | 9 ++-- .../TL/Account/TLRequestGetSecureValue.cs | 9 ++-- .../TL/Account/TLRequestGetTheme.cs | 9 ++-- .../TL/Account/TLRequestGetThemes.cs | 9 ++-- .../TL/Account/TLRequestGetTmpPassword.cs | 9 ++-- .../TL/Account/TLRequestGetWallPaper.cs | 9 ++-- .../TL/Account/TLRequestGetWallPapers.cs | 9 ++-- .../Account/TLRequestGetWebAuthorizations.cs | 11 ++--- .../TL/Account/TLRequestInitTakeoutSession.cs | 15 ++----- .../TL/Account/TLRequestInstallTheme.cs | 10 ++--- .../TL/Account/TLRequestInstallWallPaper.cs | 9 ++-- .../TL/Account/TLRequestRegisterDevice.cs | 10 ++--- .../TL/Account/TLRequestReportPeer.cs | 9 ++-- .../Account/TLRequestResendPasswordEmail.cs | 11 ++--- .../TL/Account/TLRequestResetAuthorization.cs | 9 ++-- .../Account/TLRequestResetNotifySettings.cs | 11 ++--- .../TL/Account/TLRequestResetWallPapers.cs | 11 ++--- .../Account/TLRequestResetWebAuthorization.cs | 9 ++-- .../TLRequestResetWebAuthorizations.cs | 11 ++--- .../TLRequestSaveAutoDownloadSettings.cs | 11 ++--- .../TL/Account/TLRequestSaveSecureValue.cs | 9 ++-- .../TL/Account/TLRequestSaveTheme.cs | 9 ++-- .../TL/Account/TLRequestSaveWallPaper.cs | 9 ++-- .../Account/TLRequestSendChangePhoneCode.cs | 9 ++-- .../Account/TLRequestSendConfirmPhoneCode.cs | 9 ++-- .../Account/TLRequestSendVerifyEmailCode.cs | 9 ++-- .../Account/TLRequestSendVerifyPhoneCode.cs | 9 ++-- .../TL/Account/TLRequestSetAccountTTL.cs | 9 ++-- .../TLRequestSetContactSignUpNotification.cs | 9 ++-- .../TL/Account/TLRequestSetContentSettings.cs | 10 ++--- .../TL/Account/TLRequestSetPrivacy.cs | 9 ++-- .../TL/Account/TLRequestUnregisterDevice.cs | 9 ++-- .../TL/Account/TLRequestUpdateDeviceLocked.cs | 9 ++-- .../Account/TLRequestUpdateNotifySettings.cs | 9 ++-- .../TLRequestUpdatePasswordSettings.cs | 9 ++-- .../TL/Account/TLRequestUpdateProfile.cs | 9 ++-- .../TL/Account/TLRequestUpdateStatus.cs | 9 ++-- .../TL/Account/TLRequestUpdateTheme.cs | 9 ++-- .../TL/Account/TLRequestUpdateUsername.cs | 9 ++-- .../TL/Account/TLRequestUploadTheme.cs | 9 ++-- .../TL/Account/TLRequestUploadWallPaper.cs | 9 ++-- .../TL/Account/TLRequestVerifyEmail.cs | 9 ++-- .../TL/Account/TLRequestVerifyPhone.cs | 9 ++-- .../TL/Account/TLSentEmailCode.cs | 7 ++-- src/TeleSharp.TL/TL/Account/TLTakeout.cs | 7 ++-- src/TeleSharp.TL/TL/Account/TLThemes.cs | 7 ++-- .../TL/Account/TLThemesNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/Account/TLTmpPassword.cs | 7 ++-- src/TeleSharp.TL/TL/Account/TLWallPapers.cs | 7 ++-- .../TL/Account/TLWallPapersNotModified.cs | 10 +++-- .../TL/Account/TLWebAuthorizations.cs | 7 ++-- .../TL/Auth/TLAbsAuthorization.cs | 2 + src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs | 2 + src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs | 2 + src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs | 2 + src/TeleSharp.TL/TL/Auth/TLAuthorization.cs | 7 ++-- .../TL/Auth/TLAuthorizationSignUpRequired.cs | 7 ++-- src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs | 10 +++-- .../TL/Auth/TLCodeTypeFlashCall.cs | 10 +++-- src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs | 10 +++-- .../TL/Auth/TLExportedAuthorization.cs | 7 ++-- src/TeleSharp.TL/TL/Auth/TLLoginToken.cs | 7 ++-- .../TL/Auth/TLLoginTokenMigrateTo.cs | 7 ++-- .../TL/Auth/TLLoginTokenSuccess.cs | 7 ++-- .../TL/Auth/TLPasswordRecovery.cs | 7 ++-- .../TL/Auth/TLRequestAcceptLoginToken.cs | 9 ++-- .../TL/Auth/TLRequestBindTempAuthKey.cs | 9 ++-- .../TL/Auth/TLRequestCancelCode.cs | 9 ++-- .../TL/Auth/TLRequestCheckPassword.cs | 9 ++-- .../TL/Auth/TLRequestDropTempAuthKeys.cs | 9 ++-- .../TL/Auth/TLRequestExportAuthorization.cs | 9 ++-- .../TL/Auth/TLRequestExportLoginToken.cs | 9 ++-- .../TL/Auth/TLRequestImportAuthorization.cs | 9 ++-- .../Auth/TLRequestImportBotAuthorization.cs | 9 ++-- .../TL/Auth/TLRequestImportLoginToken.cs | 9 ++-- src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs | 11 ++--- .../TL/Auth/TLRequestRecoverPassword.cs | 9 ++-- .../Auth/TLRequestRequestPasswordRecovery.cs | 11 ++--- .../TL/Auth/TLRequestResendCode.cs | 9 ++-- .../TL/Auth/TLRequestResetAuthorizations.cs | 11 ++--- src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs | 9 ++-- src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs | 9 ++-- src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs | 13 +++--- src/TeleSharp.TL/TL/Auth/TLSentCode.cs | 7 ++-- src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs | 7 ++-- .../TL/Auth/TLSentCodeTypeCall.cs | 7 ++-- .../TL/Auth/TLSentCodeTypeFlashCall.cs | 7 ++-- src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs | 7 ++-- .../Bots/TLRequestAnswerWebhookJSONQuery.cs | 9 ++-- .../TL/Bots/TLRequestSendCustomRequest.cs | 9 ++-- .../TL/Channels/TLAbsChannelParticipants.cs | 2 + .../TL/Channels/TLAdminLogResults.cs | 7 ++-- .../TL/Channels/TLChannelParticipant.cs | 7 ++-- .../TL/Channels/TLChannelParticipants.cs | 7 ++-- .../TLChannelParticipantsNotModified.cs | 10 +++-- .../TL/Channels/TLRequestCheckUsername.cs | 9 ++-- .../TL/Channels/TLRequestCreateChannel.cs | 11 ++--- .../TL/Channels/TLRequestDeleteChannel.cs | 9 ++-- .../TL/Channels/TLRequestDeleteHistory.cs | 9 ++-- .../TL/Channels/TLRequestDeleteMessages.cs | 9 ++-- .../TL/Channels/TLRequestDeleteUserHistory.cs | 9 ++-- .../TL/Channels/TLRequestEditAdmin.cs | 9 ++-- .../TL/Channels/TLRequestEditBanned.cs | 9 ++-- .../TL/Channels/TLRequestEditCreator.cs | 9 ++-- .../TL/Channels/TLRequestEditLocation.cs | 9 ++-- .../TL/Channels/TLRequestEditPhoto.cs | 9 ++-- .../TL/Channels/TLRequestEditTitle.cs | 9 ++-- .../TL/Channels/TLRequestExportMessageLink.cs | 9 ++-- .../TL/Channels/TLRequestGetAdminLog.cs | 9 ++-- .../TLRequestGetAdminedPublicChannels.cs | 11 ++--- .../TL/Channels/TLRequestGetChannels.cs | 9 ++-- .../TL/Channels/TLRequestGetFullChannel.cs | 9 ++-- .../TLRequestGetGroupsForDiscussion.cs | 11 ++--- .../Channels/TLRequestGetInactiveChannels.cs | 11 ++--- .../TL/Channels/TLRequestGetLeftChannels.cs | 9 ++-- .../TL/Channels/TLRequestGetMessages.cs | 9 ++-- .../TL/Channels/TLRequestGetParticipant.cs | 9 ++-- .../TL/Channels/TLRequestGetParticipants.cs | 9 ++-- .../TL/Channels/TLRequestInviteToChannel.cs | 9 ++-- .../TL/Channels/TLRequestJoinChannel.cs | 9 ++-- .../TL/Channels/TLRequestLeaveChannel.cs | 9 ++-- .../TL/Channels/TLRequestReadHistory.cs | 9 ++-- .../Channels/TLRequestReadMessageContents.cs | 9 ++-- .../TL/Channels/TLRequestReportSpam.cs | 9 ++-- .../Channels/TLRequestSetDiscussionGroup.cs | 9 ++-- .../TL/Channels/TLRequestSetStickers.cs | 9 ++-- .../TLRequestTogglePreHistoryHidden.cs | 9 ++-- .../TL/Channels/TLRequestToggleSignatures.cs | 9 ++-- .../TL/Channels/TLRequestToggleSlowMode.cs | 9 ++-- .../TL/Channels/TLRequestUpdateUsername.cs | 9 ++-- src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs | 2 + src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs | 2 + src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs | 2 + src/TeleSharp.TL/TL/Contacts/TLBlocked.cs | 7 ++-- .../TL/Contacts/TLBlockedSlice.cs | 7 ++-- src/TeleSharp.TL/TL/Contacts/TLContacts.cs | 7 ++-- .../TL/Contacts/TLContactsNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/Contacts/TLFound.cs | 7 ++-- .../TL/Contacts/TLImportedContacts.cs | 7 ++-- .../TL/Contacts/TLRequestAcceptContact.cs | 9 ++-- .../TL/Contacts/TLRequestAddContact.cs | 10 ++--- .../TL/Contacts/TLRequestBlock.cs | 9 ++-- .../TL/Contacts/TLRequestDeleteByPhones.cs | 9 ++-- .../TL/Contacts/TLRequestDeleteContacts.cs | 9 ++-- .../TL/Contacts/TLRequestGetBlocked.cs | 9 ++-- .../TL/Contacts/TLRequestGetContactIDs.cs | 9 ++-- .../TL/Contacts/TLRequestGetContacts.cs | 9 ++-- .../TL/Contacts/TLRequestGetLocated.cs | 9 ++-- .../TL/Contacts/TLRequestGetSaved.cs | 15 +++---- .../TL/Contacts/TLRequestGetStatuses.cs | 11 ++--- .../TL/Contacts/TLRequestGetTopPeers.cs | 17 ++------ .../TL/Contacts/TLRequestImportContacts.cs | 9 ++-- .../TL/Contacts/TLRequestResetSaved.cs | 11 ++--- .../Contacts/TLRequestResetTopPeerRating.cs | 9 ++-- .../TL/Contacts/TLRequestResolveUsername.cs | 9 ++-- .../TL/Contacts/TLRequestSearch.cs | 9 ++-- .../TL/Contacts/TLRequestToggleTopPeers.cs | 9 ++-- .../TL/Contacts/TLRequestUnblock.cs | 9 ++-- .../TL/Contacts/TLResolvedPeer.cs | 7 ++-- src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs | 7 ++-- .../TL/Contacts/TLTopPeersDisabled.cs | 10 +++-- .../TL/Contacts/TLTopPeersNotModified.cs | 10 +++-- .../TL/Folders/TLRequestDeleteFolder.cs | 9 ++-- .../TL/Folders/TLRequestEditPeerFolders.cs | 9 ++-- src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs | 2 + src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs | 2 + .../TL/Help/TLAbsPassportConfig.cs | 2 + src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs | 2 + .../TL/Help/TLAbsTermsOfServiceUpdate.cs | 2 + src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs | 2 + src/TeleSharp.TL/TL/Help/TLAppUpdate.cs | 8 ++-- src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs | 8 ++-- .../TL/Help/TLDeepLinkInfoEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/Help/TLInviteText.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs | 10 +++-- src/TeleSharp.TL/TL/Help/TLPassportConfig.cs | 7 ++-- .../TL/Help/TLPassportConfigNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs | 7 ++-- .../TL/Help/TLRequestAcceptTermsOfService.cs | 9 ++-- .../TL/Help/TLRequestEditUserInfo.cs | 9 ++-- .../TL/Help/TLRequestGetAppChangelog.cs | 9 ++-- .../TL/Help/TLRequestGetAppConfig.cs | 11 ++--- .../TL/Help/TLRequestGetAppUpdate.cs | 9 ++-- .../TL/Help/TLRequestGetCdnConfig.cs | 11 ++--- .../TL/Help/TLRequestGetConfig.cs | 11 ++--- .../TL/Help/TLRequestGetDeepLinkInfo.cs | 9 ++-- .../TL/Help/TLRequestGetInviteText.cs | 11 ++--- .../TL/Help/TLRequestGetNearestDc.cs | 11 ++--- .../TL/Help/TLRequestGetPassportConfig.cs | 9 ++-- .../TL/Help/TLRequestGetProxyData.cs | 11 ++--- .../TL/Help/TLRequestGetRecentMeUrls.cs | 9 ++-- .../TL/Help/TLRequestGetSupport.cs | 11 ++--- .../TL/Help/TLRequestGetSupportName.cs | 11 ++--- .../Help/TLRequestGetTermsOfServiceUpdate.cs | 11 ++--- .../TL/Help/TLRequestGetUserInfo.cs | 9 ++-- .../TL/Help/TLRequestSaveAppLog.cs | 9 ++-- .../TL/Help/TLRequestSetBotUpdatesStatus.cs | 9 ++-- src/TeleSharp.TL/TL/Help/TLSupport.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLSupportName.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLTermsOfService.cs | 8 ++-- .../TL/Help/TLTermsOfServiceUpdate.cs | 7 ++-- .../TL/Help/TLTermsOfServiceUpdateEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLUserInfo.cs | 7 ++-- src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs | 10 +++-- .../TL/Langpack/TLRequestGetDifference.cs | 9 ++-- .../TL/Langpack/TLRequestGetLangPack.cs | 9 ++-- .../TL/Langpack/TLRequestGetLanguage.cs | 9 ++-- .../TL/Langpack/TLRequestGetLanguages.cs | 9 ++-- .../TL/Langpack/TLRequestGetStrings.cs | 9 ++-- .../TL/Messages/TLAbsAllStickers.cs | 2 + src/TeleSharp.TL/TL/Messages/TLAbsChats.cs | 2 + src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs | 2 + src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs | 2 + .../TL/Messages/TLAbsFavedStickers.cs | 2 + .../TL/Messages/TLAbsFeaturedStickers.cs | 2 + .../TL/Messages/TLAbsFoundStickerSets.cs | 2 + src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs | 2 + .../TL/Messages/TLAbsRecentStickers.cs | 2 + .../TL/Messages/TLAbsSavedGifs.cs | 2 + .../TL/Messages/TLAbsSentEncryptedMessage.cs | 2 + .../Messages/TLAbsStickerSetInstallResult.cs | 2 + src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs | 2 + .../TL/Messages/TLAffectedHistory.cs | 7 ++-- .../TL/Messages/TLAffectedMessages.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLAllStickers.cs | 7 ++-- .../TL/Messages/TLAllStickersNotModified.cs | 10 +++-- .../TL/Messages/TLArchivedStickers.cs | 7 ++-- .../TL/Messages/TLBotCallbackAnswer.cs | 10 ++--- src/TeleSharp.TL/TL/Messages/TLBotResults.cs | 8 ++-- .../TL/Messages/TLChannelMessages.cs | 8 ++-- src/TeleSharp.TL/TL/Messages/TLChatFull.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLChats.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLDhConfig.cs | 7 ++-- .../TL/Messages/TLDhConfigNotModified.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLDialogs.cs | 7 ++-- .../TL/Messages/TLDialogsNotModified.cs | 7 ++-- .../TL/Messages/TLDialogsSlice.cs | 7 ++-- .../TL/Messages/TLFavedStickers.cs | 7 ++-- .../TL/Messages/TLFavedStickersNotModified.cs | 10 +++-- .../TL/Messages/TLFeaturedStickers.cs | 7 ++-- .../Messages/TLFeaturedStickersNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs | 7 ++-- .../TL/Messages/TLFoundStickerSets.cs | 7 ++-- .../Messages/TLFoundStickerSetsNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/Messages/TLHighScores.cs | 7 ++-- .../TL/Messages/TLInactiveChats.cs | 7 ++-- .../TL/Messages/TLMessageEditData.cs | 8 ++-- src/TeleSharp.TL/TL/Messages/TLMessages.cs | 7 ++-- .../TL/Messages/TLMessagesNotModified.cs | 7 ++-- .../TL/Messages/TLMessagesSlice.cs | 8 ++-- src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs | 7 ++-- .../TL/Messages/TLRecentStickers.cs | 7 ++-- .../Messages/TLRecentStickersNotModified.cs | 10 +++-- .../TL/Messages/TLRequestAcceptEncryption.cs | 9 ++-- .../TL/Messages/TLRequestAcceptUrlAuth.cs | 10 ++--- .../TL/Messages/TLRequestAddChatUser.cs | 9 ++-- .../TL/Messages/TLRequestCheckChatInvite.cs | 9 ++-- .../TL/Messages/TLRequestClearAllDrafts.cs | 11 ++--- .../Messages/TLRequestClearRecentStickers.cs | 10 ++--- .../TL/Messages/TLRequestCreateChat.cs | 9 ++-- .../TL/Messages/TLRequestDeleteChatUser.cs | 9 ++-- .../TL/Messages/TLRequestDeleteHistory.cs | 11 ++--- .../TL/Messages/TLRequestDeleteMessages.cs | 10 ++--- .../TLRequestDeleteScheduledMessages.cs | 9 ++-- .../TL/Messages/TLRequestDiscardEncryption.cs | 9 ++-- .../TL/Messages/TLRequestEditChatAbout.cs | 9 ++-- .../TL/Messages/TLRequestEditChatAdmin.cs | 9 ++-- .../TLRequestEditChatDefaultBannedRights.cs | 9 ++-- .../TL/Messages/TLRequestEditChatPhoto.cs | 9 ++-- .../TL/Messages/TLRequestEditChatTitle.cs | 9 ++-- .../Messages/TLRequestEditInlineBotMessage.cs | 10 ++--- .../TL/Messages/TLRequestEditMessage.cs | 10 ++--- .../TL/Messages/TLRequestExportChatInvite.cs | 9 ++-- .../TL/Messages/TLRequestFaveSticker.cs | 9 ++-- .../TL/Messages/TLRequestForwardMessages.cs | 13 ++---- .../TL/Messages/TLRequestGetAllChats.cs | 9 ++-- .../TL/Messages/TLRequestGetAllDrafts.cs | 11 ++--- .../TL/Messages/TLRequestGetAllStickers.cs | 9 ++-- .../Messages/TLRequestGetArchivedStickers.cs | 10 ++--- .../Messages/TLRequestGetAttachedStickers.cs | 9 ++-- .../Messages/TLRequestGetBotCallbackAnswer.cs | 10 ++--- .../TL/Messages/TLRequestGetChats.cs | 9 ++-- .../TL/Messages/TLRequestGetCommonChats.cs | 9 ++-- .../TL/Messages/TLRequestGetDhConfig.cs | 9 ++-- .../Messages/TLRequestGetDialogUnreadMarks.cs | 11 ++--- .../TL/Messages/TLRequestGetDialogs.cs | 10 ++--- .../TL/Messages/TLRequestGetDocumentByHash.cs | 9 ++-- .../TL/Messages/TLRequestGetEmojiKeywords.cs | 9 ++-- .../TLRequestGetEmojiKeywordsDifference.cs | 9 ++-- .../TLRequestGetEmojiKeywordsLanguages.cs | 9 ++-- .../TL/Messages/TLRequestGetEmojiURL.cs | 9 ++-- .../TL/Messages/TLRequestGetFavedStickers.cs | 9 ++-- .../Messages/TLRequestGetFeaturedStickers.cs | 9 ++-- .../TL/Messages/TLRequestGetFullChat.cs | 9 ++-- .../TL/Messages/TLRequestGetGameHighScores.cs | 9 ++-- .../TL/Messages/TLRequestGetHistory.cs | 9 ++-- .../Messages/TLRequestGetInlineBotResults.cs | 9 ++-- .../TLRequestGetInlineGameHighScores.cs | 9 ++-- .../TL/Messages/TLRequestGetMaskStickers.cs | 9 ++-- .../Messages/TLRequestGetMessageEditData.cs | 9 ++-- .../TL/Messages/TLRequestGetMessages.cs | 9 ++-- .../TL/Messages/TLRequestGetMessagesViews.cs | 9 ++-- .../TL/Messages/TLRequestGetOnlines.cs | 9 ++-- .../TL/Messages/TLRequestGetPeerDialogs.cs | 9 ++-- .../TL/Messages/TLRequestGetPeerSettings.cs | 9 ++-- .../TL/Messages/TLRequestGetPinnedDialogs.cs | 9 ++-- .../TL/Messages/TLRequestGetPollResults.cs | 9 ++-- .../Messages/TLRequestGetRecentLocations.cs | 9 ++-- .../TL/Messages/TLRequestGetRecentStickers.cs | 10 ++--- .../TL/Messages/TLRequestGetSavedGifs.cs | 9 ++-- .../Messages/TLRequestGetScheduledHistory.cs | 9 ++-- .../Messages/TLRequestGetScheduledMessages.cs | 9 ++-- .../TL/Messages/TLRequestGetSearchCounters.cs | 9 ++-- .../TL/Messages/TLRequestGetSplitRanges.cs | 11 ++--- .../TL/Messages/TLRequestGetStatsURL.cs | 10 ++--- .../TL/Messages/TLRequestGetStickerSet.cs | 9 ++-- .../TL/Messages/TLRequestGetStickers.cs | 9 ++-- .../TL/Messages/TLRequestGetUnreadMentions.cs | 9 ++-- .../TL/Messages/TLRequestGetWebPage.cs | 9 ++-- .../TL/Messages/TLRequestGetWebPagePreview.cs | 9 ++-- .../Messages/TLRequestHidePeerSettingsBar.cs | 9 ++-- .../TL/Messages/TLRequestImportChatInvite.cs | 9 ++-- .../TL/Messages/TLRequestInstallStickerSet.cs | 9 ++-- .../TL/Messages/TLRequestMarkDialogUnread.cs | 10 ++--- .../TL/Messages/TLRequestMigrateChat.cs | 9 ++-- .../Messages/TLRequestReadEncryptedHistory.cs | 9 ++-- .../Messages/TLRequestReadFeaturedStickers.cs | 9 ++-- .../TL/Messages/TLRequestReadHistory.cs | 9 ++-- .../TL/Messages/TLRequestReadMentions.cs | 9 ++-- .../Messages/TLRequestReadMessageContents.cs | 9 ++-- .../TL/Messages/TLRequestReceivedMessages.cs | 9 ++-- .../TL/Messages/TLRequestReceivedQueue.cs | 9 ++-- .../Messages/TLRequestReorderPinnedDialogs.cs | 10 ++--- .../Messages/TLRequestReorderStickerSets.cs | 10 ++--- .../TL/Messages/TLRequestReport.cs | 9 ++-- .../Messages/TLRequestReportEncryptedSpam.cs | 9 ++-- .../TL/Messages/TLRequestReportSpam.cs | 9 ++-- .../TL/Messages/TLRequestRequestEncryption.cs | 9 ++-- .../TL/Messages/TLRequestRequestUrlAuth.cs | 9 ++-- .../TL/Messages/TLRequestSaveDraft.cs | 10 ++--- .../TL/Messages/TLRequestSaveGif.cs | 9 ++-- .../TL/Messages/TLRequestSaveRecentSticker.cs | 10 ++--- .../TL/Messages/TLRequestSearch.cs | 9 ++-- .../TL/Messages/TLRequestSearchGifs.cs | 9 ++-- .../TL/Messages/TLRequestSearchGlobal.cs | 9 ++-- .../TL/Messages/TLRequestSearchStickerSets.cs | 10 ++--- .../TL/Messages/TLRequestSendEncrypted.cs | 9 ++-- .../TL/Messages/TLRequestSendEncryptedFile.cs | 9 ++-- .../Messages/TLRequestSendEncryptedService.cs | 9 ++-- .../Messages/TLRequestSendInlineBotResult.cs | 13 ++---- .../TL/Messages/TLRequestSendMedia.cs | 12 ++---- .../TL/Messages/TLRequestSendMessage.cs | 13 ++---- .../TL/Messages/TLRequestSendMultiMedia.cs | 12 ++---- .../TLRequestSendScheduledMessages.cs | 9 ++-- .../TLRequestSendScreenshotNotification.cs | 9 ++-- .../TL/Messages/TLRequestSendVote.cs | 9 ++-- .../Messages/TLRequestSetBotCallbackAnswer.cs | 10 ++--- .../TLRequestSetBotPrecheckoutResults.cs | 10 ++--- .../TLRequestSetBotShippingResults.cs | 9 ++-- .../Messages/TLRequestSetEncryptedTyping.cs | 9 ++-- .../TL/Messages/TLRequestSetGameScore.cs | 11 ++--- .../Messages/TLRequestSetInlineBotResults.cs | 11 ++--- .../Messages/TLRequestSetInlineGameScore.cs | 11 ++--- .../TL/Messages/TLRequestSetTyping.cs | 9 ++-- .../TL/Messages/TLRequestStartBot.cs | 9 ++-- .../TL/Messages/TLRequestToggleDialogPin.cs | 10 ++--- .../Messages/TLRequestUninstallStickerSet.cs | 9 ++-- .../Messages/TLRequestUpdatePinnedMessage.cs | 10 ++--- .../Messages/TLRequestUploadEncryptedFile.cs | 9 ++-- .../TL/Messages/TLRequestUploadMedia.cs | 9 ++-- src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs | 7 ++-- .../TL/Messages/TLSavedGifsNotModified.cs | 10 +++-- .../TL/Messages/TLSearchCounter.cs | 8 ++-- .../TL/Messages/TLSentEncryptedFile.cs | 7 ++-- .../TL/Messages/TLSentEncryptedMessage.cs | 7 ++-- src/TeleSharp.TL/TL/Messages/TLStickerSet.cs | 7 ++-- .../TLStickerSetInstallResultArchive.cs | 7 ++-- .../TLStickerSetInstallResultSuccess.cs | 10 +++-- src/TeleSharp.TL/TL/Messages/TLStickers.cs | 7 ++-- .../TL/Messages/TLStickersNotModified.cs | 10 +++-- .../TL/Payments/TLAbsPaymentResult.cs | 2 + src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs | 13 +++--- .../TL/Payments/TLPaymentReceipt.cs | 7 ++-- .../TL/Payments/TLPaymentResult.cs | 7 ++-- .../Payments/TLPaymentVerificationNeeded.cs | 7 ++-- .../TL/Payments/TLRequestClearSavedInfo.cs | 11 ++--- .../TL/Payments/TLRequestGetPaymentForm.cs | 9 ++-- .../TL/Payments/TLRequestGetPaymentReceipt.cs | 9 ++-- .../TL/Payments/TLRequestGetSavedInfo.cs | 11 ++--- .../TL/Payments/TLRequestSendPaymentForm.cs | 9 ++-- .../TLRequestValidateRequestedInfo.cs | 10 ++--- src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs | 8 ++-- .../TL/Payments/TLValidatedRequestedInfo.cs | 7 ++-- src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs | 7 ++-- .../TL/Phone/TLRequestAcceptCall.cs | 9 ++-- .../TL/Phone/TLRequestConfirmCall.cs | 9 ++-- .../TL/Phone/TLRequestDiscardCall.cs | 10 ++--- .../TL/Phone/TLRequestGetCallConfig.cs | 11 ++--- .../TL/Phone/TLRequestReceivedCall.cs | 9 ++-- .../TL/Phone/TLRequestRequestCall.cs | 10 ++--- .../TL/Phone/TLRequestSaveCallDebug.cs | 9 ++-- .../TL/Phone/TLRequestSetCallRating.cs | 10 ++--- src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs | 2 + src/TeleSharp.TL/TL/Photos/TLPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/Photos/TLPhotos.cs | 7 ++-- src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs | 7 ++-- .../TL/Photos/TLRequestDeletePhotos.cs | 9 ++-- .../TL/Photos/TLRequestGetUserPhotos.cs | 9 ++-- .../TL/Photos/TLRequestUpdateProfilePhoto.cs | 9 ++-- .../TL/Photos/TLRequestUploadProfilePhoto.cs | 9 ++-- .../TL/Stickers/TLRequestAddStickerToSet.cs | 9 ++-- .../TLRequestChangeStickerPosition.cs | 9 ++-- .../TL/Stickers/TLRequestCreateStickerSet.cs | 10 ++--- .../Stickers/TLRequestRemoveStickerFromSet.cs | 9 ++-- src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs | 2 + src/TeleSharp.TL/TL/Storage/TLFileGif.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileMov.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileMp3.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileMp4.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFilePartial.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFilePdf.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFilePng.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs | 10 +++-- src/TeleSharp.TL/TL/Storage/TLFileWebp.cs | 10 +++-- src/TeleSharp.TL/TL/TLAbsBaseTheme.cs | 2 + src/TeleSharp.TL/TL/TLAbsBool.cs | 2 + src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs | 2 + src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs | 2 + .../TL/TLAbsChannelAdminLogEventAction.cs | 2 + src/TeleSharp.TL/TL/TLAbsChannelLocation.cs | 2 + .../TL/TLAbsChannelMessagesFilter.cs | 2 + .../TL/TLAbsChannelParticipant.cs | 2 + .../TL/TLAbsChannelParticipantsFilter.cs | 2 + src/TeleSharp.TL/TL/TLAbsChat.cs | 2 + src/TeleSharp.TL/TL/TLAbsChatFull.cs | 2 + src/TeleSharp.TL/TL/TLAbsChatInvite.cs | 2 + src/TeleSharp.TL/TL/TLAbsChatParticipant.cs | 2 + src/TeleSharp.TL/TL/TLAbsChatParticipants.cs | 2 + src/TeleSharp.TL/TL/TLAbsChatPhoto.cs | 2 + src/TeleSharp.TL/TL/TLAbsDialog.cs | 2 + src/TeleSharp.TL/TL/TLAbsDialogPeer.cs | 2 + src/TeleSharp.TL/TL/TLAbsDocument.cs | 2 + src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs | 2 + src/TeleSharp.TL/TL/TLAbsDraftMessage.cs | 2 + src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs | 2 + src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs | 2 + src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs | 2 + src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs | 2 + .../TL/TLAbsExportedChatInvite.cs | 2 + src/TeleSharp.TL/TL/TLAbsFoundGif.cs | 2 + src/TeleSharp.TL/TL/TLAbsGeoPoint.cs | 2 + .../TL/TLAbsInputBotInlineMessage.cs | 2 + .../TL/TLAbsInputBotInlineResult.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputChannel.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs | 2 + .../TL/TLAbsInputCheckPasswordSRP.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputDocument.cs | 2 + .../TL/TLAbsInputEncryptedFile.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputFile.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputGame.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputMedia.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputMessage.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs | 2 + .../TL/TLAbsInputPaymentCredentials.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputPeer.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputPhoto.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs | 2 + .../TL/TLAbsInputStickeredMedia.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputTheme.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputUser.cs | 2 + src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs | 2 + .../TL/TLAbsInputWebFileLocation.cs | 2 + src/TeleSharp.TL/TL/TLAbsJSONValue.cs | 2 + src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs | 2 + src/TeleSharp.TL/TL/TLAbsLangPackString.cs | 2 + src/TeleSharp.TL/TL/TLAbsMessage.cs | 2 + src/TeleSharp.TL/TL/TLAbsMessageAction.cs | 2 + src/TeleSharp.TL/TL/TLAbsMessageEntity.cs | 2 + src/TeleSharp.TL/TL/TLAbsMessageMedia.cs | 2 + src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs | 2 + src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs | 2 + src/TeleSharp.TL/TL/TLAbsPageBlock.cs | 2 + src/TeleSharp.TL/TL/TLAbsPageListItem.cs | 2 + .../TL/TLAbsPageListOrderedItem.cs | 2 + src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs | 2 + src/TeleSharp.TL/TL/TLAbsPeer.cs | 2 + src/TeleSharp.TL/TL/TLAbsPhoneCall.cs | 2 + .../TL/TLAbsPhoneCallDiscardReason.cs | 2 + src/TeleSharp.TL/TL/TLAbsPhoto.cs | 2 + src/TeleSharp.TL/TL/TLAbsPhotoSize.cs | 2 + src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs | 2 + src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs | 2 + src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs | 2 + src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs | 2 + src/TeleSharp.TL/TL/TLAbsReportReason.cs | 2 + src/TeleSharp.TL/TL/TLAbsRichText.cs | 2 + src/TeleSharp.TL/TL/TLAbsSecureFile.cs | 2 + .../TL/TLAbsSecurePasswordKdfAlgo.cs | 2 + src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs | 2 + .../TL/TLAbsSecureRequiredType.cs | 2 + src/TeleSharp.TL/TL/TLAbsSecureValueError.cs | 2 + src/TeleSharp.TL/TL/TLAbsSecureValueType.cs | 2 + src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs | 2 + src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs | 2 + src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs | 2 + src/TeleSharp.TL/TL/TLAbsUpdate.cs | 2 + src/TeleSharp.TL/TL/TLAbsUpdates.cs | 2 + src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs | 2 + src/TeleSharp.TL/TL/TLAbsUser.cs | 2 + src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs | 2 + src/TeleSharp.TL/TL/TLAbsUserStatus.cs | 2 + src/TeleSharp.TL/TL/TLAbsWallPaper.cs | 2 + src/TeleSharp.TL/TL/TLAbsWebDocument.cs | 2 + src/TeleSharp.TL/TL/TLAbsWebPage.cs | 2 + src/TeleSharp.TL/TL/TLAccountDaysTTL.cs | 7 ++-- src/TeleSharp.TL/TL/TLAuthorization.cs | 10 ++--- src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs | 11 ++--- src/TeleSharp.TL/TL/TLBaseThemeArctic.cs | 10 +++-- src/TeleSharp.TL/TL/TLBaseThemeClassic.cs | 10 +++-- src/TeleSharp.TL/TL/TLBaseThemeDay.cs | 10 +++-- src/TeleSharp.TL/TL/TLBaseThemeNight.cs | 10 +++-- src/TeleSharp.TL/TL/TLBaseThemeTinted.cs | 10 +++-- src/TeleSharp.TL/TL/TLBoolFalse.cs | 10 +++-- src/TeleSharp.TL/TL/TLBoolTrue.cs | 10 +++-- src/TeleSharp.TL/TL/TLBotCommand.cs | 7 ++-- src/TeleSharp.TL/TL/TLBotInfo.cs | 7 ++-- src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs | 7 ++-- .../TL/TLBotInlineMessageMediaAuto.cs | 7 ++-- .../TL/TLBotInlineMessageMediaContact.cs | 7 ++-- .../TL/TLBotInlineMessageMediaGeo.cs | 7 ++-- .../TL/TLBotInlineMessageMediaVenue.cs | 7 ++-- src/TeleSharp.TL/TL/TLBotInlineMessageText.cs | 8 ++-- src/TeleSharp.TL/TL/TLBotInlineResult.cs | 7 ++-- src/TeleSharp.TL/TL/TLCdnConfig.cs | 7 ++-- src/TeleSharp.TL/TL/TLCdnPublicKey.cs | 7 ++-- src/TeleSharp.TL/TL/TLChannel.cs | 19 ++------- src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs | 7 ++-- ...TLChannelAdminLogEventActionChangeAbout.cs | 7 ++-- ...nnelAdminLogEventActionChangeLinkedChat.cs | 7 ++-- ...hannelAdminLogEventActionChangeLocation.cs | 7 ++-- ...TLChannelAdminLogEventActionChangePhoto.cs | 7 ++-- ...nnelAdminLogEventActionChangeStickerSet.cs | 7 ++-- ...TLChannelAdminLogEventActionChangeTitle.cs | 7 ++-- ...hannelAdminLogEventActionChangeUsername.cs | 7 ++-- ...lAdminLogEventActionDefaultBannedRights.cs | 7 ++-- ...ChannelAdminLogEventActionDeleteMessage.cs | 7 ++-- ...TLChannelAdminLogEventActionEditMessage.cs | 7 ++-- ...nelAdminLogEventActionParticipantInvite.cs | 7 ++-- ...annelAdminLogEventActionParticipantJoin.cs | 10 +++-- ...nnelAdminLogEventActionParticipantLeave.cs | 10 +++-- ...minLogEventActionParticipantToggleAdmin.cs | 7 ++-- ...AdminLogEventActionParticipantToggleBan.cs | 7 ++-- .../TLChannelAdminLogEventActionStopPoll.cs | 7 ++-- ...ChannelAdminLogEventActionToggleInvites.cs | 7 ++-- ...minLogEventActionTogglePreHistoryHidden.cs | 7 ++-- ...nnelAdminLogEventActionToggleSignatures.cs | 7 ++-- ...hannelAdminLogEventActionToggleSlowMode.cs | 7 ++-- ...LChannelAdminLogEventActionUpdatePinned.cs | 7 ++-- .../TL/TLChannelAdminLogEventsFilter.cs | 21 ++-------- src/TeleSharp.TL/TL/TLChannelForbidden.cs | 9 ++-- src/TeleSharp.TL/TL/TLChannelFull.cs | 14 ++----- src/TeleSharp.TL/TL/TLChannelLocation.cs | 7 ++-- src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs | 10 +++-- .../TL/TLChannelMessagesFilter.cs | 8 ++-- .../TL/TLChannelMessagesFilterEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLChannelParticipant.cs | 7 ++-- .../TL/TLChannelParticipantAdmin.cs | 9 ++-- .../TL/TLChannelParticipantBanned.cs | 8 ++-- .../TL/TLChannelParticipantCreator.cs | 7 ++-- .../TL/TLChannelParticipantSelf.cs | 7 ++-- .../TL/TLChannelParticipantsAdmins.cs | 10 +++-- .../TL/TLChannelParticipantsBanned.cs | 7 ++-- .../TL/TLChannelParticipantsBots.cs | 10 +++-- .../TL/TLChannelParticipantsContacts.cs | 7 ++-- .../TL/TLChannelParticipantsKicked.cs | 7 ++-- .../TL/TLChannelParticipantsRecent.cs | 10 +++-- .../TL/TLChannelParticipantsSearch.cs | 7 ++-- src/TeleSharp.TL/TL/TLChat.cs | 11 ++--- src/TeleSharp.TL/TL/TLChatAdminRights.cs | 15 ++----- src/TeleSharp.TL/TL/TLChatBannedRights.cs | 19 ++------- src/TeleSharp.TL/TL/TLChatEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatForbidden.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatFull.cs | 9 ++-- src/TeleSharp.TL/TL/TLChatInvite.cs | 11 ++--- src/TeleSharp.TL/TL/TLChatInviteAlready.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatInviteEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLChatInviteExported.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatOnlines.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatParticipant.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs | 7 ++-- .../TL/TLChatParticipantCreator.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatParticipants.cs | 7 ++-- .../TL/TLChatParticipantsForbidden.cs | 7 ++-- src/TeleSharp.TL/TL/TLChatPhoto.cs | 15 ++++--- src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLCodeSettings.cs | 10 ++--- src/TeleSharp.TL/TL/TLConfig.cs | 14 ++----- src/TeleSharp.TL/TL/TLContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLContactBlocked.cs | 7 ++-- src/TeleSharp.TL/TL/TLContactStatus.cs | 7 ++-- src/TeleSharp.TL/TL/TLDataJSON.cs | 7 ++-- src/TeleSharp.TL/TL/TLDcOption.cs | 12 ++---- src/TeleSharp.TL/TL/TLDialog.cs | 9 ++-- src/TeleSharp.TL/TL/TLDialogFolder.cs | 8 ++-- src/TeleSharp.TL/TL/TLDialogPeer.cs | 7 ++-- src/TeleSharp.TL/TL/TLDialogPeerFolder.cs | 7 ++-- src/TeleSharp.TL/TL/TLDocument.cs | 7 ++-- .../TL/TLDocumentAttributeAnimated.cs | 10 +++-- .../TL/TLDocumentAttributeAudio.cs | 8 ++-- .../TL/TLDocumentAttributeFilename.cs | 7 ++-- .../TL/TLDocumentAttributeHasStickers.cs | 10 +++-- .../TL/TLDocumentAttributeImageSize.cs | 7 ++-- .../TL/TLDocumentAttributeSticker.cs | 8 ++-- .../TL/TLDocumentAttributeVideo.cs | 9 ++-- src/TeleSharp.TL/TL/TLDocumentEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLDraftMessage.cs | 8 ++-- src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLEmojiKeyword.cs | 7 ++-- src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs | 7 ++-- .../TL/TLEmojiKeywordsDifference.cs | 7 ++-- src/TeleSharp.TL/TL/TLEmojiLanguage.cs | 7 ++-- src/TeleSharp.TL/TL/TLEmojiURL.cs | 7 ++-- src/TeleSharp.TL/TL/TLEncryptedChat.cs | 7 ++-- .../TL/TLEncryptedChatDiscarded.cs | 7 ++-- src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs | 7 ++-- .../TL/TLEncryptedChatRequested.cs | 7 ++-- src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs | 7 ++-- src/TeleSharp.TL/TL/TLEncryptedFile.cs | 7 ++-- src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLEncryptedMessage.cs | 7 ++-- .../TL/TLEncryptedMessageService.cs | 7 ++-- src/TeleSharp.TL/TL/TLError.cs | 7 ++-- src/TeleSharp.TL/TL/TLExportedMessageLink.cs | 7 ++-- src/TeleSharp.TL/TL/TLFileHash.cs | 7 ++-- .../TL/TLFileLocationToBeDeprecated.cs | 7 ++-- src/TeleSharp.TL/TL/TLFolder.cs | 10 ++--- src/TeleSharp.TL/TL/TLFolderPeer.cs | 7 ++-- src/TeleSharp.TL/TL/TLFoundGif.cs | 7 ++-- src/TeleSharp.TL/TL/TLFoundGifCached.cs | 7 ++-- src/TeleSharp.TL/TL/TLGame.cs | 7 ++-- src/TeleSharp.TL/TL/TLGeoPoint.cs | 7 ++-- src/TeleSharp.TL/TL/TLGeoPointEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLHighScore.cs | 7 ++-- src/TeleSharp.TL/TL/TLImportedContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputAppEvent.cs | 7 ++-- .../TL/TLInputBotInlineMessageGame.cs | 7 ++-- .../TL/TLInputBotInlineMessageID.cs | 7 ++-- .../TL/TLInputBotInlineMessageMediaAuto.cs | 7 ++-- .../TL/TLInputBotInlineMessageMediaContact.cs | 7 ++-- .../TL/TLInputBotInlineMessageMediaGeo.cs | 7 ++-- .../TL/TLInputBotInlineMessageMediaVenue.cs | 7 ++-- .../TL/TLInputBotInlineMessageText.cs | 8 ++-- src/TeleSharp.TL/TL/TLInputBotInlineResult.cs | 7 ++-- .../TL/TLInputBotInlineResultDocument.cs | 7 ++-- .../TL/TLInputBotInlineResultGame.cs | 7 ++-- .../TL/TLInputBotInlineResultPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputChannel.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputChannelEmpty.cs | 10 +++-- .../TL/TLInputChannelFromMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputChatPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs | 10 +++-- .../TL/TLInputChatUploadedPhoto.cs | 7 ++-- .../TL/TLInputCheckPasswordEmpty.cs | 10 +++-- .../TL/TLInputCheckPasswordSRP.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputClientProxy.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputDialogPeer.cs | 7 ++-- .../TL/TLInputDialogPeerFolder.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputDocument.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs | 10 +++-- .../TL/TLInputDocumentFileLocation.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputEncryptedChat.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputEncryptedFile.cs | 7 ++-- .../TL/TLInputEncryptedFileBigUploaded.cs | 7 ++-- .../TL/TLInputEncryptedFileEmpty.cs | 10 +++-- .../TL/TLInputEncryptedFileLocation.cs | 7 ++-- .../TL/TLInputEncryptedFileUploaded.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputFile.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputFileBig.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputFileLocation.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputFolderPeer.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputGameID.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputGameShortName.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputGeoPoint.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs | 10 +++-- .../TL/TLInputKeyboardButtonUrlAuth.cs | 8 ++-- src/TeleSharp.TL/TL/TLInputMediaContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaDocument.cs | 7 ++-- .../TL/TLInputMediaDocumentExternal.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputMediaGame.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs | 8 ++-- src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs | 7 ++-- .../TL/TLInputMediaGifExternal.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaInvoice.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaPhoto.cs | 7 ++-- .../TL/TLInputMediaPhotoExternal.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaPoll.cs | 7 ++-- .../TL/TLInputMediaUploadedDocument.cs | 8 ++-- .../TL/TLInputMediaUploadedPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMediaVenue.cs | 7 ++-- .../TL/TLInputMessageEntityMentionName.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMessageID.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputMessagePinned.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs | 7 ++-- .../TL/TLInputMessagesFilterChatPhotos.cs | 10 +++-- .../TL/TLInputMessagesFilterContacts.cs | 10 +++-- .../TL/TLInputMessagesFilterDocument.cs | 10 +++-- .../TL/TLInputMessagesFilterEmpty.cs | 10 +++-- .../TL/TLInputMessagesFilterGeo.cs | 10 +++-- .../TL/TLInputMessagesFilterGif.cs | 10 +++-- .../TL/TLInputMessagesFilterMusic.cs | 10 +++-- .../TL/TLInputMessagesFilterMyMentions.cs | 10 +++-- .../TL/TLInputMessagesFilterPhoneCalls.cs | 8 ++-- .../TL/TLInputMessagesFilterPhotoVideo.cs | 10 +++-- .../TL/TLInputMessagesFilterPhotos.cs | 10 +++-- .../TL/TLInputMessagesFilterRoundVideo.cs | 10 +++-- .../TL/TLInputMessagesFilterRoundVoice.cs | 10 +++-- .../TL/TLInputMessagesFilterUrl.cs | 10 +++-- .../TL/TLInputMessagesFilterVideo.cs | 10 +++-- .../TL/TLInputMessagesFilterVoice.cs | 10 +++-- .../TL/TLInputNotifyBroadcasts.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputNotifyChats.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputNotifyPeer.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputNotifyUsers.cs | 10 +++-- .../TL/TLInputPaymentCredentials.cs | 8 ++-- .../TL/TLInputPaymentCredentialsAndroidPay.cs | 7 ++-- .../TL/TLInputPaymentCredentialsApplePay.cs | 7 ++-- .../TL/TLInputPaymentCredentialsSaved.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPeerChannel.cs | 7 ++-- .../TL/TLInputPeerChannelFromMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPeerChat.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPeerEmpty.cs | 10 +++-- .../TL/TLInputPeerNotifySettings.cs | 7 ++-- .../TL/TLInputPeerPhotoFileLocation.cs | 8 ++-- src/TeleSharp.TL/TL/TLInputPeerSelf.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputPeerUser.cs | 7 ++-- .../TL/TLInputPeerUserFromMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPhoneCall.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPhoneContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs | 10 +++-- .../TL/TLInputPhotoFileLocation.cs | 7 ++-- .../TL/TLInputPhotoLegacyFileLocation.cs | 7 ++-- .../TL/TLInputPrivacyKeyAddedByPhone.cs | 10 +++-- .../TL/TLInputPrivacyKeyChatInvite.cs | 10 +++-- .../TL/TLInputPrivacyKeyForwards.cs | 10 +++-- .../TL/TLInputPrivacyKeyPhoneCall.cs | 10 +++-- .../TL/TLInputPrivacyKeyPhoneNumber.cs | 10 +++-- .../TL/TLInputPrivacyKeyPhoneP2P.cs | 10 +++-- .../TL/TLInputPrivacyKeyProfilePhoto.cs | 10 +++-- .../TL/TLInputPrivacyKeyStatusTimestamp.cs | 10 +++-- .../TL/TLInputPrivacyValueAllowAll.cs | 10 +++-- ...LInputPrivacyValueAllowChatParticipants.cs | 7 ++-- .../TL/TLInputPrivacyValueAllowContacts.cs | 10 +++-- .../TL/TLInputPrivacyValueAllowUsers.cs | 7 ++-- .../TL/TLInputPrivacyValueDisallowAll.cs | 10 +++-- ...putPrivacyValueDisallowChatParticipants.cs | 7 ++-- .../TL/TLInputPrivacyValueDisallowContacts.cs | 10 +++-- .../TL/TLInputPrivacyValueDisallowUsers.cs | 7 ++-- .../TL/TLInputReportReasonChildAbuse.cs | 10 +++-- .../TL/TLInputReportReasonCopyright.cs | 10 +++-- .../TL/TLInputReportReasonGeoIrrelevant.cs | 10 +++-- .../TL/TLInputReportReasonOther.cs | 7 ++-- .../TL/TLInputReportReasonPornography.cs | 10 +++-- .../TL/TLInputReportReasonSpam.cs | 10 +++-- .../TL/TLInputReportReasonViolence.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputSecureFile.cs | 7 ++-- .../TL/TLInputSecureFileLocation.cs | 7 ++-- .../TL/TLInputSecureFileUploaded.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputSecureValue.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputSingleMedia.cs | 7 ++-- .../TL/TLInputStickerSetAnimatedEmoji.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputStickerSetID.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputStickerSetItem.cs | 7 ++-- .../TL/TLInputStickerSetShortName.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs | 7 ++-- .../TL/TLInputStickeredMediaDocument.cs | 7 ++-- .../TL/TLInputStickeredMediaPhoto.cs | 7 ++-- .../TL/TLInputTakeoutFileLocation.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputTheme.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputThemeSettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputThemeSlug.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputUser.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputUserEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputUserFromMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputUserSelf.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputWallPaper.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs | 10 +++-- src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputWebDocument.cs | 7 ++-- .../TL/TLInputWebFileGeoPointLocation.cs | 7 ++-- src/TeleSharp.TL/TL/TLInputWebFileLocation.cs | 7 ++-- src/TeleSharp.TL/TL/TLInvoice.cs | 15 ++----- src/TeleSharp.TL/TL/TLJsonArray.cs | 7 ++-- src/TeleSharp.TL/TL/TLJsonBool.cs | 7 ++-- src/TeleSharp.TL/TL/TLJsonNull.cs | 10 +++-- src/TeleSharp.TL/TL/TLJsonNumber.cs | 7 ++-- src/TeleSharp.TL/TL/TLJsonObject.cs | 11 +++-- src/TeleSharp.TL/TL/TLJsonObjectValue.cs | 7 ++-- src/TeleSharp.TL/TL/TLJsonString.cs | 7 ++-- src/TeleSharp.TL/TL/TLKeyboardButton.cs | 7 ++-- src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs | 7 ++-- .../TL/TLKeyboardButtonCallback.cs | 7 ++-- src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs | 7 ++-- .../TL/TLKeyboardButtonRequestGeoLocation.cs | 7 ++-- .../TL/TLKeyboardButtonRequestPhone.cs | 7 ++-- src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs | 7 ++-- .../TL/TLKeyboardButtonSwitchInline.cs | 8 ++-- src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs | 7 ++-- .../TL/TLKeyboardButtonUrlAuth.cs | 7 ++-- src/TeleSharp.TL/TL/TLLabeledPrice.cs | 7 ++-- src/TeleSharp.TL/TL/TLLangPackDifference.cs | 7 ++-- src/TeleSharp.TL/TL/TLLangPackLanguage.cs | 10 ++--- src/TeleSharp.TL/TL/TLLangPackString.cs | 7 ++-- .../TL/TLLangPackStringDeleted.cs | 7 ++-- .../TL/TLLangPackStringPluralized.cs | 7 ++-- src/TeleSharp.TL/TL/TLMaskCoords.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessage.cs | 15 ++----- .../TL/TLMessageActionBotAllowed.cs | 7 ++-- .../TL/TLMessageActionChannelCreate.cs | 7 ++-- .../TL/TLMessageActionChannelMigrateFrom.cs | 7 ++-- .../TL/TLMessageActionChatAddUser.cs | 7 ++-- .../TL/TLMessageActionChatCreate.cs | 7 ++-- .../TL/TLMessageActionChatDeletePhoto.cs | 10 +++-- .../TL/TLMessageActionChatDeleteUser.cs | 7 ++-- .../TL/TLMessageActionChatEditPhoto.cs | 7 ++-- .../TL/TLMessageActionChatEditTitle.cs | 7 ++-- .../TL/TLMessageActionChatJoinedByLink.cs | 7 ++-- .../TL/TLMessageActionChatMigrateTo.cs | 7 ++-- .../TL/TLMessageActionContactSignUp.cs | 10 +++-- .../TL/TLMessageActionCustomAction.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageActionEmpty.cs | 10 +++-- .../TL/TLMessageActionGameScore.cs | 7 ++-- .../TL/TLMessageActionHistoryClear.cs | 10 +++-- .../TL/TLMessageActionPaymentSent.cs | 7 ++-- .../TL/TLMessageActionPaymentSentMe.cs | 7 ++-- .../TL/TLMessageActionPhoneCall.cs | 8 ++-- .../TL/TLMessageActionPinMessage.cs | 10 +++-- .../TL/TLMessageActionScreenshotTaken.cs | 10 +++-- .../TL/TLMessageActionSecureValuesSent.cs | 7 ++-- .../TL/TLMessageActionSecureValuesSentMe.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEmpty.cs | 7 ++-- .../TL/TLMessageEntityBlockquote.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityBold.cs | 7 ++-- .../TL/TLMessageEntityBotCommand.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityCode.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityEmail.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityItalic.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityMention.cs | 7 ++-- .../TL/TLMessageEntityMentionName.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityPhone.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityPre.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityStrike.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs | 7 ++-- .../TL/TLMessageEntityUnderline.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageEntityUrl.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageFwdHeader.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaDocument.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLMessageMediaGame.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaGeo.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs | 9 ++-- src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaPoll.cs | 7 ++-- .../TL/TLMessageMediaUnsupported.cs | 10 +++-- src/TeleSharp.TL/TL/TLMessageMediaVenue.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageRange.cs | 7 ++-- src/TeleSharp.TL/TL/TLMessageService.cs | 13 ++---- src/TeleSharp.TL/TL/TLNearestDc.cs | 7 ++-- src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs | 10 +++-- src/TeleSharp.TL/TL/TLNotifyChats.cs | 10 +++-- src/TeleSharp.TL/TL/TLNotifyPeer.cs | 7 ++-- src/TeleSharp.TL/TL/TLNotifyUsers.cs | 10 +++-- src/TeleSharp.TL/TL/TLNull.cs | 10 +++-- src/TeleSharp.TL/TL/TLPage.cs | 10 ++--- src/TeleSharp.TL/TL/TLPageBlockAnchor.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockAudio.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockChannel.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockCollage.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockCover.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockDetails.cs | 8 ++-- src/TeleSharp.TL/TL/TLPageBlockDivider.cs | 10 +++-- src/TeleSharp.TL/TL/TLPageBlockEmbed.cs | 9 ++-- src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockFooter.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockHeader.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockKicker.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockList.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockMap.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockParagraph.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockPhoto.cs | 7 ++-- .../TL/TLPageBlockPreformatted.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockPullquote.cs | 7 ++-- .../TL/TLPageBlockRelatedArticles.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockSubheader.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockTable.cs | 9 ++-- src/TeleSharp.TL/TL/TLPageBlockTitle.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs | 10 +++-- src/TeleSharp.TL/TL/TLPageBlockVideo.cs | 9 ++-- src/TeleSharp.TL/TL/TLPageCaption.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageListItemBlocks.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageListItemText.cs | 7 ++-- .../TL/TLPageListOrderedItemBlocks.cs | 7 ++-- .../TL/TLPageListOrderedItemText.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageRelatedArticle.cs | 7 ++-- src/TeleSharp.TL/TL/TLPageTableCell.cs | 12 ++---- src/TeleSharp.TL/TL/TLPageTableRow.cs | 7 ++-- ...6PBKDF2HMACSHA512iter100000SHA256ModPow.cs | 7 ++-- .../TL/TLPasswordKdfAlgoUnknown.cs | 10 +++-- src/TeleSharp.TL/TL/TLPaymentCharge.cs | 7 ++-- src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs | 7 ++-- .../TL/TLPaymentSavedCredentialsCard.cs | 7 ++-- src/TeleSharp.TL/TL/TLPeerChannel.cs | 7 ++-- src/TeleSharp.TL/TL/TLPeerChat.cs | 7 ++-- src/TeleSharp.TL/TL/TLPeerLocated.cs | 7 ++-- src/TeleSharp.TL/TL/TLPeerNotifySettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLPeerSettings.cs | 13 ++---- src/TeleSharp.TL/TL/TLPeerUser.cs | 7 ++-- src/TeleSharp.TL/TL/TLPhoneCall.cs | 8 ++-- src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs | 8 ++-- .../TL/TLPhoneCallDiscardReasonBusy.cs | 10 +++-- .../TL/TLPhoneCallDiscardReasonDisconnect.cs | 10 +++-- .../TL/TLPhoneCallDiscardReasonHangup.cs | 10 +++-- .../TL/TLPhoneCallDiscardReasonMissed.cs | 10 +++-- src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs | 10 ++--- src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs | 9 ++-- src/TeleSharp.TL/TL/TLPhoneCallRequested.cs | 8 ++-- src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs | 8 ++-- src/TeleSharp.TL/TL/TLPhoneConnection.cs | 7 ++-- src/TeleSharp.TL/TL/TLPhoto.cs | 8 ++-- src/TeleSharp.TL/TL/TLPhotoCachedSize.cs | 11 +++-- src/TeleSharp.TL/TL/TLPhotoEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLPhotoSize.cs | 11 +++-- src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs | 7 ++-- src/TeleSharp.TL/TL/TLPoll.cs | 11 ++--- src/TeleSharp.TL/TL/TLPollAnswer.cs | 7 ++-- src/TeleSharp.TL/TL/TLPollAnswerVoters.cs | 9 ++-- src/TeleSharp.TL/TL/TLPollResults.cs | 8 ++-- src/TeleSharp.TL/TL/TLPopularContact.cs | 7 ++-- src/TeleSharp.TL/TL/TLPostAddress.cs | 7 ++-- .../TL/TLPrivacyKeyAddedByPhone.cs | 10 +++-- src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs | 10 +++-- src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs | 10 +++-- src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs | 10 +++-- .../TL/TLPrivacyKeyPhoneNumber.cs | 10 +++-- src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs | 10 +++-- .../TL/TLPrivacyKeyProfilePhoto.cs | 10 +++-- .../TL/TLPrivacyKeyStatusTimestamp.cs | 10 +++-- src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs | 10 +++-- .../TL/TLPrivacyValueAllowChatParticipants.cs | 7 ++-- .../TL/TLPrivacyValueAllowContacts.cs | 10 +++-- .../TL/TLPrivacyValueAllowUsers.cs | 7 ++-- .../TL/TLPrivacyValueDisallowAll.cs | 10 +++-- .../TLPrivacyValueDisallowChatParticipants.cs | 7 ++-- .../TL/TLPrivacyValueDisallowContacts.cs | 10 +++-- .../TL/TLPrivacyValueDisallowUsers.cs | 7 ++-- .../TL/TLReceivedNotifyMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs | 7 ++-- .../TL/TLRecentMeUrlChatInvite.cs | 7 ++-- .../TL/TLRecentMeUrlStickerSet.cs | 7 ++-- src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs | 7 ++-- src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs | 7 ++-- src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs | 7 ++-- .../TL/TLReplyKeyboardForceReply.cs | 9 ++-- src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs | 8 ++-- src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs | 10 ++--- .../TL/TLRequestInitConnection.cs | 9 ++-- .../TL/TLRequestInvokeAfterMsg.cs | 9 ++-- .../TL/TLRequestInvokeAfterMsgs.cs | 9 ++-- .../TL/TLRequestInvokeWithLayer.cs | 9 ++-- .../TL/TLRequestInvokeWithMessagesRange.cs | 9 ++-- .../TL/TLRequestInvokeWithTakeout.cs | 9 ++-- .../TL/TLRequestInvokeWithoutUpdates.cs | 9 ++-- src/TeleSharp.TL/TL/TLRestrictionReason.cs | 7 ++-- src/TeleSharp.TL/TL/TLSavedPhoneContact.cs | 7 ++-- .../TL/TLSecureCredentialsEncrypted.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureData.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureFile.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureFileEmpty.cs | 10 +++-- ...sswordKdfAlgoPBKDF2HMACSHA512iter100000.cs | 7 ++-- .../TL/TLSecurePasswordKdfAlgoSHA512.cs | 7 ++-- .../TL/TLSecurePasswordKdfAlgoUnknown.cs | 10 +++-- src/TeleSharp.TL/TL/TLSecurePlainEmail.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecurePlainPhone.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureRequiredType.cs | 10 ++--- .../TL/TLSecureRequiredTypeOneOf.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureSecretSettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureValue.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureValueError.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureValueErrorData.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs | 7 ++-- .../TL/TLSecureValueErrorFiles.cs | 7 ++-- .../TL/TLSecureValueErrorFrontSide.cs | 7 ++-- .../TL/TLSecureValueErrorReverseSide.cs | 7 ++-- .../TL/TLSecureValueErrorSelfie.cs | 7 ++-- .../TL/TLSecureValueErrorTranslationFile.cs | 7 ++-- .../TL/TLSecureValueErrorTranslationFiles.cs | 7 ++-- src/TeleSharp.TL/TL/TLSecureValueHash.cs | 7 ++-- .../TL/TLSecureValueTypeAddress.cs | 10 +++-- .../TL/TLSecureValueTypeBankStatement.cs | 10 +++-- .../TL/TLSecureValueTypeDriverLicense.cs | 10 +++-- src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs | 10 +++-- .../TL/TLSecureValueTypeIdentityCard.cs | 10 +++-- .../TL/TLSecureValueTypeInternalPassport.cs | 10 +++-- .../TL/TLSecureValueTypePassport.cs | 10 +++-- .../TLSecureValueTypePassportRegistration.cs | 10 +++-- .../TL/TLSecureValueTypePersonalDetails.cs | 10 +++-- src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs | 10 +++-- .../TL/TLSecureValueTypeRentalAgreement.cs | 10 +++-- .../TLSecureValueTypeTemporaryRegistration.cs | 10 +++-- .../TL/TLSecureValueTypeUtilityBill.cs | 10 +++-- .../TL/TLSendMessageCancelAction.cs | 10 +++-- .../TL/TLSendMessageChooseContactAction.cs | 10 +++-- .../TL/TLSendMessageGamePlayAction.cs | 10 +++-- .../TL/TLSendMessageGeoLocationAction.cs | 10 +++-- .../TL/TLSendMessageRecordAudioAction.cs | 10 +++-- .../TL/TLSendMessageRecordRoundAction.cs | 10 +++-- .../TL/TLSendMessageRecordVideoAction.cs | 10 +++-- .../TL/TLSendMessageTypingAction.cs | 10 +++-- .../TL/TLSendMessageUploadAudioAction.cs | 7 ++-- .../TL/TLSendMessageUploadDocumentAction.cs | 7 ++-- .../TL/TLSendMessageUploadPhotoAction.cs | 7 ++-- .../TL/TLSendMessageUploadRoundAction.cs | 7 ++-- .../TL/TLSendMessageUploadVideoAction.cs | 7 ++-- src/TeleSharp.TL/TL/TLShippingOption.cs | 7 ++-- src/TeleSharp.TL/TL/TLStatsURL.cs | 7 ++-- src/TeleSharp.TL/TL/TLStickerPack.cs | 7 ++-- src/TeleSharp.TL/TL/TLStickerSet.cs | 11 ++--- src/TeleSharp.TL/TL/TLStickerSetCovered.cs | 7 ++-- .../TL/TLStickerSetMultiCovered.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextAnchor.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextBold.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextConcat.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextEmail.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLTextFixed.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextImage.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextItalic.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextMarked.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextPhone.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextPlain.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextStrike.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextSubscript.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextSuperscript.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextUnderline.cs | 7 ++-- src/TeleSharp.TL/TL/TLTextUrl.cs | 7 ++-- src/TeleSharp.TL/TL/TLTheme.cs | 9 ++-- src/TeleSharp.TL/TL/TLThemeSettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLTopPeer.cs | 7 ++-- .../TL/TLTopPeerCategoryBotsInline.cs | 10 +++-- .../TL/TLTopPeerCategoryBotsPM.cs | 10 +++-- .../TL/TLTopPeerCategoryChannels.cs | 10 +++-- .../TL/TLTopPeerCategoryCorrespondents.cs | 10 +++-- .../TL/TLTopPeerCategoryForwardChats.cs | 10 +++-- .../TL/TLTopPeerCategoryForwardUsers.cs | 10 +++-- .../TL/TLTopPeerCategoryGroups.cs | 10 +++-- src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs | 7 ++-- .../TL/TLTopPeerCategoryPhoneCalls.cs | 10 +++-- src/TeleSharp.TL/TL/TLTrue.cs | 10 +++-- .../TL/TLUpdateBotCallbackQuery.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs | 7 ++-- .../TL/TLUpdateBotPrecheckoutQuery.cs | 7 ++-- .../TL/TLUpdateBotShippingQuery.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs | 7 ++-- .../TL/TLUpdateBotWebhookJSONQuery.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateChannel.cs | 7 ++-- .../TL/TLUpdateChannelAvailableMessages.cs | 7 ++-- .../TL/TLUpdateChannelMessageViews.cs | 7 ++-- .../TL/TLUpdateChannelPinnedMessage.cs | 7 ++-- .../TL/TLUpdateChannelReadMessagesContents.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs | 7 ++-- .../TL/TLUpdateChatDefaultBannedRights.cs | 7 ++-- .../TL/TLUpdateChatParticipantAdd.cs | 7 ++-- .../TL/TLUpdateChatParticipantAdmin.cs | 7 ++-- .../TL/TLUpdateChatParticipantDelete.cs | 7 ++-- .../TL/TLUpdateChatParticipants.cs | 7 ++-- .../TL/TLUpdateChatPinnedMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateConfig.cs | 10 +++-- src/TeleSharp.TL/TL/TLUpdateContactsReset.cs | 10 +++-- src/TeleSharp.TL/TL/TLUpdateDcOptions.cs | 7 ++-- .../TL/TLUpdateDeleteChannelMessages.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs | 7 ++-- .../TL/TLUpdateDeleteScheduledMessages.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs | 8 ++-- .../TL/TLUpdateDialogUnreadMark.cs | 8 ++-- src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs | 7 ++-- .../TL/TLUpdateEditChannelMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateEditMessage.cs | 7 ++-- .../TL/TLUpdateEncryptedChatTyping.cs | 7 ++-- .../TL/TLUpdateEncryptedMessagesRead.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateEncryption.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs | 10 +++-- src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs | 7 ++-- .../TL/TLUpdateInlineBotCallbackQuery.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateLangPack.cs | 7 ++-- .../TL/TLUpdateLangPackTooLong.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateLoginToken.cs | 10 +++-- src/TeleSharp.TL/TL/TLUpdateMessageID.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs | 7 ++-- .../TL/TLUpdateNewChannelMessage.cs | 7 ++-- .../TL/TLUpdateNewEncryptedMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateNewMessage.cs | 7 ++-- .../TL/TLUpdateNewScheduledMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePrivacy.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs | 10 +++-- .../TL/TLUpdateReadChannelInbox.cs | 7 ++-- .../TL/TLUpdateReadChannelOutbox.cs | 7 ++-- .../TL/TLUpdateReadFeaturedStickers.cs | 10 +++-- .../TL/TLUpdateReadHistoryInbox.cs | 7 ++-- .../TL/TLUpdateReadHistoryOutbox.cs | 7 ++-- .../TL/TLUpdateReadMessagesContents.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs | 10 +++-- src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs | 10 +++-- .../TL/TLUpdateServiceNotification.cs | 8 ++-- src/TeleSharp.TL/TL/TLUpdateShort.cs | 7 ++-- .../TL/TLUpdateShortChatMessage.cs | 11 ++--- src/TeleSharp.TL/TL/TLUpdateShortMessage.cs | 11 ++--- .../TL/TLUpdateShortSentMessage.cs | 8 ++-- src/TeleSharp.TL/TL/TLUpdateStickerSets.cs | 10 +++-- .../TL/TLUpdateStickerSetsOrder.cs | 8 ++-- src/TeleSharp.TL/TL/TLUpdateTheme.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserName.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserPhone.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs | 7 ++-- .../TL/TLUpdateUserPinnedMessage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserStatus.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateUserTyping.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdateWebPage.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdates.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatesCombined.cs | 7 ++-- src/TeleSharp.TL/TL/TLUpdatesTooLong.cs | 10 +++-- .../TL/TLUrlAuthResultAccepted.cs | 7 ++-- src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs | 10 +++-- src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs | 8 ++-- src/TeleSharp.TL/TL/TLUser.cs | 20 ++------- src/TeleSharp.TL/TL/TLUserEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLUserFull.cs | 12 ++---- src/TeleSharp.TL/TL/TLUserProfilePhoto.cs | 15 ++++--- .../TL/TLUserProfilePhotoEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLUserStatusEmpty.cs | 10 +++-- src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs | 10 +++-- src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs | 10 +++-- src/TeleSharp.TL/TL/TLUserStatusOffline.cs | 7 ++-- src/TeleSharp.TL/TL/TLUserStatusOnline.cs | 7 ++-- src/TeleSharp.TL/TL/TLUserStatusRecently.cs | 10 +++-- src/TeleSharp.TL/TL/TLVector.cs | 41 +++++++++++++++++++ src/TeleSharp.TL/TL/TLWallPaper.cs | 11 ++--- src/TeleSharp.TL/TL/TLWallPaperNoFile.cs | 9 ++-- src/TeleSharp.TL/TL/TLWallPaperSettings.cs | 9 ++-- src/TeleSharp.TL/TL/TLWebAuthorization.cs | 7 ++-- src/TeleSharp.TL/TL/TLWebDocument.cs | 7 ++-- src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs | 7 ++-- src/TeleSharp.TL/TL/TLWebPage.cs | 11 +++-- .../TL/TLWebPageAttributeTheme.cs | 7 ++-- src/TeleSharp.TL/TL/TLWebPageEmpty.cs | 7 ++-- src/TeleSharp.TL/TL/TLWebPageNotModified.cs | 10 +++-- src/TeleSharp.TL/TL/TLWebPagePending.cs | 7 ++-- .../TL/Updates/TLAbsChannelDifference.cs | 2 + .../TL/Updates/TLAbsDifference.cs | 2 + .../TL/Updates/TLChannelDifference.cs | 8 ++-- .../TL/Updates/TLChannelDifferenceEmpty.cs | 8 ++-- .../TL/Updates/TLChannelDifferenceTooLong.cs | 8 ++-- src/TeleSharp.TL/TL/Updates/TLDifference.cs | 7 ++-- .../TL/Updates/TLDifferenceEmpty.cs | 7 ++-- .../TL/Updates/TLDifferenceSlice.cs | 7 ++-- .../TL/Updates/TLDifferenceTooLong.cs | 7 ++-- .../Updates/TLRequestGetChannelDifference.cs | 10 ++--- .../TL/Updates/TLRequestGetDifference.cs | 9 ++-- .../TL/Updates/TLRequestGetState.cs | 11 ++--- src/TeleSharp.TL/TL/Updates/TLState.cs | 7 ++-- src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs | 2 + src/TeleSharp.TL/TL/Upload/TLAbsFile.cs | 2 + src/TeleSharp.TL/TL/Upload/TLCdnFile.cs | 7 ++-- .../TL/Upload/TLCdnFileReuploadNeeded.cs | 7 ++-- src/TeleSharp.TL/TL/Upload/TLFile.cs | 7 ++-- .../TL/Upload/TLFileCdnRedirect.cs | 7 ++-- .../TL/Upload/TLRequestGetCdnFile.cs | 9 ++-- .../TL/Upload/TLRequestGetCdnFileHashes.cs | 9 ++-- .../TL/Upload/TLRequestGetFile.cs | 11 ++--- .../TL/Upload/TLRequestGetFileHashes.cs | 9 ++-- .../TL/Upload/TLRequestGetWebFile.cs | 9 ++-- .../TL/Upload/TLRequestReuploadCdnFile.cs | 9 ++-- .../TL/Upload/TLRequestSaveBigFilePart.cs | 9 ++-- .../TL/Upload/TLRequestSaveFilePart.cs | 9 ++-- src/TeleSharp.TL/TL/Upload/TLWebFile.cs | 7 ++-- .../TL/Users/TLRequestGetFullUser.cs | 9 ++-- .../TL/Users/TLRequestGetUsers.cs | 9 ++-- .../TL/Users/TLRequestSetSecureValueErrors.cs | 9 ++-- 1256 files changed, 4653 insertions(+), 5175 deletions(-) create mode 100644 src/TeleSharp.TL/TL/TLVector.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs b/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs index 76584abc..4715cdb4 100644 --- a/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs +++ b/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { public abstract class TLAbsThemes : TLObject diff --git a/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs index 7c4d6b02..ac740e25 100644 --- a/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { public abstract class TLAbsWallPapers : TLObject diff --git a/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs b/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs index 2efc6694..833242c4 100644 --- a/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs +++ b/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1389486888)] @@ -25,10 +27,9 @@ public override int Constructor public TLVector Users { get; set; } public string PrivacyPolicyUrl { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else PrivacyPolicyUrl = null; - } public override void SerializeBody(BinaryWriter bw) @@ -56,7 +56,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Users, bw); if ((Flags & 1) != 0) StringUtil.Serialize(PrivacyPolicyUrl, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLAuthorizations.cs index 113f6bc2..54b31240 100644 --- a/src/TeleSharp.TL/TL/Account/TLAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Account/TLAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(307276766)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Authorizations { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Authorizations = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Authorizations, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs index 012726f7..87aa557c 100644 --- a/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1674235686)] @@ -22,10 +24,9 @@ public override int Constructor public TLAutoDownloadSettings Medium { get; set; } public TLAutoDownloadSettings High { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Low = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); Medium = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); High = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Low, bw); ObjectUtils.SerializeObject(Medium, bw); ObjectUtils.SerializeObject(High, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLContentSettings.cs b/src/TeleSharp.TL/TL/Account/TLContentSettings.cs index cc0b3af5..7e56e815 100644 --- a/src/TeleSharp.TL/TL/Account/TLContentSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLContentSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1474462241)] @@ -22,10 +24,9 @@ public override int Constructor public bool SensitiveEnabled { get; set; } public bool SensitiveCanChange { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,12 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); SensitiveEnabled = (Flags & 1) != 0; SensitiveCanChange = (Flags & 2) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLPassword.cs b/src/TeleSharp.TL/TL/Account/TLPassword.cs index b7267955..c752e36b 100644 --- a/src/TeleSharp.TL/TL/Account/TLPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1390001672)] @@ -31,10 +33,9 @@ public override int Constructor public TLAbsSecurePasswordKdfAlgo NewSecureAlgo { get; set; } public byte[] SecureRandom { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -71,16 +72,12 @@ public override void DeserializeBody(BinaryReader br) NewAlgo = (TLAbsPasswordKdfAlgo)ObjectUtils.DeserializeObject(br); NewSecureAlgo = (TLAbsSecurePasswordKdfAlgo)ObjectUtils.DeserializeObject(br); SecureRandom = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - if ((Flags & 4) != 0) ObjectUtils.SerializeObject(CurrentAlgo, bw); if ((Flags & 4) != 0) @@ -94,7 +91,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(NewAlgo, bw); ObjectUtils.SerializeObject(NewSecureAlgo, bw); BytesUtil.Serialize(SecureRandom, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs b/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs index fc188760..7c9386a9 100644 --- a/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1036572727)] @@ -25,10 +27,9 @@ public override int Constructor public string Email { get; set; } public TLSecureSecretSettings NewSecureSettings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -59,7 +60,6 @@ public override void DeserializeBody(BinaryReader br) else NewSecureSettings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -76,7 +76,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Email, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(NewSecureSettings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs index 0210630e..5dc3042c 100644 --- a/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1705233435)] @@ -22,10 +24,9 @@ public override int Constructor public string Email { get; set; } public TLSecureSecretSettings SecureSettings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else SecureSettings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Email, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(SecureSettings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs b/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs index cf957c6f..202dfc91 100644 --- a/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs +++ b/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1352683077)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Rules = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Rules, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs b/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs index 656a7249..3163bd96 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-419267436)] @@ -25,10 +27,9 @@ public override int Constructor public TLSecureCredentialsEncrypted Credentials { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) PublicKey = StringUtil.Deserialize(br); ValueHashes = (TLVector)ObjectUtils.DeserializeVector(br); Credentials = (TLSecureCredentialsEncrypted)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -49,12 +49,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PublicKey, bw); ObjectUtils.SerializeObject(ValueHashes, bw); ObjectUtils.SerializeObject(Credentials, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs index f2ba0778..b3816f1a 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1043606090)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs b/src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs index ebe2693d..f4bc0b77 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1891839707)] @@ -23,10 +25,9 @@ public override int Constructor public string PhoneCode { get; set; } public TLAbsUser Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); PhoneCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); StringUtil.Serialize(PhoneCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUser)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs b/src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs index 51e4d833..c75c1bfc 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(655677548)] @@ -21,28 +23,25 @@ public override int Constructor public string Username { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Username, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs index ff2b35f6..2ae86a88 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1881204448)] @@ -21,28 +23,25 @@ public override int Constructor public string Code { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Code = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Code, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs index 3a4f1d87..400b02c8 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1596029123)] @@ -22,17 +24,15 @@ public override int Constructor public string PhoneCode { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneCodeHash = StringUtil.Deserialize(br); PhoneCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneCodeHash, bw); StringUtil.Serialize(PhoneCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs index 98af7857..af370dcd 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-2077048289)] @@ -25,10 +27,9 @@ public override int Constructor public TLInputThemeSettings Settings { get; set; } public TLTheme Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -46,7 +47,6 @@ public override void DeserializeBody(BinaryReader br) else Settings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -59,12 +59,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Document, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLTheme)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs b/src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs index dac01217..484e0e4d 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1099779595)] @@ -21,28 +23,25 @@ public override int Constructor public string Reason { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Reason = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Reason, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs b/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs index cc80516b..a5e82bcf 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1199522741)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Types { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Types = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Types, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs b/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs index 9dcccab0..4b78fd9f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(489050862)] @@ -22,30 +24,26 @@ public override int Constructor public bool Success { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Success = (Flags & 1) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs index 835f270e..f12ce0e0 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(150761757)] @@ -20,26 +22,25 @@ public override int Constructor public TLAccountDaysTTL Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAccountDaysTTL)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs index 445f5b80..839c7c0c 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1299661699)] @@ -20,26 +22,25 @@ public override int Constructor public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs index f397a571..310347b4 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1200903967)] @@ -23,10 +25,9 @@ public override int Constructor public string PublicKey { get; set; } public Account.TLAuthorizationForm Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) BotId = br.ReadInt32(); Scope = StringUtil.Deserialize(br); PublicKey = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(BotId); StringUtil.Serialize(Scope, bw); StringUtil.Serialize(PublicKey, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLAuthorizationForm)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs index b7e74142..36e5503f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-484392616)] @@ -20,26 +22,25 @@ public override int Constructor public Account.TLAuthorizations Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLAuthorizations)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs index 19cae9cc..1a4b5fff 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1457130303)] @@ -20,26 +22,25 @@ public override int Constructor public Account.TLAutoDownloadSettings Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs index f5a7c96b..cca350e4 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1626880216)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs index 4cd3d6c1..4c3f5af3 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1952756306)] @@ -20,26 +22,25 @@ public override int Constructor public Account.TLContentSettings Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLContentSettings)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs index 95501116..aff6fa40 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1705865692)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Wallpapers { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Wallpapers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Wallpapers, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs index 14c01ec4..4d365a89 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1398240377)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputNotifyPeer Peer { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,22 +39,19 @@ public override void DeserializeBody(BinaryReader br) else Peer = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs index 34d3c4c7..dcd46e14 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(313765169)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputNotifyPeer Peer { get; set; } public TLPeerNotifySettings Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputNotifyPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs index 77c4435f..a13c94b5 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1418342645)] @@ -20,26 +22,25 @@ public override int Constructor public Account.TLPassword Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLPassword)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs index dd01d914..d6ade229 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1663767815)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputCheckPasswordSRP Password { get; set; } public Account.TLPasswordSettings Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Password, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLPasswordSettings)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs index 7bd2938e..ea8200ec 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-623130288)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPrivacyKey Key { get; set; } public Account.TLPrivacyRules Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = (TLAbsInputPrivacyKey)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Key, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLPrivacyRules)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs index 1990a94a..b8ff8bbf 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1936088002)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Types { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Types = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Types, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs index 660b8dff..4729f79f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1919060949)] @@ -23,10 +25,9 @@ public override int Constructor public long DocumentId { get; set; } public TLTheme Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Format = StringUtil.Deserialize(br); Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); DocumentId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Format, bw); ObjectUtils.SerializeObject(Theme, bw); bw.Write(DocumentId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLTheme)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs index c5bdfef9..9ab3dae7 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(676939512)] @@ -22,17 +24,15 @@ public override int Constructor public int Hash { get; set; } public Account.TLAbsThemes Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Format = StringUtil.Deserialize(br); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Format, bw); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLAbsThemes)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs index ce8dc364..d2cb41dc 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1151208273)] @@ -22,17 +24,15 @@ public override int Constructor public int Period { get; set; } public Account.TLTmpPassword Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); Period = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Password, bw); bw.Write(Period); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLTmpPassword)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs index 42943662..8dd65110 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-57811990)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputWallPaper Wallpaper { get; set; } public TLAbsWallPaper Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Wallpaper, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsWallPaper)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs index a01dff2b..14a5f4f7 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1430579357)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Account.TLAbsWallPapers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLAbsWallPapers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs index 95798e8a..912c1aba 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(405695855)] @@ -20,26 +22,25 @@ public override int Constructor public Account.TLWebAuthorizations Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLWebAuthorizations)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs b/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs index 70fecf13..e9f1f531 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-262453244)] @@ -28,10 +30,9 @@ public override int Constructor public int? FileMaxSize { get; set; } public Account.TLTakeout Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -48,27 +49,19 @@ public override void DeserializeBody(BinaryReader br) else FileMaxSize = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - if ((Flags & 32) != 0) bw.Write(FileMaxSize.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLTakeout)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs index b91a5b5e..f7351e6e 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(2061776695)] @@ -24,10 +26,9 @@ public override int Constructor public TLAbsInputTheme Theme { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -44,24 +45,21 @@ public override void DeserializeBody(BinaryReader br) else Theme = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) StringUtil.Serialize(Format, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Theme, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs index c1f221af..dec75ad9 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-18000023)] @@ -22,17 +24,15 @@ public override int Constructor public TLWallPaperSettings Settings { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Wallpaper, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs b/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs index 31ff31da..09506efa 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1754754159)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector OtherUids { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -42,25 +43,22 @@ public override void DeserializeBody(BinaryReader br) AppSandbox = BoolUtil.Deserialize(br); Secret = BytesUtil.Deserialize(br); OtherUids = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(TokenType); StringUtil.Serialize(Token, bw); BoolUtil.Serialize(AppSandbox, bw); BytesUtil.Serialize(Secret, bw); ObjectUtils.SerializeObject(OtherUids, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs b/src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs index c5583bdb..11d4d55b 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1374118561)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsReportReason Reason { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Reason = (TLAbsReportReason)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Reason, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs index d7ba2d45..f183ce35 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(2055154197)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs index 923cfef2..6addf5fb 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-545786948)] @@ -21,28 +23,25 @@ public override int Constructor public long Hash { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs index 358ec42d..8bd0e50b 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-612493497)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs index adbed65c..84c20565 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1153722364)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs index 2477fb94..6241fa86 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(755087855)] @@ -21,28 +23,25 @@ public override int Constructor public long Hash { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs index 8aba716d..4f04e037 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1747789204)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs index 775dc2d5..c9386899 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1995661875)] @@ -24,10 +26,9 @@ public override int Constructor public TLAutoDownloadSettings Settings { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,18 @@ public override void DeserializeBody(BinaryReader br) Low = (Flags & 1) != 0; High = (Flags & 2) != 0; Settings = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs index ab8ac2c0..878fb80f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1986010339)] @@ -22,17 +24,15 @@ public override int Constructor public long SecureSecretId { get; set; } public TLSecureValue Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Value = (TLInputSecureValue)ObjectUtils.DeserializeObject(br); SecureSecretId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Value, bw); bw.Write(SecureSecretId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLSecureValue)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs index 80c187a9..e7ddc579 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-229175188)] @@ -22,17 +24,15 @@ public override int Constructor public bool Unsave { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Theme = (TLAbsInputTheme)ObjectUtils.DeserializeObject(br); Unsave = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Theme, bw); BoolUtil.Serialize(Unsave, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs index 00b8a745..67a8a960 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1817860919)] @@ -23,10 +25,9 @@ public override int Constructor public TLWallPaperSettings Settings { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Wallpaper = (TLAbsInputWallPaper)ObjectUtils.DeserializeObject(br); Unsave = BoolUtil.Deserialize(br); Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Wallpaper, bw); BoolUtil.Serialize(Unsave, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs index 3f9d8bb7..2d2924c6 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-2108208411)] @@ -22,17 +24,15 @@ public override int Constructor public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs index 6d962b21..e5610ab5 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(457157256)] @@ -22,17 +24,15 @@ public override int Constructor public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = StringUtil.Deserialize(br); Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Hash, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs index 5dafec22..b78b88bb 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1880182943)] @@ -21,28 +23,25 @@ public override int Constructor public string Email { get; set; } public Account.TLSentEmailCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Email = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Email, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLSentEmailCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs index d7a90760..5ebea790 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1516022023)] @@ -22,17 +24,15 @@ public override int Constructor public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs index 83840e89..091f6dcf 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(608323678)] @@ -21,28 +23,25 @@ public override int Constructor public TLAccountDaysTTL Ttl { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Ttl = (TLAccountDaysTTL)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Ttl, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs index e046c7a5..0e5c4c57 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-806076575)] @@ -21,28 +23,25 @@ public override int Constructor public bool Silent { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Silent = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(Silent, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs index f2d50cf7..4c4052bc 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1250643605)] @@ -22,30 +24,26 @@ public override int Constructor public bool SensitiveEnabled { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); SensitiveEnabled = (Flags & 1) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs b/src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs index fd055b1f..ae71e45d 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-906486552)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Rules { get; set; } public Account.TLPrivacyRules Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = (TLAbsInputPrivacyKey)ObjectUtils.DeserializeObject(br); Rules = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Key, bw); ObjectUtils.SerializeObject(Rules, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Account.TLPrivacyRules)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs b/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs index 387db11f..d0cddc2b 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(813089983)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector OtherUids { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) TokenType = br.ReadInt32(); Token = StringUtil.Deserialize(br); OtherUids = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(TokenType); StringUtil.Serialize(Token, bw); ObjectUtils.SerializeObject(OtherUids, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs index cc4a2f1f..695f06e0 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(954152242)] @@ -21,28 +23,25 @@ public override int Constructor public int Period { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Period = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Period); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs index b457dc1b..3d292e51 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-2067899501)] @@ -22,17 +24,15 @@ public override int Constructor public TLInputPeerNotifySettings Settings { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputNotifyPeer)ObjectUtils.DeserializeObject(br); Settings = (TLInputPeerNotifySettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs index dbf7a82c..514e28e2 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-1516564433)] @@ -22,17 +24,15 @@ public override int Constructor public Account.TLPasswordInputSettings NewSettings { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); NewSettings = (Account.TLPasswordInputSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Password, bw); ObjectUtils.SerializeObject(NewSettings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs index 90b469cf..29c15e03 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(2018596725)] @@ -24,10 +26,9 @@ public override int Constructor public string About { get; set; } public TLAbsUser Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -48,7 +49,6 @@ public override void DeserializeBody(BinaryReader br) else About = null; - } public override void SerializeBody(BinaryWriter bw) @@ -61,12 +61,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(LastName, bw); if ((Flags & 4) != 0) StringUtil.Serialize(About, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUser)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs index eaf98c76..bd39c785 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1713919532)] @@ -21,28 +23,25 @@ public override int Constructor public bool Offline { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offline = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(Offline, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs index c397493b..9dc7e0d2 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1555261397)] @@ -27,10 +29,9 @@ public override int Constructor public TLInputThemeSettings Settings { get; set; } public TLTheme Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -58,7 +59,6 @@ public override void DeserializeBody(BinaryReader br) else Settings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -75,12 +75,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Document, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLTheme)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs b/src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs index fe829196..e86ccb3e 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1040964988)] @@ -21,28 +23,25 @@ public override int Constructor public string Username { get; set; } public TLAbsUser Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Username, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUser)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs b/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs index dde56afb..b5717b28 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(473805619)] @@ -25,10 +27,9 @@ public override int Constructor public string MimeType { get; set; } public TLAbsDocument Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -42,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) FileName = StringUtil.Deserialize(br); MimeType = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -54,12 +54,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Thumb, bw); StringUtil.Serialize(FileName, bw); StringUtil.Serialize(MimeType, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsDocument)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs b/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs index 9ed69a08..785efb4f 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-578472351)] @@ -23,10 +25,9 @@ public override int Constructor public TLWallPaperSettings Settings { get; set; } public TLAbsWallPaper Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); MimeType = StringUtil.Deserialize(br); Settings = (TLWallPaperSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(File, bw); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsWallPaper)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs b/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs index eb00503a..ca346938 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-323339813)] @@ -22,17 +24,15 @@ public override int Constructor public string Code { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Email = StringUtil.Deserialize(br); Code = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Email, bw); StringUtil.Serialize(Code, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs b/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs index 9c1d0fed..81dd59f9 100644 --- a/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs +++ b/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1305716726)] @@ -23,10 +25,9 @@ public override int Constructor public string PhoneCode { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); PhoneCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); StringUtil.Serialize(PhoneCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs b/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs index 5ba82813..30e5ea63 100644 --- a/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs +++ b/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-2128640689)] @@ -21,17 +23,15 @@ public override int Constructor public string EmailPattern { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { EmailPattern = StringUtil.Deserialize(br); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(EmailPattern, bw); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLTakeout.cs b/src/TeleSharp.TL/TL/Account/TLTakeout.cs index 782a600b..44aa7cf2 100644 --- a/src/TeleSharp.TL/TL/Account/TLTakeout.cs +++ b/src/TeleSharp.TL/TL/Account/TLTakeout.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1304052993)] @@ -20,23 +22,20 @@ public override int Constructor public long Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLThemes.cs b/src/TeleSharp.TL/TL/Account/TLThemes.cs index d2f48c61..c07b52c1 100644 --- a/src/TeleSharp.TL/TL/Account/TLThemes.cs +++ b/src/TeleSharp.TL/TL/Account/TLThemes.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(2137482273)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Themes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Themes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Themes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs b/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs index 96af78b6..754c2888 100644 --- a/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs +++ b/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-199313886)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Account/TLTmpPassword.cs b/src/TeleSharp.TL/TL/Account/TLTmpPassword.cs index 2d6fcfcd..9cbf6a4a 100644 --- a/src/TeleSharp.TL/TL/Account/TLTmpPassword.cs +++ b/src/TeleSharp.TL/TL/Account/TLTmpPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-614138572)] @@ -21,17 +23,15 @@ public override int Constructor public byte[] TmpPassword { get; set; } public int ValidUntil { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { TmpPassword = BytesUtil.Deserialize(br); ValidUntil = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); BytesUtil.Serialize(TmpPassword, bw); bw.Write(ValidUntil); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapers.cs b/src/TeleSharp.TL/TL/Account/TLWallPapers.cs index 24d36d16..c2b347d6 100644 --- a/src/TeleSharp.TL/TL/Account/TLWallPapers.cs +++ b/src/TeleSharp.TL/TL/Account/TLWallPapers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(1881892265)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Wallpapers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Wallpapers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Wallpapers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs b/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs index 8f45c51b..f8bd2da5 100644 --- a/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs +++ b/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(471437699)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs b/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs index c4dd27fc..89b7ea55 100644 --- a/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Account { [TLObject(-313079300)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Authorizations { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Authorizations = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Authorizations, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs index 2c8b4684..2bd885e3 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { public abstract class TLAbsAuthorization : TLObject diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs b/src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs index fa01532d..55a79416 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { public abstract class TLAbsCodeType : TLObject diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs index bddea428..b0090ba1 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { public abstract class TLAbsLoginToken : TLObject diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs b/src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs index c77d063d..da337796 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { public abstract class TLAbsSentCodeType : TLObject diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs index c4df672f..71f53bf3 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-855308010)] @@ -22,10 +24,9 @@ public override int Constructor public int? TmpSessions { get; set; } public TLAbsUser User { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) TmpSessions = null; User = (TLAbsUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 1) != 0) bw.Write(TmpSessions.Value); ObjectUtils.SerializeObject(User, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs b/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs index 0a5bdd07..ed62dac3 100644 --- a/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs +++ b/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1148485274)] @@ -21,10 +23,9 @@ public override int Constructor public int Flags { get; set; } public Help.TLTermsOfService TermsOfService { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) else TermsOfService = null; - } public override void SerializeBody(BinaryWriter bw) @@ -44,7 +44,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Flags); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(TermsOfService, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs b/src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs index 2c7e7020..19c789df 100644 --- a/src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs +++ b/src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1948046307)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs b/src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs index 8a08af4b..94878717 100644 --- a/src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs +++ b/src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(577556219)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs b/src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs index c7279cd3..0a399cb2 100644 --- a/src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs +++ b/src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1923290508)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs index 0870e0c3..06737854 100644 --- a/src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-543777747)] @@ -21,17 +23,15 @@ public override int Constructor public int Id { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs index 17b92aa4..f0be2673 100644 --- a/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs +++ b/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1654593920)] @@ -21,17 +23,15 @@ public override int Constructor public int Expires { get; set; } public byte[] Token { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Expires = br.ReadInt32(); Token = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Expires); BytesUtil.Serialize(Token, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs b/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs index 6e44ece2..dff7f2de 100644 --- a/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs +++ b/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(110008598)] @@ -21,17 +23,15 @@ public override int Constructor public int DcId { get; set; } public byte[] Token { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { DcId = br.ReadInt32(); Token = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(DcId); BytesUtil.Serialize(Token, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs b/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs index 4917551c..b64798b8 100644 --- a/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs +++ b/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(957176926)] @@ -20,23 +22,20 @@ public override int Constructor public Auth.TLAbsAuthorization Authorization { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Authorization = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Authorization, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs b/src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs index 4beccffb..81aa7505 100644 --- a/src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs +++ b/src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(326715557)] @@ -20,23 +22,20 @@ public override int Constructor public string EmailPattern { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { EmailPattern = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(EmailPattern, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs index 3c969654..90957bc3 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-392909491)] @@ -21,28 +23,25 @@ public override int Constructor public byte[] Token { get; set; } public TLAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Token = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Token, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs b/src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs index fe236b36..16cd0d78 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-841733627)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] EncryptedMessage { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) Nonce = br.ReadInt64(); ExpiresAt = br.ReadInt32(); EncryptedMessage = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Nonce); bw.Write(ExpiresAt); BytesUtil.Serialize(EncryptedMessage, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs b/src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs index 52200404..ca7de092 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(520357240)] @@ -22,17 +24,15 @@ public override int Constructor public string PhoneCodeHash { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs b/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs index ab525048..9f2507b8 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-779399914)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputCheckPasswordSRP Password { get; set; } public Auth.TLAbsAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Password, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs b/src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs index aa50caa6..a709b893 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1907842680)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector ExceptAuthKeys { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ExceptAuthKeys = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(ExceptAuthKeys, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs index 8911d2c2..7f1061a2 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-440401971)] @@ -21,28 +23,25 @@ public override int Constructor public int DcId { get; set; } public Auth.TLExportedAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { DcId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(DcId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLExportedAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs index 89e35c9e..e2be9c87 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1313598185)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector ExceptIds { get; set; } public Auth.TLAbsLoginToken Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) ApiId = br.ReadInt32(); ApiHash = StringUtil.Deserialize(br); ExceptIds = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ApiId); StringUtil.Serialize(ApiHash, bw); ObjectUtils.SerializeObject(ExceptIds, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsLoginToken)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs index e2500a8d..089b93b2 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-470837741)] @@ -22,17 +24,15 @@ public override int Constructor public byte[] Bytes { get; set; } public Auth.TLAbsAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); BytesUtil.Serialize(Bytes, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs index bde516e1..fb187a10 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1738800940)] @@ -24,10 +26,9 @@ public override int Constructor public string BotAuthToken { get; set; } public Auth.TLAbsAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) ApiId = br.ReadInt32(); ApiHash = StringUtil.Deserialize(br); BotAuthToken = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ApiId); StringUtil.Serialize(ApiHash, bw); StringUtil.Serialize(BotAuthToken, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs b/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs index b26fe448..2e7cdd12 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1783866140)] @@ -21,28 +23,25 @@ public override int Constructor public byte[] Token { get; set; } public Auth.TLAbsLoginToken Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Token = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Token, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsLoginToken)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs b/src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs index 3d207ae9..bb73b28f 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1461180992)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs b/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs index 2e35379b..0b67bcd4 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1319464594)] @@ -21,28 +23,25 @@ public override int Constructor public string Code { get; set; } public Auth.TLAbsAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Code = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Code, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs b/src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs index 05a240d5..d4e3da00 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-661144474)] @@ -20,26 +22,25 @@ public override int Constructor public Auth.TLPasswordRecovery Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLPasswordRecovery)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs b/src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs index 6ca3d448..102984e8 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1056025023)] @@ -22,17 +24,15 @@ public override int Constructor public string PhoneCodeHash { get; set; } public Auth.TLSentCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs b/src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs index 7c2aad5b..d6dfb9ed 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1616179942)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs index 146a3b94..3757e731 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1502141361)] @@ -24,10 +26,9 @@ public override int Constructor public TLCodeSettings Settings { get; set; } public Auth.TLSentCode Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) ApiId = br.ReadInt32(); ApiHash = StringUtil.Deserialize(br); Settings = (TLCodeSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ApiId); StringUtil.Serialize(ApiHash, bw); ObjectUtils.SerializeObject(Settings, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLSentCode)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs index 9a750478..27d263fa 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1126886015)] @@ -23,10 +25,9 @@ public override int Constructor public string PhoneCode { get; set; } public Auth.TLAbsAuthorization Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) PhoneNumber = StringUtil.Deserialize(br); PhoneCodeHash = StringUtil.Deserialize(br); PhoneCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneNumber, bw); StringUtil.Serialize(PhoneCodeHash, bw); StringUtil.Serialize(PhoneCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs index a8714294..c562a888 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-2131827673)] @@ -22,12 +24,11 @@ public override int Constructor public string PhoneCodeHash { get; set; } public string FirstName { get; set; } public string LastName { get; set; } - public Auth.TLAuthorization Response { get; set; } - + public Auth.TLAbsAuthorization Response { get; set; } public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) PhoneCodeHash = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(PhoneCodeHash, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); - } + public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); - + Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCode.cs b/src/TeleSharp.TL/TL/Auth/TLSentCode.cs index 0f58a638..5320f4f7 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCode.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1577067778)] @@ -24,10 +26,9 @@ public override int Constructor public Auth.TLAbsCodeType NextType { get; set; } public int? Timeout { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) else Timeout = null; - } public override void SerializeBody(BinaryWriter bw) @@ -58,7 +58,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(NextType, bw); if ((Flags & 4) != 0) bw.Write(Timeout.Value); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs index 5a0bb4f4..0c188e3f 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1035688326)] @@ -20,23 +22,20 @@ public override int Constructor public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs index bc54ddb6..2d068bab 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(1398007207)] @@ -20,23 +22,20 @@ public override int Constructor public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs index bb64cb6d..aac533dd 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1425815847)] @@ -20,23 +22,20 @@ public override int Constructor public string Pattern { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Pattern = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Pattern, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs index 4acd1293..d7cc63f8 100644 --- a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs +++ b/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Auth { [TLObject(-1073693790)] @@ -20,23 +22,20 @@ public override int Constructor public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs b/src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs index 7ca0f937..acc6bc9c 100644 --- a/src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs +++ b/src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Bots { [TLObject(-434028723)] @@ -22,17 +24,15 @@ public override int Constructor public TLDataJSON Data { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { QueryId = br.ReadInt64(); Data = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(QueryId); ObjectUtils.SerializeObject(Data, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs b/src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs index 8da3fb86..f09fdd01 100644 --- a/src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs +++ b/src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Bots { [TLObject(-1440257555)] @@ -22,17 +24,15 @@ public override int Constructor public TLDataJSON Params { get; set; } public TLDataJSON Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { CustomMethod = StringUtil.Deserialize(br); Params = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(CustomMethod, bw); ObjectUtils.SerializeObject(Params, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs index 996990e1..e8011dea 100644 --- a/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs +++ b/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { public abstract class TLAbsChannelParticipants : TLObject diff --git a/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs b/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs index 65febe65..9b8540ec 100644 --- a/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs +++ b/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-309659827)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Events = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Events, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs b/src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs index bd9045da..eb5de8a5 100644 --- a/src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs +++ b/src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-791039645)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsChannelParticipant Participant { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Participant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Participant, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs index fd909e05..34cdc4a1 100644 --- a/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs +++ b/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-177282392)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Participants { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Count = br.ReadInt32(); Participants = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Count); ObjectUtils.SerializeObject(Participants, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs b/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs index abc70198..e195d226 100644 --- a/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs +++ b/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-266911767)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs b/src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs index e22d5e10..8337e0fb 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(283557164)] @@ -22,17 +24,15 @@ public override int Constructor public string Username { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); StringUtil.Serialize(Username, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs index 2f67cd37..7c8c956c 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1029681423)] @@ -27,10 +29,9 @@ public override int Constructor public string Address { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -50,27 +51,23 @@ public override void DeserializeBody(BinaryReader br) else Address = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - StringUtil.Serialize(Title, bw); StringUtil.Serialize(About, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(GeoPoint, bw); if ((Flags & 4) != 0) StringUtil.Serialize(Address, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs index 13687c35..adf3dbf8 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-1072619549)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputChannel Channel { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs index 60cd3fd5..26f79efd 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-1355375294)] @@ -22,17 +24,15 @@ public override int Constructor public int MaxId { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); bw.Write(MaxId); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs index bdc4cb90..f57b6518 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-2067661490)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAffectedMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs index f1c9eced..a03cf21c 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-787622117)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public Messages.TLAffectedHistory Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedHistory)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs index d2276aab..7cb19ddc 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-751007486)] @@ -24,10 +26,9 @@ public override int Constructor public string Rank { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); AdminRights = (TLChatAdminRights)ObjectUtils.DeserializeObject(br); Rank = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(UserId, bw); ObjectUtils.SerializeObject(AdminRights, bw); StringUtil.Serialize(Rank, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs index 1b51eb87..a82e32de 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1920559378)] @@ -23,10 +25,9 @@ public override int Constructor public TLChatBannedRights BannedRights { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); ObjectUtils.SerializeObject(BannedRights, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs index e53332c3..ec7eb29d 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-1892102881)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputCheckPasswordSRP Password { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Password = (TLAbsInputCheckPasswordSRP)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); ObjectUtils.SerializeObject(Password, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs index 43418b84..7fe2a5b4 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1491484525)] @@ -23,10 +25,9 @@ public override int Constructor public string Address { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); Address = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(GeoPoint, bw); StringUtil.Serialize(Address, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs index e909bb8f..4c35df51 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-248621111)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputChatPhoto Photo { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Photo = (TLAbsInputChatPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Photo, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs b/src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs index 891d7088..620c8042 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1450044624)] @@ -22,17 +24,15 @@ public override int Constructor public string Title { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); StringUtil.Serialize(Title, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs b/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs index 4615233c..279f95ab 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-826838685)] @@ -23,10 +25,9 @@ public override int Constructor public bool Grouped { get; set; } public TLExportedMessageLink Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); Grouped = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Channel, bw); bw.Write(Id); BoolUtil.Serialize(Grouped, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLExportedMessageLink)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs index a66c108e..1479ecc3 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(870184064)] @@ -28,10 +30,9 @@ public override int Constructor public int Limit { get; set; } public Channels.TLAdminLogResults Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -52,7 +53,6 @@ public override void DeserializeBody(BinaryReader br) MaxId = br.ReadInt64(); MinId = br.ReadInt64(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -68,12 +68,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MaxId); bw.Write(MinId); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Channels.TLAdminLogResults)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs index 1adb9125..54c9db9b 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-122669393)] @@ -23,10 +25,9 @@ public override int Constructor public bool CheckLimit { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,17 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); ByLocation = (Flags & 1) != 0; CheckLimit = (Flags & 2) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs index d5ed38f1..2d961efb 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(176122811)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs index 48b587c2..76dd718d 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(141781513)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputChannel Channel { get; set; } public Messages.TLChatFull Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLChatFull)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs index 60d55b6d..98d28cd0 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-170208392)] @@ -20,26 +22,25 @@ public override int Constructor public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs index 211476ac..2fd317dc 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(300429806)] @@ -20,26 +22,25 @@ public override int Constructor public Messages.TLInactiveChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLInactiveChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs index 4ed95ac4..048ca16f 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-2092831552)] @@ -21,28 +23,25 @@ public override int Constructor public int Offset { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Offset); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs index e4d9aa83..8ffb7434 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-1383294429)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs index 954d527c..97b5bb6e 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1416484774)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public Channels.TLChannelParticipant Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Channels.TLChannelParticipant)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs index b5af26f4..c7ad29e3 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(306054633)] @@ -25,10 +27,9 @@ public override int Constructor public int Hash { get; set; } public Channels.TLAbsChannelParticipants Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Limit = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -49,12 +49,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Limit); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Channels.TLAbsChannelParticipants)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs index 9cb97c55..a1d3baf0 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(429865580)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Users { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Users, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs index 6a46ca44..a213730d 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(615851205)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputChannel Channel { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs b/src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs index 6acdee09..efba7c05 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-130635115)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputChannel Channel { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs b/src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs index c3fea5e9..884594ba 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-871347913)] @@ -22,17 +24,15 @@ public override int Constructor public int MaxId { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); bw.Write(MaxId); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs b/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs index a7bf8d97..d8cd8074 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-357180360)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs b/src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs index b948586a..8bd501cf 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-32999408)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(UserId, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs b/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs index 547efa15..b7148c70 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(1079520178)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputChannel Group { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Broadcast = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Group = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Broadcast, bw); ObjectUtils.SerializeObject(Group, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs b/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs index ece72c30..74a504cf 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-359881479)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputStickerSet Stickerset { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Stickerset, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs b/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs index 018b0209..fee6bae7 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-356796084)] @@ -22,17 +24,15 @@ public override int Constructor public bool Enabled { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Enabled = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); BoolUtil.Serialize(Enabled, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs index daecd4dc..29c3758b 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(527021574)] @@ -22,17 +24,15 @@ public override int Constructor public bool Enabled { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Enabled = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); BoolUtil.Serialize(Enabled, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs index 3afc2d68..605286a7 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(-304832784)] @@ -22,17 +24,15 @@ public override int Constructor public int Seconds { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Seconds = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); bw.Write(Seconds); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs b/src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs index b5778c2f..29607544 100644 --- a/src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs +++ b/src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Channels { [TLObject(890549214)] @@ -22,17 +24,15 @@ public override int Constructor public string Username { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br); Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); StringUtil.Serialize(Username, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs b/src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs index 74381d89..e219d1d2 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { public abstract class TLAbsBlocked : TLObject diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs index bb97ae3e..66992a9a 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { public abstract class TLAbsContacts : TLObject diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs b/src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs index f3df0c11..f81f084f 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { public abstract class TLAbsTopPeers : TLObject diff --git a/src/TeleSharp.TL/TL/Contacts/TLBlocked.cs b/src/TeleSharp.TL/TL/Contacts/TLBlocked.cs index d4479545..06c25d35 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLBlocked.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLBlocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(471043349)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Blocked { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Blocked = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Blocked, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs b/src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs index 1cd5b31d..b9f91f33 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-1878523231)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Blocked { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Count = br.ReadInt32(); Blocked = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Count); ObjectUtils.SerializeObject(Blocked, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLContacts.cs index e6c42423..527ac0fa 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-353862078)] @@ -22,10 +24,9 @@ public override int Constructor public int SavedCount { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Contacts = (TLVector)ObjectUtils.DeserializeVector(br); SavedCount = br.ReadInt32(); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Contacts, bw); bw.Write(SavedCount); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs b/src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs index ef9f2bcf..93941192 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-1219778094)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLFound.cs b/src/TeleSharp.TL/TL/Contacts/TLFound.cs index 7070fe5e..2eb210b6 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLFound.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLFound.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-1290580579)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Results = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Results, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs index a2038fa3..a76f299b 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(2010127419)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector RetryContacts { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) PopularInvites = (TLVector)ObjectUtils.DeserializeVector(br); RetryContacts = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(PopularInvites, bw); ObjectUtils.SerializeObject(RetryContacts, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs index a57aafe8..ca4fc660 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-130964977)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputUser Id { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs index df5d2c24..c2090a93 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-386636848)] @@ -26,10 +28,9 @@ public override int Constructor public string Phone { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,21 @@ public override void DeserializeBody(BinaryReader br) FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); Phone = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Id, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); StringUtil.Serialize(Phone, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs index c23f9fbb..a2b4a698 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(858475004)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputUser Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs index 4f8231dd..f48faca2 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(269745566)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Phones { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Phones = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Phones, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs index 08316fb6..4ce3e2dc 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(157945344)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs index f149bf3c..12eb3483 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-176409329)] @@ -22,17 +24,15 @@ public override int Constructor public int Limit { get; set; } public Contacts.TLAbsBlocked Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLAbsBlocked)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs index 9ab50f1f..b1c235a9 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(749357634)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs index 2524bf01..778e100d 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-1071414113)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Contacts.TLAbsContacts Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLAbsContacts)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs index f6b005c2..7400fae5 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(171270230)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputGeoPoint GeoPoint { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(GeoPoint, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs index b6f67107..034467d9 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-2098076769)] @@ -18,28 +20,27 @@ public override int Constructor } } - public TLVector Response { get; set; } - + public TLVector Response { get; set; } public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { - Response = (TLVector)ObjectUtils.DeserializeVector(br); - + Response = (TLVector)ObjectUtils.DeserializeVector(br); } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs index 29853cef..c15099b1 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-995929106)] @@ -20,26 +22,25 @@ public override int Constructor public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs index 206bb6de..7035cdc5 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-728224331)] @@ -32,10 +34,9 @@ public override int Constructor public int Hash { get; set; } public Contacts.TLAbsTopPeers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -52,30 +53,20 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Limit = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - bw.Write(Offset); bw.Write(Limit); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLAbsTopPeers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs index 52b0af1a..da4740d3 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(746589157)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Contacts { get; set; } public Contacts.TLImportedContacts Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Contacts = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Contacts, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLImportedContacts)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs index 27f2613f..f58c2fcf 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-2020263951)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs index 1da6fde6..8bcd6980 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(451113900)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Category = (TLAbsTopPeerCategory)ObjectUtils.DeserializeObject(br); Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Category, bw); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs index 04a49b63..dbe6f60c 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-113456221)] @@ -21,28 +23,25 @@ public override int Constructor public string Username { get; set; } public Contacts.TLResolvedPeer Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Username, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLResolvedPeer)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs index 3e486c00..ca29841d 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(301470424)] @@ -22,17 +24,15 @@ public override int Constructor public int Limit { get; set; } public Contacts.TLFound Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Q, bw); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Contacts.TLFound)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs index f844862d..7ac5a453 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-2062238246)] @@ -21,28 +23,25 @@ public override int Constructor public bool Enabled { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Enabled = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(Enabled, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs index 420b3dcc..ecd669d0 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-448724803)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputUser Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs b/src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs index c9626220..bd5a473f 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(2131196633)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs b/src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs index 9de02055..ed450dfa 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(1891070632)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Categories = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Categories, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs b/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs index 5acd6042..c4436e54 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-1255369827)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs b/src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs index 792627bb..b1f597f9 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Contacts { [TLObject(-567906571)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs b/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs index bd4b3dc4..40a75bb7 100644 --- a/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs +++ b/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Folders { [TLObject(472471681)] @@ -21,28 +23,25 @@ public override int Constructor public int FolderId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(FolderId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs b/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs index 35dd0d9c..2b9ea4fc 100644 --- a/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs +++ b/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Folders { [TLObject(1749536939)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector FolderPeers { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FolderPeers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(FolderPeers, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs index 8f38d8da..f3b07fbf 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsAppUpdate : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs index bdb4cc54..68122138 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsDeepLinkInfo : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs index d269b2e9..c764d2cd 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsPassportConfig : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs b/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs index 911cfcaa..e718a6c3 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsProxyData : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs index da761586..291c654a 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsTermsOfServiceUpdate : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs index 239ba59c..4d57550d 100644 --- a/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { public abstract class TLAbsUserInfo : TLObject diff --git a/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs index b41df57a..21e583a7 100644 --- a/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(497489295)] @@ -27,10 +29,9 @@ public override int Constructor public TLAbsDocument Document { get; set; } public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,14 +52,12 @@ public override void DeserializeBody(BinaryReader br) else Url = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); StringUtil.Serialize(Version, bw); StringUtil.Serialize(Text, bw); @@ -67,7 +66,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Document, bw); if ((Flags & 4) != 0) StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs index ec40290f..caf5e193 100644 --- a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1783556146)] @@ -23,10 +25,9 @@ public override int Constructor public string Message { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,18 +40,15 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Message, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs index c7604fb0..fabd3565 100644 --- a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs +++ b/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1722786150)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Help/TLInviteText.cs b/src/TeleSharp.TL/TL/Help/TLInviteText.cs index 00f99c22..cd02d58f 100644 --- a/src/TeleSharp.TL/TL/Help/TLInviteText.cs +++ b/src/TeleSharp.TL/TL/Help/TLInviteText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(415997816)] @@ -20,23 +22,20 @@ public override int Constructor public string Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs index ad0619f6..652c7607 100644 --- a/src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1000708810)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs index f1b6d750..8b9a4b69 100644 --- a/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1600596305)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLDataJSON CountriesLangs { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); CountriesLangs = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(CountriesLangs, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs b/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs index e10dd46b..23d64df0 100644 --- a/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs +++ b/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1078332329)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs b/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs index 072218bc..df02e258 100644 --- a/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs +++ b/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-526508104)] @@ -20,23 +22,20 @@ public override int Constructor public int Expires { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Expires = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Expires); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs b/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs index 37f477fe..70c5b81e 100644 --- a/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs +++ b/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(737668643)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs b/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs index 301fbc32..c8900904 100644 --- a/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs +++ b/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(235081943)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Urls = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Urls, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs b/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs index c1dd0525..4bfa1b39 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-294455398)] @@ -21,28 +23,25 @@ public override int Constructor public TLDataJSON Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs index 3750a3b0..44b5d722 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1723407216)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Entities { get; set; } public Help.TLAbsUserInfo Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Message = StringUtil.Deserialize(br); Entities = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(UserId, bw); StringUtil.Serialize(Message, bw); ObjectUtils.SerializeObject(Entities, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsUserInfo)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs index 9a94bebf..7b7dce5f 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1877938321)] @@ -21,28 +23,25 @@ public override int Constructor public string PrevAppVersion { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevAppVersion = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(PrevAppVersion, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs index ab85ffef..3fa8a1bc 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1735311088)] @@ -20,26 +22,25 @@ public override int Constructor public TLAbsJSONValue Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs index ecb44024..a2982160 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1378703997)] @@ -21,28 +23,25 @@ public override int Constructor public string Source { get; set; } public Help.TLAbsAppUpdate Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Source = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Source, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsAppUpdate)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs index ede8e5c9..0745aa05 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1375900482)] @@ -20,26 +22,25 @@ public override int Constructor public TLCdnConfig Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLCdnConfig)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs index 1013c1ac..40a4f71d 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-990308245)] @@ -20,26 +22,25 @@ public override int Constructor public TLConfig Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLConfig)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs index df5d93de..aab11292 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1072547679)] @@ -21,28 +23,25 @@ public override int Constructor public string Path { get; set; } public Help.TLAbsDeepLinkInfo Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Path = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Path, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsDeepLinkInfo)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs index d02032d4..cddf814a 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1295590211)] @@ -20,26 +22,25 @@ public override int Constructor public Help.TLInviteText Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLInviteText)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs index 7b03ce70..9141c40c 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(531836966)] @@ -20,26 +22,25 @@ public override int Constructor public TLNearestDc Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLNearestDc)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs index 6252e553..c243ba0e 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-966677240)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Help.TLAbsPassportConfig Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsPassportConfig)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs index 9391a301..01c65e48 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1031231713)] @@ -20,26 +22,25 @@ public override int Constructor public Help.TLAbsProxyData Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsProxyData)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs index 874b8ecd..9c94a1f4 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1036054804)] @@ -21,28 +23,25 @@ public override int Constructor public string Referer { get; set; } public Help.TLRecentMeUrls Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Referer = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Referer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLRecentMeUrls)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs index c4edfa3b..3f1a12c2 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1663104819)] @@ -20,26 +22,25 @@ public override int Constructor public Help.TLSupport Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLSupport)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs index 865abd5d..0936136d 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-748624084)] @@ -20,26 +22,25 @@ public override int Constructor public Help.TLSupportName Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLSupportName)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs index 70e6ae89..697f0edb 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(749019089)] @@ -20,26 +22,25 @@ public override int Constructor public Help.TLAbsTermsOfServiceUpdate Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsTermsOfServiceUpdate)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs index c19870e8..e01732b3 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(59377875)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public Help.TLAbsUserInfo Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Help.TLAbsUserInfo)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs b/src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs index d6494adc..56df8083 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(1862465352)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Events { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Events = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Events, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs b/src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs index e0dc67cd..0da99cab 100644 --- a/src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs +++ b/src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-333262899)] @@ -22,17 +24,15 @@ public override int Constructor public string Message { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PendingUpdatesCount = br.ReadInt32(); Message = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(PendingUpdatesCount); StringUtil.Serialize(Message, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLSupport.cs b/src/TeleSharp.TL/TL/Help/TLSupport.cs index 8466bac0..6c1ba7e1 100644 --- a/src/TeleSharp.TL/TL/Help/TLSupport.cs +++ b/src/TeleSharp.TL/TL/Help/TLSupport.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(398898678)] @@ -21,17 +23,15 @@ public override int Constructor public string PhoneNumber { get; set; } public TLAbsUser User { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneNumber = StringUtil.Deserialize(br); User = (TLAbsUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PhoneNumber, bw); ObjectUtils.SerializeObject(User, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLSupportName.cs b/src/TeleSharp.TL/TL/Help/TLSupportName.cs index a3132ba2..5b6b8cf6 100644 --- a/src/TeleSharp.TL/TL/Help/TLSupportName.cs +++ b/src/TeleSharp.TL/TL/Help/TLSupportName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-1945767479)] @@ -20,23 +22,20 @@ public override int Constructor public string Name { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Name = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Name, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs index 0e4dd15c..4ec60ede 100644 --- a/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(2013922064)] @@ -25,10 +27,9 @@ public override int Constructor public TLVector Entities { get; set; } public int? MinAgeConfirm { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,20 +44,17 @@ public override void DeserializeBody(BinaryReader br) else MinAgeConfirm = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Id, bw); StringUtil.Serialize(Text, bw); ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 2) != 0) bw.Write(MinAgeConfirm.Value); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs index 70b2c5a2..52a38ba3 100644 --- a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(686618977)] @@ -21,17 +23,15 @@ public override int Constructor public int Expires { get; set; } public Help.TLTermsOfService TermsOfService { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Expires = br.ReadInt32(); TermsOfService = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Expires); ObjectUtils.SerializeObject(TermsOfService, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs index cbffcb4f..63eec6ab 100644 --- a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs +++ b/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-483352705)] @@ -20,23 +22,20 @@ public override int Constructor public int Expires { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Expires = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Expires); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfo.cs b/src/TeleSharp.TL/TL/Help/TLUserInfo.cs index ff854edf..a3811eb9 100644 --- a/src/TeleSharp.TL/TL/Help/TLUserInfo.cs +++ b/src/TeleSharp.TL/TL/Help/TLUserInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(32192344)] @@ -23,10 +25,9 @@ public override int Constructor public string Author { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Entities = (TLVector)ObjectUtils.DeserializeVector(br); Author = StringUtil.Deserialize(br); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); StringUtil.Serialize(Author, bw); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs b/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs index bdbbbe98..30e1b85a 100644 --- a/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs +++ b/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Help { [TLObject(-206688531)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs index f5a7a570..e2b918dd 100644 --- a/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Langpack { [TLObject(-845657435)] @@ -23,10 +25,9 @@ public override int Constructor public int FromVersion { get; set; } public TLLangPackDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) LangPack = StringUtil.Deserialize(br); LangCode = StringUtil.Deserialize(br); FromVersion = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(LangPack, bw); StringUtil.Serialize(LangCode, bw); bw.Write(FromVersion); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs index 9d0b43ba..1e10f82d 100644 --- a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Langpack { [TLObject(-219008246)] @@ -22,17 +24,15 @@ public override int Constructor public string LangCode { get; set; } public TLLangPackDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangPack = StringUtil.Deserialize(br); LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(LangPack, bw); StringUtil.Serialize(LangCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs index 202acc48..e515c9df 100644 --- a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Langpack { [TLObject(1784243458)] @@ -22,17 +24,15 @@ public override int Constructor public string LangCode { get; set; } public TLLangPackLanguage Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangPack = StringUtil.Deserialize(br); LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(LangPack, bw); StringUtil.Serialize(LangCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLLangPackLanguage)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs index 1ce107c5..293b51a3 100644 --- a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Langpack { [TLObject(1120311183)] @@ -21,28 +23,25 @@ public override int Constructor public string LangPack { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangPack = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(LangPack, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs b/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs index f7ca2f21..a0c67977 100644 --- a/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs +++ b/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Langpack { [TLObject(-269862909)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Keys { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) LangPack = StringUtil.Deserialize(br); LangCode = StringUtil.Deserialize(br); Keys = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(LangPack, bw); StringUtil.Serialize(LangCode, bw); ObjectUtils.SerializeObject(Keys, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs index 02c5d7fd..47d0995a 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsAllStickers : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsChats.cs b/src/TeleSharp.TL/TL/Messages/TLAbsChats.cs index 06a55531..41479478 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsChats : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs b/src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs index b57822b2..60cac5cd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsDhConfig : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs index 00507959..1d4603fa 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsDialogs : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs index c3a9fe11..6571f075 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsFavedStickers : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs index bc96191e..2faee3f1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsFeaturedStickers : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs index cc073c00..dcb48886 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsFoundStickerSets : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs b/src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs index bdddf0a5..6dff4fcb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsMessages : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs index 1e763ff7..f7d38ff4 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsRecentStickers : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs b/src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs index ee01f4e7..c6ebc7e8 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsSavedGifs : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs b/src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs index a6d12bc0..bf7c4360 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsSentEncryptedMessage : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs b/src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs index bf4da058..bee9edcc 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsStickerSetInstallResult : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs index c84da338..37a6f6cd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { public abstract class TLAbsStickers : TLObject diff --git a/src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs b/src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs index 76236d63..8500b154 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1269012015)] @@ -22,10 +24,9 @@ public override int Constructor public int PtsCount { get; set; } public int Offset { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); Offset = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Pts); bw.Write(PtsCount); bw.Write(Offset); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs b/src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs index e0c0ac58..545687e2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2066640507)] @@ -21,17 +23,15 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLAllStickers.cs b/src/TeleSharp.TL/TL/Messages/TLAllStickers.cs index c71c000f..b4a12d71 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAllStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAllStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-302170017)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Sets { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Sets = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Sets, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs index 2df94dc9..5cc65f30 100644 --- a/src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-395967805)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs index e6c4f067..cbec90a5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1338747336)] @@ -21,17 +23,15 @@ public override int Constructor public int Count { get; set; } public TLVector Sets { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Count = br.ReadInt32(); Sets = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Count); ObjectUtils.SerializeObject(Sets, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs index 44a35623..23e4a106 100644 --- a/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(911761060)] @@ -26,10 +28,9 @@ public override int Constructor public string Url { get; set; } public int CacheTime { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,22 +50,17 @@ public override void DeserializeBody(BinaryReader br) Url = null; CacheTime = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - if ((Flags & 1) != 0) StringUtil.Serialize(Message, bw); if ((Flags & 4) != 0) StringUtil.Serialize(Url, bw); bw.Write(CacheTime); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLBotResults.cs index 65d107fa..24047dfa 100644 --- a/src/TeleSharp.TL/TL/Messages/TLBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLBotResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1803769784)] @@ -27,10 +29,9 @@ public override int Constructor public int CacheTime { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,14 +52,12 @@ public override void DeserializeBody(BinaryReader br) Results = (TLVector)ObjectUtils.DeserializeVector(br); CacheTime = br.ReadInt32(); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(QueryId); if ((Flags & 2) != 0) StringUtil.Serialize(NextOffset, bw); @@ -67,7 +66,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Results, bw); bw.Write(CacheTime); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs b/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs index 98df6b77..10dd9851 100644 --- a/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1725551049)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,20 +42,17 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Pts); bw.Write(Count); ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLChatFull.cs b/src/TeleSharp.TL/TL/Messages/TLChatFull.cs index 995586ab..a5f2e47d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLChatFull.cs +++ b/src/TeleSharp.TL/TL/Messages/TLChatFull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-438840932)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) FullChat = (TLAbsChatFull)ObjectUtils.DeserializeObject(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(FullChat, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLChats.cs b/src/TeleSharp.TL/TL/Messages/TLChats.cs index 571cddce..9007cad5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1694474197)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs b/src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs index 1ab55d1b..e834eb7f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs +++ b/src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1663561404)] @@ -21,17 +23,15 @@ public override int Constructor public int Count { get; set; } public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Count = br.ReadInt32(); Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Count); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLDhConfig.cs b/src/TeleSharp.TL/TL/Messages/TLDhConfig.cs index 459cebf9..943fc9cf 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDhConfig.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDhConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(740433629)] @@ -23,10 +25,9 @@ public override int Constructor public int Version { get; set; } public byte[] Random { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) P = BytesUtil.Deserialize(br); Version = br.ReadInt32(); Random = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(P, bw); bw.Write(Version); BytesUtil.Serialize(Random, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs index b4707ed4..f14a4be6 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1058912715)] @@ -20,23 +22,20 @@ public override int Constructor public byte[] Random { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Random = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Random, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLDialogs.cs index df652361..9b86067b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(364538944)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs index c59071bb..ae377d4d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-253500010)] @@ -20,23 +22,20 @@ public override int Constructor public int Count { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Count = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Count); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs b/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs index 9879a28f..7b708414 100644 --- a/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs +++ b/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1910543603)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs index e5fb836a..834dfcb1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-209768682)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Packs { get; set; } public TLVector Stickers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Hash = br.ReadInt32(); Packs = (TLVector)ObjectUtils.DeserializeVector(br); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Hash); ObjectUtils.SerializeObject(Packs, bw); ObjectUtils.SerializeObject(Stickers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs index 7bf4532b..90208a07 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1634752813)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs index 0029e2e7..0a661266 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-123893531)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Sets { get; set; } public TLVector Unread { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Hash = br.ReadInt32(); Sets = (TLVector)ObjectUtils.DeserializeVector(br); Unread = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Hash); ObjectUtils.SerializeObject(Sets, bw); ObjectUtils.SerializeObject(Unread, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs index d7f51139..dd971f8a 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(82699215)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs b/src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs index bba2fbd6..55287755 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1158290442)] @@ -21,17 +23,15 @@ public override int Constructor public int NextOffset { get; set; } public TLVector Results { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { NextOffset = br.ReadInt32(); Results = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(NextOffset); ObjectUtils.SerializeObject(Results, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs index abee5118..019c2eb2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1359533640)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Sets { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Sets = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Sets, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs index 190400ab..64855c14 100644 --- a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(223655517)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLHighScores.cs b/src/TeleSharp.TL/TL/Messages/TLHighScores.cs index fefcb1d8..b1496aee 100644 --- a/src/TeleSharp.TL/TL/Messages/TLHighScores.cs +++ b/src/TeleSharp.TL/TL/Messages/TLHighScores.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1707344487)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Scores { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Scores = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Scores, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs b/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs index 8f8e98fe..f0d77776 100644 --- a/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1456996667)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Dates = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Dates, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs b/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs index cff61f2e..a305d038 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(649453030)] @@ -21,25 +23,21 @@ public override int Constructor public int Flags { get; set; } public bool Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Caption = (Flags & 1) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLMessages.cs b/src/TeleSharp.TL/TL/Messages/TLMessages.cs index 1209ec91..ba03c9d7 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1938715001)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs index c8817ba2..6901a5f9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1951620897)] @@ -20,23 +22,20 @@ public override int Constructor public int Count { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Count = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Count); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs b/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs index c74b9ea9..dfffd631 100644 --- a/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs +++ b/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-923939298)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,21 +46,18 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Count); if ((Flags & 1) != 0) bw.Write(NextRate.Value); ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs index bae02dd1..1e91548c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(863093588)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector Users { get; set; } public Updates.TLState State { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); State = (Updates.TLState)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); ObjectUtils.SerializeObject(State, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs index 2507eb7c..9b0a6b21 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(586395571)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Stickers { get; set; } public TLVector Dates { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Packs = (TLVector)ObjectUtils.DeserializeVector(br); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); Dates = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Packs, bw); ObjectUtils.SerializeObject(Stickers, bw); ObjectUtils.SerializeObject(Dates, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs index 06493b7f..fd11c0a5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(186120336)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs index fdc175a9..24e8b89c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1035731989)] @@ -23,10 +25,9 @@ public override int Constructor public long KeyFingerprint { get; set; } public TLAbsEncryptedChat Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); GB = BytesUtil.Deserialize(br); KeyFingerprint = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); BytesUtil.Serialize(GB, bw); bw.Write(KeyFingerprint); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsEncryptedChat)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs index 573e1481..db12cd75 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-148247912)] @@ -25,10 +27,9 @@ public override int Constructor public int ButtonId { get; set; } public TLAbsUrlAuthResult Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,23 +39,20 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); ButtonId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(ButtonId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUrlAuthResult)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs b/src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs index 275a442f..260e05d8 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-106911223)] @@ -23,10 +25,9 @@ public override int Constructor public int FwdLimit { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); FwdLimit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); ObjectUtils.SerializeObject(UserId, bw); bw.Write(FwdLimit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs b/src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs index 7957e512..77f16009 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1051570619)] @@ -21,28 +23,25 @@ public override int Constructor public string Hash { get; set; } public TLAbsChatInvite Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Hash, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsChatInvite)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs b/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs index e383bada..8391fe0a 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(2119757468)] @@ -20,26 +22,25 @@ public override int Constructor public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs index 8fad38d7..4a32768c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1986437075)] @@ -22,30 +24,26 @@ public override int Constructor public bool Attached { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Attached = (Flags & 1) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs b/src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs index 8ec1cb46..c6107b83 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(164303470)] @@ -22,17 +24,15 @@ public override int Constructor public string Title { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); StringUtil.Serialize(Title, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs index 65294537..ae5b95cb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-530505962)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChatId); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs index 1357d303..857c0efd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(469850889)] @@ -25,10 +27,9 @@ public override int Constructor public int MaxId { get; set; } public Messages.TLAffectedHistory Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,23 +39,19 @@ public override void DeserializeBody(BinaryReader br) Revoke = (Flags & 2) != 0; Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Peer, bw); bw.Write(MaxId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedHistory)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs index 74a98470..b140d1ff 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-443640366)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAffectedMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,18 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Revoke = (Flags & 1) != 0; Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs index bf4412ef..02ff87b1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1504586518)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs b/src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs index 1ef45be8..e6412989 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-304536635)] @@ -21,28 +23,25 @@ public override int Constructor public int ChatId { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs index 06850384..ef3d52e0 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-554301545)] @@ -22,17 +24,15 @@ public override int Constructor public string About { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); About = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); StringUtil.Serialize(About, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs index 9258c3f9..d18a3076 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1444503762)] @@ -23,10 +25,9 @@ public override int Constructor public bool IsAdmin { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); IsAdmin = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); ObjectUtils.SerializeObject(UserId, bw); BoolUtil.Serialize(IsAdmin, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs index 8459eb4c..3b2428ce 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1517917375)] @@ -22,17 +24,15 @@ public override int Constructor public TLChatBannedRights BannedRights { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(BannedRights, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs index ee582326..423c5660 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-900957736)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputChatPhoto Photo { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); Photo = (TLAbsInputChatPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChatId); ObjectUtils.SerializeObject(Photo, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs index e6eb2bd1..53a6eb29 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-599447467)] @@ -22,17 +24,15 @@ public override int Constructor public string Title { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChatId); StringUtil.Serialize(Title, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs index 0ff7a8db..814d71e4 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2091549254)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector Entities { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -58,14 +59,12 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Id, bw); if ((Flags & 2048) != 0) StringUtil.Serialize(Message, bw); @@ -75,12 +74,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(ReplyMarkup, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs index 13c205be..175b71c3 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1224152952)] @@ -29,10 +31,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -66,14 +67,12 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); if ((Flags & 2048) != 0) @@ -86,12 +85,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 32768) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs b/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs index 14961581..ac619510 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(234312524)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public TLAbsExportedChatInvite Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs b/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs index 53ad2089..db10af27 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1174420133)] @@ -22,17 +24,15 @@ public override int Constructor public bool Unfave { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); Unfave = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); BoolUtil.Serialize(Unfave, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs index 166656eb..8b84603d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-637606386)] @@ -30,10 +32,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -52,29 +53,23 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - ObjectUtils.SerializeObject(FromPeer, bw); ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(RandomId, bw); ObjectUtils.SerializeObject(ToPeer, bw); if ((Flags & 1024) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs index 042f37d6..2551e4cb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-341307408)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector ExceptIds { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ExceptIds = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(ExceptIds, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs index 7b40f9f7..d2bc5da9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1782549861)] @@ -20,26 +22,25 @@ public override int Constructor public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs index 14732fa3..5976f8cf 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(479598769)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsAllStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsAllStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs index e1d7e1ec..32fcbe4b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1475442322)] @@ -24,10 +26,9 @@ public override int Constructor public int Limit { get; set; } public Messages.TLArchivedStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Masks = (Flags & 1) != 0; OffsetId = br.ReadInt64(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(OffsetId); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLArchivedStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs index c5710e8f..2e097c77 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-866424884)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputStickeredMedia Media { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Media = (TLAbsInputStickeredMedia)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Media, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs index cdb4a167..7fc33d87 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2130010132)] @@ -25,10 +27,9 @@ public override int Constructor public byte[] Data { get; set; } public Messages.TLBotCallbackAnswer Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -42,24 +43,21 @@ public override void DeserializeBody(BinaryReader br) else Data = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); if ((Flags & 1) != 0) BytesUtil.Serialize(Data, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLBotCallbackAnswer)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs index 7ca76b4d..bf413b9c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1013621127)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs index 2721dd13..121776c7 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(218777796)] @@ -23,10 +25,9 @@ public override int Constructor public int Limit { get; set; } public Messages.TLAbsChats Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(UserId, bw); bw.Write(MaxId); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsChats)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs index 30876b40..77e82b4f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(651135312)] @@ -22,17 +24,15 @@ public override int Constructor public int RandomLength { get; set; } public Messages.TLAbsDhConfig Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Version = br.ReadInt32(); RandomLength = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Version); bw.Write(RandomLength); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsDhConfig)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs index 14e93e3f..867bd117 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(585256482)] @@ -20,26 +22,25 @@ public override int Constructor public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs index b028b0e4..d9f6e485 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1594999949)] @@ -28,10 +30,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsDialogs Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -48,14 +49,12 @@ public override void DeserializeBody(BinaryReader br) OffsetPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Limit = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) bw.Write(FolderId.Value); bw.Write(OffsetDate); @@ -63,12 +62,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(OffsetPeer, bw); bw.Write(Limit); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsDialogs)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs index 677799d6..09a58f88 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(864953444)] @@ -23,10 +25,9 @@ public override int Constructor public string MimeType { get; set; } public TLAbsDocument Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Sha256 = BytesUtil.Deserialize(br); Size = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Sha256, bw); bw.Write(Size); StringUtil.Serialize(MimeType, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsDocument)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs index 65aacfd4..b6178d2b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(899735650)] @@ -21,28 +23,25 @@ public override int Constructor public string LangCode { get; set; } public TLEmojiKeywordsDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(LangCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLEmojiKeywordsDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs index 9848318f..2c5f17b1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(352892591)] @@ -22,17 +24,15 @@ public override int Constructor public int FromVersion { get; set; } public TLEmojiKeywordsDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCode = StringUtil.Deserialize(br); FromVersion = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(LangCode, bw); bw.Write(FromVersion); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLEmojiKeywordsDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs index ba15f1ec..fdcfd0fe 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1318675378)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector LangCodes { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCodes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(LangCodes, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs index 685768f2..f59013f8 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-709817306)] @@ -21,28 +23,25 @@ public override int Constructor public string LangCode { get; set; } public TLEmojiURL Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(LangCode, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLEmojiURL)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs index 65b4704e..eee056ad 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(567151374)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsFavedStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsFavedStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs index 8004dbdf..32ee763d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(766298703)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsFeaturedStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsFeaturedStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs index e92c7a2d..33598f77 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(998448230)] @@ -21,28 +23,25 @@ public override int Constructor public int ChatId { get; set; } public Messages.TLChatFull Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLChatFull)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs index f67bbcde..f4f72c23 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-400399203)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public Messages.TLHighScores Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLHighScores)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs index 085ca0ff..3ef09156 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-591691168)] @@ -28,10 +30,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -44,7 +45,6 @@ public override void DeserializeBody(BinaryReader br) MaxId = br.ReadInt32(); MinId = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -58,12 +58,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MaxId); bw.Write(MinId); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs index ff5c09a9..4239c94e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1364105629)] @@ -26,10 +28,9 @@ public override int Constructor public string Offset { get; set; } public Messages.TLBotResults Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -44,7 +45,6 @@ public override void DeserializeBody(BinaryReader br) Query = StringUtil.Deserialize(br); Offset = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -57,12 +57,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(GeoPoint, bw); StringUtil.Serialize(Query, bw); StringUtil.Serialize(Offset, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLBotResults)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs index 1b46313b..9ed0e439 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(258170395)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputUser UserId { get; set; } public Messages.TLHighScores Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(UserId, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLHighScores)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs index 4fdb571e..e611d2de 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1706608543)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsAllStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsAllStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs index 4f074b90..1ec1b00e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-39416522)] @@ -22,17 +24,15 @@ public override int Constructor public int Id { get; set; } public Messages.TLMessageEditData Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLMessageEditData)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs index b9b00ba2..a2771f32 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1673946374)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs index fe428882..eb28bf2b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-993483427)] @@ -23,10 +25,9 @@ public override int Constructor public bool Increment { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); Increment = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Id, bw); BoolUtil.Serialize(Increment, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs index 5c9d434c..0d7e53f7 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1848369232)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public TLChatOnlines Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLChatOnlines)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs index 0cb43ce5..4f757214 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-462373635)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Peers { get; set; } public Messages.TLPeerDialogs Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peers, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLPeerDialogs)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs index cf66afe3..1c60f22b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(913498268)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public TLPeerSettings Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLPeerSettings)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs index 016ca07c..f48f5e45 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-692498958)] @@ -21,28 +23,25 @@ public override int Constructor public int FolderId { get; set; } public Messages.TLPeerDialogs Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(FolderId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLPeerDialogs)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs index fc1511c9..dbe0d38f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1941660731)] @@ -22,17 +24,15 @@ public override int Constructor public int MsgId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs index f91c2d31..575edccd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1144759543)] @@ -23,10 +25,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Limit = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(Limit); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs index d70f8ef2..a5c0c3ad 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1587647177)] @@ -23,10 +25,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsRecentStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,18 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Attached = (Flags & 1) != 0; Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsRecentStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs index 436971bf..cedee0e1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2084618926)] @@ -21,28 +23,25 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsSavedGifs Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsSavedGifs)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs index 9c2516be..8075327a 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-490575781)] @@ -22,17 +24,15 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs index 149a956e..e5c5c45c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1111817116)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs index 1a16f887..349feb42 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1932455680)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Filters { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Filters = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Filters, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs index 90f92bda..097b577e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(486505992)] @@ -20,26 +22,25 @@ public override int Constructor public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs index 4f6a6c45..3f565a92 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2127811866)] @@ -24,10 +26,9 @@ public override int Constructor public string Params { get; set; } public TLStatsURL Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Dark = (Flags & 1) != 0; Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Params = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); StringUtil.Serialize(Params, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLStatsURL)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs index cf15876d..9a2ace34 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(639215886)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputStickerSet Stickerset { get; set; } public Messages.TLStickerSet Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Stickerset, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs index 7027d14c..738cfa75 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(71126828)] @@ -22,17 +24,15 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsStickers Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Emoticon = StringUtil.Deserialize(br); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Emoticon, bw); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsStickers)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs index 51dbad64..f6b0eeb4 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1180140658)] @@ -26,10 +28,9 @@ public override int Constructor public int MinId { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,7 +41,6 @@ public override void DeserializeBody(BinaryReader br) Limit = br.ReadInt32(); MaxId = br.ReadInt32(); MinId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -52,12 +52,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Limit); bw.Write(MaxId); bw.Write(MinId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs index 499828ef..61021231 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(852135825)] @@ -22,17 +24,15 @@ public override int Constructor public int Hash { get; set; } public TLAbsWebPage Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsWebPage)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs index 00d50769..1a44a66e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1956073268)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Entities { get; set; } public TLAbsMessageMedia Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,7 +39,6 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) @@ -48,12 +48,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Message, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsMessageMedia)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs b/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs index db1693e3..8fdea58b 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1336717624)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs b/src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs index b28d7fe1..31e1352e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1817183516)] @@ -21,28 +23,25 @@ public override int Constructor public string Hash { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Hash, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs b/src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs index d14e913b..cbe0bd32 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-946871200)] @@ -22,17 +24,15 @@ public override int Constructor public bool Archived { get; set; } public Messages.TLAbsStickerSetInstallResult Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); Archived = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Stickerset, bw); BoolUtil.Serialize(Archived, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsStickerSetInstallResult)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs b/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs index 11507fa8..79ed4cee 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1031349873)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputDialogPeer Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,18 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Unread = (Flags & 1) != 0; Peer = (TLAbsInputDialogPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs b/src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs index a754f8d5..3e5a3488 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(363051235)] @@ -21,28 +23,25 @@ public override int Constructor public int ChatId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs index 942a94fb..9c41d0e9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(2135648522)] @@ -22,17 +24,15 @@ public override int Constructor public int MaxDate { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); MaxDate = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MaxDate); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs index 265a434a..ddeadcf4 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1527873830)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs index 0c983d30..4ef9c75f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(238054714)] @@ -22,17 +24,15 @@ public override int Constructor public int MaxId { get; set; } public Messages.TLAffectedMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MaxId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs index ff1a197b..452d996c 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(251759059)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public Messages.TLAffectedHistory Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedHistory)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs index 250e05be..d9c8b59d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(916930423)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public Messages.TLAffectedMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAffectedMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs index 99cbcd50..53d1ddbb 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(94983360)] @@ -21,28 +23,25 @@ public override int Constructor public int MaxId { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(MaxId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs index eb6ba35d..81557298 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1436924774)] @@ -21,28 +23,25 @@ public override int Constructor public int MaxQts { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MaxQts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(MaxQts); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs index efbd87d5..cff7cfc6 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(991616823)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector Order { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Force = (Flags & 1) != 0; FolderId = br.ReadInt32(); Order = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(FolderId); ObjectUtils.SerializeObject(Order, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs index cbb160fd..a3b5d075 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(2016638777)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Order { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,18 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Masks = (Flags & 1) != 0; Order = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Order, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs index 7a4f066e..7814bbbd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1115507112)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsReportReason Reason { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); Reason = (TLAbsReportReason)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(Reason, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs index 2bfd9bdc..de5e9d96 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1259113487)] @@ -21,28 +23,25 @@ public override int Constructor public TLInputEncryptedChat Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs b/src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs index 9aabf24c..3c50f7f7 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-820669733)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs b/src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs index 36a66e15..81116a47 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-162681021)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] GA { get; set; } public TLAbsEncryptedChat Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); RandomId = br.ReadInt32(); GA = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(UserId, bw); bw.Write(RandomId); BytesUtil.Serialize(GA, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsEncryptedChat)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs b/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs index 0b68f832..c8c74770 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-482388461)] @@ -23,10 +25,9 @@ public override int Constructor public int ButtonId { get; set; } public TLAbsUrlAuthResult Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); ButtonId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(ButtonId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUrlAuthResult)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs index f04311d8..224875b1 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1137057461)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Entities { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -48,26 +49,23 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); ObjectUtils.SerializeObject(Peer, bw); StringUtil.Serialize(Message, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs index cbce789d..7874e0b5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(846868683)] @@ -22,17 +24,15 @@ public override int Constructor public bool Unsave { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); Unsave = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); BoolUtil.Serialize(Unsave, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs index e45eb00d..fdf17dc2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(958863608)] @@ -24,10 +26,9 @@ public override int Constructor public bool Unsave { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Attached = (Flags & 1) != 0; Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); Unsave = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Id, bw); BoolUtil.Serialize(Unsave, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs index 8815830f..f3640161 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-2045448344)] @@ -33,10 +35,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -58,7 +59,6 @@ public override void DeserializeBody(BinaryReader br) MaxId = br.ReadInt32(); MinId = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -78,12 +78,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MaxId); bw.Write(MinId); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs index a83eb689..96fd0803 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1080395925)] @@ -22,17 +24,15 @@ public override int Constructor public int Offset { get; set; } public Messages.TLFoundGifs Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); Offset = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Q, bw); bw.Write(Offset); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLFoundGifs)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs index d9e025a6..e10054b3 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1083038300)] @@ -27,10 +29,9 @@ public override int Constructor public int Limit { get; set; } public Messages.TLAbsMessages Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -46,7 +47,6 @@ public override void DeserializeBody(BinaryReader br) OffsetPeer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); OffsetId = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -60,12 +60,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(OffsetPeer, bw); bw.Write(OffsetId); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsMessages)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs index c6ee3ae7..6268645d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1028140917)] @@ -24,10 +26,9 @@ public override int Constructor public int Hash { get; set; } public Messages.TLAbsFoundStickerSets Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) ExcludeFeatured = (Flags & 1) != 0; Q = StringUtil.Deserialize(br); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Q, bw); bw.Write(Hash); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsFoundStickerSets)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs index d5a18160..fccb7dce 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1451792525)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] Data { get; set; } public Messages.TLAbsSentEncryptedMessage Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); RandomId = br.ReadInt64(); Data = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(RandomId); BytesUtil.Serialize(Data, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsSentEncryptedMessage)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs index 9d4c3aaa..ac063994 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1701831834)] @@ -24,10 +26,9 @@ public override int Constructor public TLAbsInputEncryptedFile File { get; set; } public Messages.TLAbsSentEncryptedMessage Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) RandomId = br.ReadInt64(); Data = BytesUtil.Deserialize(br); File = (TLAbsInputEncryptedFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(RandomId); BytesUtil.Serialize(Data, bw); ObjectUtils.SerializeObject(File, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsSentEncryptedMessage)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs index 787db614..a1ed751e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(852769188)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] Data { get; set; } public Messages.TLAbsSentEncryptedMessage Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); RandomId = br.ReadInt64(); Data = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(RandomId); BytesUtil.Serialize(Data, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLAbsSentEncryptedMessage)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs index 80323aed..77b17305 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(570955184)] @@ -31,10 +33,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -58,17 +59,12 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - ObjectUtils.SerializeObject(Peer, bw); if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); @@ -77,12 +73,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Id, bw); if ((Flags & 1024) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs index 2c92d589..250d48b9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(881978281)] @@ -32,10 +34,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -68,16 +69,12 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - ObjectUtils.SerializeObject(Peer, bw); if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); @@ -90,12 +87,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 1024) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs index 946206aa..6c9e6400 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1376532592)] @@ -32,10 +34,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -68,17 +69,12 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - ObjectUtils.SerializeObject(Peer, bw); if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); @@ -90,12 +86,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 1024) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs index adc80bda..49ccbcbf 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-872345397)] @@ -28,10 +30,9 @@ public override int Constructor public int? ScheduleDate { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -52,28 +53,23 @@ public override void DeserializeBody(BinaryReader br) else ScheduleDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - ObjectUtils.SerializeObject(Peer, bw); if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); ObjectUtils.SerializeObject(MultiMedia, bw); if ((Flags & 1024) != 0) bw.Write(ScheduleDate.Value); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs index 40ccce95..f29caa2e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1120369398)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Id { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs index 67265388..0538e668 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-914493408)] @@ -23,10 +25,9 @@ public override int Constructor public long RandomId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); ReplyToMsgId = br.ReadInt32(); RandomId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(ReplyToMsgId); bw.Write(RandomId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs index 150aabac..274959a2 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(283795844)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Options { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); Options = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); ObjectUtils.SerializeObject(Options, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs index 6fe8f21d..6de00bed 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-712043766)] @@ -26,10 +28,9 @@ public override int Constructor public int CacheTime { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -48,26 +49,23 @@ public override void DeserializeBody(BinaryReader br) Url = null; CacheTime = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(QueryId); if ((Flags & 1) != 0) StringUtil.Serialize(Message, bw); if ((Flags & 4) != 0) StringUtil.Serialize(Url, bw); bw.Write(CacheTime); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs index a2cdcf14..ed38d939 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(163765653)] @@ -24,10 +26,9 @@ public override int Constructor public string Error { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,23 +41,20 @@ public override void DeserializeBody(BinaryReader br) else Error = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(QueryId); if ((Flags & 1) != 0) StringUtil.Serialize(Error, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs index 137ea73f..732d259d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-436833542)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector ShippingOptions { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -44,7 +45,6 @@ public override void DeserializeBody(BinaryReader br) else ShippingOptions = null; - } public override void SerializeBody(BinaryWriter bw) @@ -56,12 +56,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Error, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(ShippingOptions, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs index 8c794756..6ff2d7e9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(2031374829)] @@ -22,17 +24,15 @@ public override int Constructor public bool Typing { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); Typing = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); BoolUtil.Serialize(Typing, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs index 817e9622..b3574f66 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1896289088)] @@ -27,10 +29,9 @@ public override int Constructor public int Score { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -42,25 +43,21 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Score = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); ObjectUtils.SerializeObject(UserId, bw); bw.Write(Score); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs index 737ad323..72b2c6a5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-346119674)] @@ -28,10 +30,9 @@ public override int Constructor public TLInlineBotSwitchPM SwitchPm { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -52,15 +53,12 @@ public override void DeserializeBody(BinaryReader br) else SwitchPm = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(QueryId); ObjectUtils.SerializeObject(Results, bw); bw.Write(CacheTime); @@ -68,12 +66,11 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(NextOffset, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(SwitchPm, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs index 67e805cb..9bd7dfed 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(363700068)] @@ -26,10 +28,9 @@ public override int Constructor public int Score { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,20 @@ public override void DeserializeBody(BinaryReader br) Id = (TLInputBotInlineMessageID)ObjectUtils.DeserializeObject(br); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Score = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(UserId, bw); bw.Write(Score); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs b/src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs index 62e7bed1..6714204d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1551737264)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsSendMessageAction Action { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Action = (TLAbsSendMessageAction)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Action, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs b/src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs index 15eb75d6..c9e2508a 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-421563528)] @@ -24,10 +26,9 @@ public override int Constructor public string StartParam { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); RandomId = br.ReadInt64(); StartParam = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(RandomId); StringUtil.Serialize(StartParam, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs b/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs index 22c17c31..4d4edb69 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1489903017)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputDialogPeer Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,18 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Pinned = (Flags & 1) != 0; Peer = (TLAbsInputDialogPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs index 7ff46763..7a21f566 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-110209570)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputStickerSet Stickerset { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Stickerset, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs index 995269af..31c75db5 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-760547348)] @@ -24,10 +26,9 @@ public override int Constructor public int Id { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Silent = (Flags & 1) != 0; Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(Id); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs index f7554c3c..10638b8d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1347929239)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputEncryptedFile File { get; set; } public TLAbsEncryptedFile Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputEncryptedChat)ObjectUtils.DeserializeObject(br); File = (TLAbsInputEncryptedFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(File, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsEncryptedFile)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs b/src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs index eefa5126..da2c1c5f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs +++ b/src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1369162417)] @@ -22,17 +24,15 @@ public override int Constructor public TLAbsInputMedia Media { get; set; } public TLAbsMessageMedia Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); Media = (TLAbsInputMedia)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Media, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsMessageMedia)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs b/src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs index 07cd4503..1a268b72 100644 --- a/src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs +++ b/src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(772213157)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Gifs { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Gifs = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Gifs, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs index b0d0b70d..8cf08f4e 100644 --- a/src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-402498398)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs b/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs index 71a00fba..6395bc8f 100644 --- a/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs +++ b/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-398136321)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsMessagesFilter Filter { get; set; } public int Count { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,17 +36,14 @@ public override void DeserializeBody(BinaryReader br) Inexact = (Flags & 2) != 0; Filter = (TLAbsMessagesFilter)ObjectUtils.DeserializeObject(br); Count = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Filter, bw); bw.Write(Count); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs b/src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs index 274cc0b3..e38d88ec 100644 --- a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1802240206)] @@ -21,17 +23,15 @@ public override int Constructor public int Date { get; set; } public TLAbsEncryptedFile File { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Date = br.ReadInt32(); File = (TLAbsEncryptedFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Date); ObjectUtils.SerializeObject(File, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs b/src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs index 1d3bb21c..dd52ad30 100644 --- a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs +++ b/src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(1443858741)] @@ -20,23 +22,20 @@ public override int Constructor public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs b/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs index 1e4c5f86..982940e9 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-1240849242)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Packs { get; set; } public TLVector Documents { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Set = (TLStickerSet)ObjectUtils.DeserializeObject(br); Packs = (TLVector)ObjectUtils.DeserializeVector(br); Documents = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Set, bw); ObjectUtils.SerializeObject(Packs, bw); ObjectUtils.SerializeObject(Documents, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs b/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs index 1eb220e9..b5a927f0 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(904138920)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Sets { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Sets = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Sets, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs b/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs index ec926c6c..1f09d4fd 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(946083368)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLStickers.cs b/src/TeleSharp.TL/TL/Messages/TLStickers.cs index b230516c..2379d17d 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickers.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-463889475)] @@ -21,17 +23,15 @@ public override int Constructor public int Hash { get; set; } public TLVector Stickers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Hash = br.ReadInt32(); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Hash); ObjectUtils.SerializeObject(Stickers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs b/src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs index be90b515..cd863136 100644 --- a/src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs +++ b/src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Messages { [TLObject(-244016606)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs b/src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs index 5099caac..4065218c 100644 --- a/src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs +++ b/src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { public abstract class TLAbsPaymentResult : TLObject diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs index 0dff4550..54179420 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(1062645411)] @@ -28,13 +30,12 @@ public override int Constructor public string NativeProvider { get; set; } public TLDataJSON NativeParams { get; set; } public TLPaymentRequestedInfo SavedInfo { get; set; } - public TLPaymentSavedCredentialsCard SavedCredentials { get; set; } + public PaymentSavedCredentials SavedCredentials { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -62,20 +63,17 @@ public override void DeserializeBody(BinaryReader br) SavedInfo = null; if ((Flags & 2) != 0) - SavedCredentials = (TLPaymentSavedCredentialsCard)ObjectUtils.DeserializeObject(br); + SavedCredentials = (PaymentSavedCredentials)ObjectUtils.DeserializeObject(br); else SavedCredentials = null; Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(BotId); ObjectUtils.SerializeObject(Invoice, bw); bw.Write(ProviderId); @@ -89,7 +87,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 2) != 0) ObjectUtils.SerializeObject(SavedCredentials, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs index 4eb2311e..e25ee869 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(1342771681)] @@ -30,10 +32,9 @@ public override int Constructor public string CredentialsTitle { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -57,7 +58,6 @@ public override void DeserializeBody(BinaryReader br) TotalAmount = br.ReadInt64(); CredentialsTitle = StringUtil.Deserialize(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -76,7 +76,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(TotalAmount); StringUtil.Serialize(CredentialsTitle, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs index bab02eae..76a7ffd7 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(1314881805)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsUpdates Updates { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Updates = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Updates, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs index b0751aa0..324fe7b3 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-666824391)] @@ -20,23 +22,20 @@ public override int Constructor public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs index a288b504..1010ae71 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-667062079)] @@ -23,10 +25,9 @@ public override int Constructor public bool Info { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,21 +35,17 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Credentials = (Flags & 1) != 0; Info = (Flags & 2) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs index fc37c502..79d8e445 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-1712285883)] @@ -21,28 +23,25 @@ public override int Constructor public int MsgId { get; set; } public Payments.TLPaymentForm Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MsgId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(MsgId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Payments.TLPaymentForm)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs b/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs index 9b05c9b9..3deb7fd6 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-1601001088)] @@ -21,28 +23,25 @@ public override int Constructor public int MsgId { get; set; } public Payments.TLPaymentReceipt Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MsgId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(MsgId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Payments.TLPaymentReceipt)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs index 53d7ee73..5814388b 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(578650699)] @@ -20,26 +22,25 @@ public override int Constructor public Payments.TLSavedInfo Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Payments.TLSavedInfo)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs index 060e8ed2..7d843ec8 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(730364339)] @@ -25,10 +27,9 @@ public override int Constructor public TLAbsInputPaymentCredentials Credentials { get; set; } public Payments.TLAbsPaymentResult Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -46,7 +47,6 @@ public override void DeserializeBody(BinaryReader br) ShippingOptionId = null; Credentials = (TLAbsInputPaymentCredentials)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -59,12 +59,11 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 2) != 0) StringUtil.Serialize(ShippingOptionId, bw); ObjectUtils.SerializeObject(Credentials, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Payments.TLAbsPaymentResult)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs index 206e1fe1..3df3e528 100644 --- a/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(1997180532)] @@ -24,10 +26,9 @@ public override int Constructor public TLPaymentRequestedInfo Info { get; set; } public Payments.TLValidatedRequestedInfo Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,22 +37,19 @@ public override void DeserializeBody(BinaryReader br) Save = (Flags & 1) != 0; MsgId = br.ReadInt32(); Info = (TLPaymentRequestedInfo)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(MsgId); ObjectUtils.SerializeObject(Info, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Payments.TLValidatedRequestedInfo)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs index adb0f18a..59f6f862 100644 --- a/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-74456004)] @@ -22,10 +24,9 @@ public override int Constructor public bool HasSavedCredentials { get; set; } public TLPaymentRequestedInfo SavedInfo { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,17 +38,14 @@ public override void DeserializeBody(BinaryReader br) else SavedInfo = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 1) != 0) ObjectUtils.SerializeObject(SavedInfo, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs b/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs index dad5e4ce..bd92ed91 100644 --- a/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Payments { [TLObject(-784000893)] @@ -22,10 +24,9 @@ public override int Constructor public string Id { get; set; } public TLVector ShippingOptions { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else ShippingOptions = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Id, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(ShippingOptions, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs b/src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs index 498c630e..5a5d82c9 100644 --- a/src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(-326966976)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPhoneCall PhoneCall { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneCall = (TLAbsPhoneCall)ObjectUtils.DeserializeObject(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PhoneCall, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs index 4cbb1775..c2234ee0 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(1003664544)] @@ -23,10 +25,9 @@ public override int Constructor public TLPhoneCallProtocol Protocol { get; set; } public Phone.TLPhoneCall Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); GB = BytesUtil.Deserialize(br); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); BytesUtil.Serialize(GB, bw); ObjectUtils.SerializeObject(Protocol, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Phone.TLPhoneCall)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs index 6db014d4..159de39d 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(788404002)] @@ -24,10 +26,9 @@ public override int Constructor public TLPhoneCallProtocol Protocol { get; set; } public Phone.TLPhoneCall Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) GA = BytesUtil.Deserialize(br); KeyFingerprint = br.ReadInt64(); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(GA, bw); bw.Write(KeyFingerprint); ObjectUtils.SerializeObject(Protocol, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Phone.TLPhoneCall)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs index c9655377..09d183d9 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(-1295269440)] @@ -26,10 +28,9 @@ public override int Constructor public long ConnectionId { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,21 @@ public override void DeserializeBody(BinaryReader br) Duration = br.ReadInt32(); Reason = (TLAbsPhoneCallDiscardReason)ObjectUtils.DeserializeObject(br); ConnectionId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(Duration); ObjectUtils.SerializeObject(Reason, bw); bw.Write(ConnectionId); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs b/src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs index 9307f39f..0db8b4ec 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(1430593449)] @@ -20,26 +22,25 @@ public override int Constructor public TLDataJSON Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs index 2b3a791e..5d86cd77 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(399855457)] @@ -21,28 +23,25 @@ public override int Constructor public TLInputPhoneCall Peer { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs b/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs index 340950f6..259650d4 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(1124046573)] @@ -26,10 +28,9 @@ public override int Constructor public TLPhoneCallProtocol Protocol { get; set; } public Phone.TLPhoneCall Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,21 @@ public override void DeserializeBody(BinaryReader br) RandomId = br.ReadInt32(); GAHash = BytesUtil.Deserialize(br); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(UserId, bw); bw.Write(RandomId); BytesUtil.Serialize(GAHash, bw); ObjectUtils.SerializeObject(Protocol, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Phone.TLPhoneCall)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs b/src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs index 7f7d9445..33474fce 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(662363518)] @@ -22,17 +24,15 @@ public override int Constructor public TLDataJSON Debug { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); Debug = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Debug, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs b/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs index 35d9eb76..300e183e 100644 --- a/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs +++ b/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Phone { [TLObject(1508562471)] @@ -25,10 +27,9 @@ public override int Constructor public string Comment { get; set; } public TLAbsUpdates Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -38,23 +39,20 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLInputPhoneCall)ObjectUtils.DeserializeObject(br); Rating = br.ReadInt32(); Comment = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(Rating); StringUtil.Serialize(Comment, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs b/src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs index ca753a68..32715ff5 100644 --- a/src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs +++ b/src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { public abstract class TLAbsPhotos : TLObject diff --git a/src/TeleSharp.TL/TL/Photos/TLPhoto.cs b/src/TeleSharp.TL/TL/Photos/TLPhoto.cs index ae62fb99..3aa092ef 100644 --- a/src/TeleSharp.TL/TL/Photos/TLPhoto.cs +++ b/src/TeleSharp.TL/TL/Photos/TLPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(539045032)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPhoto Photo { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Photo, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLPhotos.cs b/src/TeleSharp.TL/TL/Photos/TLPhotos.cs index 06980992..09ac8869 100644 --- a/src/TeleSharp.TL/TL/Photos/TLPhotos.cs +++ b/src/TeleSharp.TL/TL/Photos/TLPhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(-1916114267)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Photos { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Photos = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Photos, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs b/src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs index fd7ee466..06bea8ed 100644 --- a/src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs +++ b/src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(352657236)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Photos { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Count = br.ReadInt32(); Photos = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Count); ObjectUtils.SerializeObject(Photos, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs b/src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs index ae5faf2f..e49f63fe 100644 --- a/src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs +++ b/src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(-2016444625)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs b/src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs index 9ba81208..7b30322e 100644 --- a/src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs +++ b/src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(-1848823128)] @@ -24,10 +26,9 @@ public override int Constructor public int Limit { get; set; } public Photos.TLAbsPhotos Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); MaxId = br.ReadInt64(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(MaxId); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Photos.TLAbsPhotos)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs b/src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs index 12c8eb34..17ee9324 100644 --- a/src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(-256159406)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputPhoto Id { get; set; } public TLAbsUserProfilePhoto Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs b/src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs index e74090f0..9972864b 100644 --- a/src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Photos { [TLObject(1328726168)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputFile File { get; set; } public Photos.TLPhoto Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(File, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Photos.TLPhoto)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs index fb3f7011..ac2a4212 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Stickers { [TLObject(-2041315650)] @@ -22,17 +24,15 @@ public override int Constructor public TLInputStickerSetItem Sticker { get; set; } public Messages.TLStickerSet Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); Sticker = (TLInputStickerSetItem)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Stickerset, bw); ObjectUtils.SerializeObject(Sticker, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs index d5d30431..e086a8f4 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Stickers { [TLObject(-4795190)] @@ -22,17 +24,15 @@ public override int Constructor public int Position { get; set; } public Messages.TLStickerSet Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Sticker = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); Position = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Sticker, bw); bw.Write(Position); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs index 532ae660..b35a578e 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Stickers { [TLObject(-1680314774)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Stickers { get; set; } public Messages.TLStickerSet Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,21 @@ public override void DeserializeBody(BinaryReader br) Title = StringUtil.Deserialize(br); ShortName = StringUtil.Deserialize(br); Stickers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(UserId, bw); StringUtil.Serialize(Title, bw); StringUtil.Serialize(ShortName, bw); ObjectUtils.SerializeObject(Stickers, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs b/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs index d0be8166..0656250b 100644 --- a/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs +++ b/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Stickers { [TLObject(-143257775)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputDocument Sticker { get; set; } public Messages.TLStickerSet Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Sticker = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Sticker, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs b/src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs index 958a25ec..a4101b80 100644 --- a/src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs +++ b/src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { public abstract class TLAbsFileType : TLObject diff --git a/src/TeleSharp.TL/TL/Storage/TLFileGif.cs b/src/TeleSharp.TL/TL/Storage/TLFileGif.cs index 26960b34..5b7a9522 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileGif.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileGif.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(-891180321)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs b/src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs index b6df7d40..7d8df300 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(8322574)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMov.cs b/src/TeleSharp.TL/TL/Storage/TLFileMov.cs index 210f6227..ab4a1be9 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileMov.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileMov.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(1258941372)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMp3.cs b/src/TeleSharp.TL/TL/Storage/TLFileMp3.cs index 89cf4023..fdab7e42 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileMp3.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileMp3.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(1384777335)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMp4.cs b/src/TeleSharp.TL/TL/Storage/TLFileMp4.cs index d4ee9f8f..0b3d2143 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileMp4.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileMp4.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(-1278304028)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePartial.cs b/src/TeleSharp.TL/TL/Storage/TLFilePartial.cs index acfbe49f..eb1339df 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFilePartial.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFilePartial.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(1086091090)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePdf.cs b/src/TeleSharp.TL/TL/Storage/TLFilePdf.cs index ce26269d..b8a07045 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFilePdf.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFilePdf.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(-1373745011)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePng.cs b/src/TeleSharp.TL/TL/Storage/TLFilePng.cs index 35870070..825bc57e 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFilePng.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFilePng.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(172975040)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs b/src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs index 3656c9e5..c199b974 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(-1432995067)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/Storage/TLFileWebp.cs b/src/TeleSharp.TL/TL/Storage/TLFileWebp.cs index 500bc240..6aa227e0 100644 --- a/src/TeleSharp.TL/TL/Storage/TLFileWebp.cs +++ b/src/TeleSharp.TL/TL/Storage/TLFileWebp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Storage { [TLObject(276907596)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs b/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs index fd8a55a0..a7c3ba81 100644 --- a/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs +++ b/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsBaseTheme : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsBool.cs b/src/TeleSharp.TL/TL/TLAbsBool.cs index afa7d6cd..24eff27e 100644 --- a/src/TeleSharp.TL/TL/TLAbsBool.cs +++ b/src/TeleSharp.TL/TL/TLAbsBool.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsBool : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs b/src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs index 8b54131f..9b2df26e 100644 --- a/src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsBotInlineMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs b/src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs index 841a0fab..d43c33c5 100644 --- a/src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsBotInlineResult : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs b/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs index d9a2c941..50cdd04c 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChannelAdminLogEventAction : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs b/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs index 06efa7a4..35a9c54d 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChannelLocation : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs b/src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs index e7542909..66594fb8 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChannelMessagesFilter : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs b/src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs index 552ef910..4d8a0776 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChannelParticipant : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs b/src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs index afee66d7..54bc985d 100644 --- a/src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs +++ b/src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChannelParticipantsFilter : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChat.cs b/src/TeleSharp.TL/TL/TLAbsChat.cs index aa92fc01..7ce509f9 100644 --- a/src/TeleSharp.TL/TL/TLAbsChat.cs +++ b/src/TeleSharp.TL/TL/TLAbsChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChat : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChatFull.cs b/src/TeleSharp.TL/TL/TLAbsChatFull.cs index ef596c7d..ce1c9a08 100644 --- a/src/TeleSharp.TL/TL/TLAbsChatFull.cs +++ b/src/TeleSharp.TL/TL/TLAbsChatFull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChatFull : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChatInvite.cs b/src/TeleSharp.TL/TL/TLAbsChatInvite.cs index 64ff7dd0..c3bbeb78 100644 --- a/src/TeleSharp.TL/TL/TLAbsChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLAbsChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChatInvite : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChatParticipant.cs b/src/TeleSharp.TL/TL/TLAbsChatParticipant.cs index 598365ad..0f6348ea 100644 --- a/src/TeleSharp.TL/TL/TLAbsChatParticipant.cs +++ b/src/TeleSharp.TL/TL/TLAbsChatParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChatParticipant : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChatParticipants.cs b/src/TeleSharp.TL/TL/TLAbsChatParticipants.cs index 246eea2c..918d6fcd 100644 --- a/src/TeleSharp.TL/TL/TLAbsChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLAbsChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChatParticipants : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsChatPhoto.cs b/src/TeleSharp.TL/TL/TLAbsChatPhoto.cs index b2103083..75a47c16 100644 --- a/src/TeleSharp.TL/TL/TLAbsChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLAbsChatPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsChatPhoto : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsDialog.cs b/src/TeleSharp.TL/TL/TLAbsDialog.cs index 6b6957bb..0de10769 100644 --- a/src/TeleSharp.TL/TL/TLAbsDialog.cs +++ b/src/TeleSharp.TL/TL/TLAbsDialog.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsDialog : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs b/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs index 36bfd2b9..e486b960 100644 --- a/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsDialogPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsDocument.cs b/src/TeleSharp.TL/TL/TLAbsDocument.cs index d60b4a83..8da4094f 100644 --- a/src/TeleSharp.TL/TL/TLAbsDocument.cs +++ b/src/TeleSharp.TL/TL/TLAbsDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsDocument : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs b/src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs index 8fd333d2..7e7057ee 100644 --- a/src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs +++ b/src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsDocumentAttribute : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsDraftMessage.cs b/src/TeleSharp.TL/TL/TLAbsDraftMessage.cs index 1f73bbaa..08a1bc9c 100644 --- a/src/TeleSharp.TL/TL/TLAbsDraftMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsDraftMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsDraftMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs b/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs index f7863f0f..5500e88b 100644 --- a/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs +++ b/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsEmojiKeyword : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs b/src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs index e64f9736..715c2e45 100644 --- a/src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs +++ b/src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsEncryptedChat : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs b/src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs index 5ada68d8..61646de9 100644 --- a/src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsEncryptedFile : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs b/src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs index bd37fe43..32312326 100644 --- a/src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsEncryptedMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs b/src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs index 572ee110..9099c2f2 100644 --- a/src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsExportedChatInvite : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsFoundGif.cs b/src/TeleSharp.TL/TL/TLAbsFoundGif.cs index 7fc1df8e..a2c12072 100644 --- a/src/TeleSharp.TL/TL/TLAbsFoundGif.cs +++ b/src/TeleSharp.TL/TL/TLAbsFoundGif.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsFoundGif : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsGeoPoint.cs b/src/TeleSharp.TL/TL/TLAbsGeoPoint.cs index 935339ff..3d4be73f 100644 --- a/src/TeleSharp.TL/TL/TLAbsGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLAbsGeoPoint.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsGeoPoint : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs b/src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs index 015e1a06..af91ad33 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputBotInlineMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs b/src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs index 9e4fb99d..79bfed50 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputBotInlineResult : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputChannel.cs b/src/TeleSharp.TL/TL/TLAbsInputChannel.cs index e84f4f78..a76843ed 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputChannel.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputChannel : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs b/src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs index bf8800aa..8c815fae 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputChatPhoto : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs b/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs index 3078106b..e016511f 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputCheckPasswordSRP : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs b/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs index 7c33afba..4b6ebbe7 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputDialogPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputDocument.cs b/src/TeleSharp.TL/TL/TLAbsInputDocument.cs index e49097ef..5a26972a 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputDocument.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputDocument : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs b/src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs index 25670117..76eff700 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputEncryptedFile : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputFile.cs b/src/TeleSharp.TL/TL/TLAbsInputFile.cs index 0f8adc35..7733a188 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputFile.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputFile : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs b/src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs index b67f3e8c..bf80ea35 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputFileLocation : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputGame.cs b/src/TeleSharp.TL/TL/TLAbsInputGame.cs index 16334de5..c63b04c6 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputGame.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputGame : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs b/src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs index 2e3d1f59..0a0341d4 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputGeoPoint : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputMedia.cs b/src/TeleSharp.TL/TL/TLAbsInputMedia.cs index 34ed3a7c..c1efd336 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputMedia.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputMedia : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputMessage.cs b/src/TeleSharp.TL/TL/TLAbsInputMessage.cs index 2856cbaa..a3eda58f 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs b/src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs index 23dd8124..cf4c671c 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputNotifyPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs b/src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs index 87a6b58e..1748b5ec 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputPaymentCredentials : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputPeer.cs b/src/TeleSharp.TL/TL/TLAbsInputPeer.cs index 24845d29..c74b9bc1 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputPhoto.cs b/src/TeleSharp.TL/TL/TLAbsInputPhoto.cs index dbeaed04..fd51aa87 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPhoto.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputPhoto : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs b/src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs index 21b79436..026314c8 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputPrivacyKey : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs b/src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs index bc899644..7ef0f2f6 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputPrivacyRule : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs b/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs index e229086f..f888b62e 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputSecureFile : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs b/src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs index 7578ef1e..2efbffab 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputStickerSet : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs b/src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs index 23d182d9..6201f4fc 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputStickeredMedia : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputTheme.cs b/src/TeleSharp.TL/TL/TLAbsInputTheme.cs index 24117652..542c1717 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputTheme.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputTheme : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputUser.cs b/src/TeleSharp.TL/TL/TLAbsInputUser.cs index 70ec16bb..c1f8df32 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputUser.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputUser : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs b/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs index cfe4c680..df3b940b 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputWallPaper : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs b/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs index 8429261a..8e1c7913 100644 --- a/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsInputWebFileLocation : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsJSONValue.cs b/src/TeleSharp.TL/TL/TLAbsJSONValue.cs index 78d7f384..e39e1617 100644 --- a/src/TeleSharp.TL/TL/TLAbsJSONValue.cs +++ b/src/TeleSharp.TL/TL/TLAbsJSONValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsJSONValue : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs b/src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs index 4760b4f3..d49d28b6 100644 --- a/src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs +++ b/src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsKeyboardButton : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsLangPackString.cs b/src/TeleSharp.TL/TL/TLAbsLangPackString.cs index 22f0413d..15c61507 100644 --- a/src/TeleSharp.TL/TL/TLAbsLangPackString.cs +++ b/src/TeleSharp.TL/TL/TLAbsLangPackString.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsLangPackString : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsMessage.cs b/src/TeleSharp.TL/TL/TLAbsMessage.cs index 8f0ed6ed..ce038f90 100644 --- a/src/TeleSharp.TL/TL/TLAbsMessage.cs +++ b/src/TeleSharp.TL/TL/TLAbsMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsMessage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsMessageAction.cs b/src/TeleSharp.TL/TL/TLAbsMessageAction.cs index d2312722..e0e579fa 100644 --- a/src/TeleSharp.TL/TL/TLAbsMessageAction.cs +++ b/src/TeleSharp.TL/TL/TLAbsMessageAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsMessageAction : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsMessageEntity.cs b/src/TeleSharp.TL/TL/TLAbsMessageEntity.cs index d892621e..8ad7a8b0 100644 --- a/src/TeleSharp.TL/TL/TLAbsMessageEntity.cs +++ b/src/TeleSharp.TL/TL/TLAbsMessageEntity.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsMessageEntity : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsMessageMedia.cs b/src/TeleSharp.TL/TL/TLAbsMessageMedia.cs index 7b8bebc5..5d14eb26 100644 --- a/src/TeleSharp.TL/TL/TLAbsMessageMedia.cs +++ b/src/TeleSharp.TL/TL/TLAbsMessageMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsMessageMedia : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs b/src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs index f89e6704..7a6a0eef 100644 --- a/src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs +++ b/src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsMessagesFilter : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs b/src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs index 76e3bc43..95acd48a 100644 --- a/src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsNotifyPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPageBlock.cs b/src/TeleSharp.TL/TL/TLAbsPageBlock.cs index 5928c6e8..39672ba3 100644 --- a/src/TeleSharp.TL/TL/TLAbsPageBlock.cs +++ b/src/TeleSharp.TL/TL/TLAbsPageBlock.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPageBlock : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPageListItem.cs b/src/TeleSharp.TL/TL/TLAbsPageListItem.cs index c20dd9a4..5df2dad2 100644 --- a/src/TeleSharp.TL/TL/TLAbsPageListItem.cs +++ b/src/TeleSharp.TL/TL/TLAbsPageListItem.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPageListItem : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs b/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs index 2aba19a9..f80e47fb 100644 --- a/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs +++ b/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPageListOrderedItem : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs b/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs index a7a09973..a30aeb1c 100644 --- a/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs +++ b/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPasswordKdfAlgo : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPeer.cs b/src/TeleSharp.TL/TL/TLAbsPeer.cs index 914dc83f..7b8c3887 100644 --- a/src/TeleSharp.TL/TL/TLAbsPeer.cs +++ b/src/TeleSharp.TL/TL/TLAbsPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPeer : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPhoneCall.cs b/src/TeleSharp.TL/TL/TLAbsPhoneCall.cs index 46faf287..7cb844af 100644 --- a/src/TeleSharp.TL/TL/TLAbsPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLAbsPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPhoneCall : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs b/src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs index c6283d6e..33528338 100644 --- a/src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs +++ b/src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPhoneCallDiscardReason : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPhoto.cs b/src/TeleSharp.TL/TL/TLAbsPhoto.cs index 4dd7e317..f0f55aab 100644 --- a/src/TeleSharp.TL/TL/TLAbsPhoto.cs +++ b/src/TeleSharp.TL/TL/TLAbsPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPhoto : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPhotoSize.cs b/src/TeleSharp.TL/TL/TLAbsPhotoSize.cs index 70381295..a93568a1 100644 --- a/src/TeleSharp.TL/TL/TLAbsPhotoSize.cs +++ b/src/TeleSharp.TL/TL/TLAbsPhotoSize.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPhotoSize : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs b/src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs index 1885650e..aa8cc97b 100644 --- a/src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs +++ b/src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPrivacyKey : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs b/src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs index f0150885..700e25c5 100644 --- a/src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs +++ b/src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsPrivacyRule : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs b/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs index 33b50a29..c25b8b5f 100644 --- a/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs +++ b/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsRecentMeUrl : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs b/src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs index f7c3be0c..f655bc89 100644 --- a/src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs +++ b/src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsReplyMarkup : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsReportReason.cs b/src/TeleSharp.TL/TL/TLAbsReportReason.cs index 87add4b9..26a62da6 100644 --- a/src/TeleSharp.TL/TL/TLAbsReportReason.cs +++ b/src/TeleSharp.TL/TL/TLAbsReportReason.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsReportReason : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsRichText.cs b/src/TeleSharp.TL/TL/TLAbsRichText.cs index 5e84f35f..11048c83 100644 --- a/src/TeleSharp.TL/TL/TLAbsRichText.cs +++ b/src/TeleSharp.TL/TL/TLAbsRichText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsRichText : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecureFile.cs b/src/TeleSharp.TL/TL/TLAbsSecureFile.cs index cce05ab5..10463f10 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecureFile.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecureFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecureFile : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs b/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs index f4bdcde8..e7525b2f 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecurePasswordKdfAlgo : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs b/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs index f21db4d8..eff9a6f5 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecurePlainData : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs b/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs index ba91498f..e4f52290 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecureRequiredType : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs b/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs index 8c90037f..314f8a15 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecureValueError : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs b/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs index d76a640c..298c4eb0 100644 --- a/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs +++ b/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSecureValueType : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs b/src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs index edcc8ed4..6db476b0 100644 --- a/src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs +++ b/src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsSendMessageAction : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs b/src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs index 2a558fb8..3de2abe4 100644 --- a/src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs +++ b/src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsStickerSetCovered : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs b/src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs index 0bf8f11f..e384e176 100644 --- a/src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs +++ b/src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsTopPeerCategory : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUpdate.cs b/src/TeleSharp.TL/TL/TLAbsUpdate.cs index 6f71cc3c..92ad18f1 100644 --- a/src/TeleSharp.TL/TL/TLAbsUpdate.cs +++ b/src/TeleSharp.TL/TL/TLAbsUpdate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUpdate : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUpdates.cs b/src/TeleSharp.TL/TL/TLAbsUpdates.cs index 9653aa94..a87d3693 100644 --- a/src/TeleSharp.TL/TL/TLAbsUpdates.cs +++ b/src/TeleSharp.TL/TL/TLAbsUpdates.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUpdates : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs b/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs index 3be0131a..f35f1525 100644 --- a/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs +++ b/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUrlAuthResult : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUser.cs b/src/TeleSharp.TL/TL/TLAbsUser.cs index b9dcb617..1e5cc026 100644 --- a/src/TeleSharp.TL/TL/TLAbsUser.cs +++ b/src/TeleSharp.TL/TL/TLAbsUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUser : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs b/src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs index c3c9e05f..df027723 100644 --- a/src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUserProfilePhoto : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsUserStatus.cs b/src/TeleSharp.TL/TL/TLAbsUserStatus.cs index 21ef4372..7db6a073 100644 --- a/src/TeleSharp.TL/TL/TLAbsUserStatus.cs +++ b/src/TeleSharp.TL/TL/TLAbsUserStatus.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsUserStatus : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsWallPaper.cs b/src/TeleSharp.TL/TL/TLAbsWallPaper.cs index a67e4e0d..efb5e671 100644 --- a/src/TeleSharp.TL/TL/TLAbsWallPaper.cs +++ b/src/TeleSharp.TL/TL/TLAbsWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsWallPaper : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsWebDocument.cs b/src/TeleSharp.TL/TL/TLAbsWebDocument.cs index 6e2bfb72..c8496e7b 100644 --- a/src/TeleSharp.TL/TL/TLAbsWebDocument.cs +++ b/src/TeleSharp.TL/TL/TLAbsWebDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsWebDocument : TLObject diff --git a/src/TeleSharp.TL/TL/TLAbsWebPage.cs b/src/TeleSharp.TL/TL/TLAbsWebPage.cs index 1433c52c..ae364677 100644 --- a/src/TeleSharp.TL/TL/TLAbsWebPage.cs +++ b/src/TeleSharp.TL/TL/TLAbsWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { public abstract class TLAbsWebPage : TLObject diff --git a/src/TeleSharp.TL/TL/TLAccountDaysTTL.cs b/src/TeleSharp.TL/TL/TLAccountDaysTTL.cs index 8e2b698a..a2185732 100644 --- a/src/TeleSharp.TL/TL/TLAccountDaysTTL.cs +++ b/src/TeleSharp.TL/TL/TLAccountDaysTTL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1194283041)] @@ -20,23 +22,20 @@ public override int Constructor public int Days { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Days = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Days); - } } } diff --git a/src/TeleSharp.TL/TL/TLAuthorization.cs b/src/TeleSharp.TL/TL/TLAuthorization.cs index f522c8ed..9775bf27 100644 --- a/src/TeleSharp.TL/TL/TLAuthorization.cs +++ b/src/TeleSharp.TL/TL/TLAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1392388579)] @@ -35,10 +37,9 @@ public override int Constructor public string Country { get; set; } public string Region { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -59,16 +60,12 @@ public override void DeserializeBody(BinaryReader br) Ip = StringUtil.Deserialize(br); Country = StringUtil.Deserialize(br); Region = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - bw.Write(Hash); StringUtil.Serialize(DeviceModel, bw); StringUtil.Serialize(Platform, bw); @@ -81,7 +78,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Ip, bw); StringUtil.Serialize(Country, bw); StringUtil.Serialize(Region, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs b/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs index 90f4ddde..82fe176a 100644 --- a/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs +++ b/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-532532493)] @@ -28,10 +30,9 @@ public override int Constructor public int FileSizeMax { get; set; } public int VideoUploadMaxbitrate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,22 +46,16 @@ public override void DeserializeBody(BinaryReader br) VideoSizeMax = br.ReadInt32(); FileSizeMax = br.ReadInt32(); VideoUploadMaxbitrate = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - bw.Write(PhotoSizeMax); bw.Write(VideoSizeMax); bw.Write(FileSizeMax); bw.Write(VideoUploadMaxbitrate); - } } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs b/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs index 019e26ef..bf60d956 100644 --- a/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1527845466)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs b/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs index d3b44c24..48a12224 100644 --- a/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1012849566)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeDay.cs b/src/TeleSharp.TL/TL/TLBaseThemeDay.cs index a8d1466e..adbeee46 100644 --- a/src/TeleSharp.TL/TL/TLBaseThemeDay.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeDay.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-69724536)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeNight.cs b/src/TeleSharp.TL/TL/TLBaseThemeNight.cs index 5bcd54f0..1f523b7e 100644 --- a/src/TeleSharp.TL/TL/TLBaseThemeNight.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeNight.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1212997976)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs b/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs index e127e6c3..281439d7 100644 --- a/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs +++ b/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1834973166)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBoolFalse.cs b/src/TeleSharp.TL/TL/TLBoolFalse.cs index 7282348e..68509858 100644 --- a/src/TeleSharp.TL/TL/TLBoolFalse.cs +++ b/src/TeleSharp.TL/TL/TLBoolFalse.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1132882121)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBoolTrue.cs b/src/TeleSharp.TL/TL/TLBoolTrue.cs index a96c279b..3497909a 100644 --- a/src/TeleSharp.TL/TL/TLBoolTrue.cs +++ b/src/TeleSharp.TL/TL/TLBoolTrue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1720552011)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLBotCommand.cs b/src/TeleSharp.TL/TL/TLBotCommand.cs index 0613f68b..66c95a46 100644 --- a/src/TeleSharp.TL/TL/TLBotCommand.cs +++ b/src/TeleSharp.TL/TL/TLBotCommand.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1032140601)] @@ -21,17 +23,15 @@ public override int Constructor public string Command { get; set; } public string Description { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Command = StringUtil.Deserialize(br); Description = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Command, bw); StringUtil.Serialize(Description, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInfo.cs b/src/TeleSharp.TL/TL/TLBotInfo.cs index d7acda32..4a61e109 100644 --- a/src/TeleSharp.TL/TL/TLBotInfo.cs +++ b/src/TeleSharp.TL/TL/TLBotInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1729618630)] @@ -22,10 +24,9 @@ public override int Constructor public string Description { get; set; } public TLVector Commands { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); Description = StringUtil.Deserialize(br); Commands = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); StringUtil.Serialize(Description, bw); ObjectUtils.SerializeObject(Commands, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs b/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs index 7e7c67a8..6ac69572 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(400266251)] @@ -27,10 +29,9 @@ public override int Constructor public string Description { get; set; } public TLAbsBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -59,7 +60,6 @@ public override void DeserializeBody(BinaryReader br) Description = null; SendMessage = (TLAbsBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -77,7 +77,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 8) != 0) StringUtil.Serialize(Description, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs index 4d52cbd1..843d505a 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1984755728)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -55,7 +55,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs index 33a35e32..b8bb0562 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(416402882)] @@ -25,10 +27,9 @@ public override int Constructor public string Vcard { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -56,7 +56,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Vcard, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs index 66234136..38df1446 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1222451611)] @@ -23,10 +25,9 @@ public override int Constructor public int Period { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -50,7 +50,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Period); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs index 0a048750..7ecef0ee 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1970903652)] @@ -27,10 +29,9 @@ public override int Constructor public string VenueType { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -62,7 +62,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(VenueType, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs b/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs index c4e05207..4ec003f8 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1937807902)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,20 +46,17 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Message, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLBotInlineResult.cs b/src/TeleSharp.TL/TL/TLBotInlineResult.cs index d3319956..6432540a 100644 --- a/src/TeleSharp.TL/TL/TLBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLBotInlineResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(295067450)] @@ -28,10 +30,9 @@ public override int Constructor public TLAbsWebDocument Content { get; set; } public TLAbsBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -65,7 +66,6 @@ public override void DeserializeBody(BinaryReader br) Content = null; SendMessage = (TLAbsBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -85,7 +85,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 32) != 0) ObjectUtils.SerializeObject(Content, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLCdnConfig.cs b/src/TeleSharp.TL/TL/TLCdnConfig.cs index f658db14..323088f4 100644 --- a/src/TeleSharp.TL/TL/TLCdnConfig.cs +++ b/src/TeleSharp.TL/TL/TLCdnConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1462101002)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector PublicKeys { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PublicKeys = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PublicKeys, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLCdnPublicKey.cs b/src/TeleSharp.TL/TL/TLCdnPublicKey.cs index 3b59eca8..6fc10e2b 100644 --- a/src/TeleSharp.TL/TL/TLCdnPublicKey.cs +++ b/src/TeleSharp.TL/TL/TLCdnPublicKey.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-914167110)] @@ -21,17 +23,15 @@ public override int Constructor public int DcId { get; set; } public string PublicKey { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { DcId = br.ReadInt32(); PublicKey = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(DcId); StringUtil.Serialize(PublicKey, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannel.cs b/src/TeleSharp.TL/TL/TLChannel.cs index 4bd7d435..abac53d9 100644 --- a/src/TeleSharp.TL/TL/TLChannel.cs +++ b/src/TeleSharp.TL/TL/TLChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-753232354)] @@ -44,10 +46,9 @@ public override int Constructor public TLChatBannedRights DefaultBannedRights { get; set; } public int? ParticipantsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -105,25 +106,12 @@ public override void DeserializeBody(BinaryReader br) else ParticipantsCount = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - - - - - bw.Write(Id); if ((Flags & 8192) != 0) bw.Write(AccessHash.Value); @@ -143,7 +131,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(DefaultBannedRights, bw); if ((Flags & 131072) != 0) bw.Write(ParticipantsCount.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs index 12663109..b3392dfd 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(995769920)] @@ -23,10 +25,9 @@ public override int Constructor public int UserId { get; set; } public TLAbsChannelAdminLogEventAction Action { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); UserId = br.ReadInt32(); Action = (TLAbsChannelAdminLogEventAction)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); bw.Write(UserId); ObjectUtils.SerializeObject(Action, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs index 0d2c7b88..baf049b9 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1427671598)] @@ -21,17 +23,15 @@ public override int Constructor public string PrevValue { get; set; } public string NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = StringUtil.Deserialize(br); NewValue = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PrevValue, bw); StringUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs index 5af03ba1..033e8b95 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1569748965)] @@ -21,17 +23,15 @@ public override int Constructor public int PrevValue { get; set; } public int NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = br.ReadInt32(); NewValue = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(PrevValue); bw.Write(NewValue); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs index 8feb595a..e555bcc8 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(241923758)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsChannelLocation PrevValue { get; set; } public TLAbsChannelLocation NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); NewValue = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevValue, bw); ObjectUtils.SerializeObject(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs index 0655d57e..08f6d509 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1129042607)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPhoto PrevPhoto { get; set; } public TLAbsPhoto NewPhoto { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); NewPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevPhoto, bw); ObjectUtils.SerializeObject(NewPhoto, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs index ed283f00..8d3bd8ac 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1312568665)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsInputStickerSet PrevStickerset { get; set; } public TLAbsInputStickerSet NewStickerset { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevStickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); NewStickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevStickerset, bw); ObjectUtils.SerializeObject(NewStickerset, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs index 9ac2fe1c..801ee5d9 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-421545947)] @@ -21,17 +23,15 @@ public override int Constructor public string PrevValue { get; set; } public string NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = StringUtil.Deserialize(br); NewValue = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PrevValue, bw); StringUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs index 41063155..53118cf6 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1783299128)] @@ -21,17 +23,15 @@ public override int Constructor public string PrevValue { get; set; } public string NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = StringUtil.Deserialize(br); NewValue = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(PrevValue, bw); StringUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs index f004f30d..5dfea2d4 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(771095562)] @@ -21,17 +23,15 @@ public override int Constructor public TLChatBannedRights PrevBannedRights { get; set; } public TLChatBannedRights NewBannedRights { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); NewBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevBannedRights, bw); ObjectUtils.SerializeObject(NewBannedRights, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs index 87fa5850..59c67486 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1121994683)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsMessage Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs index d13dbd3a..8a7f96dd 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1889215493)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsMessage PrevMessage { get; set; } public TLAbsMessage NewMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevMessage = (TLAbsMessage)ObjectUtils.DeserializeObject(br); NewMessage = (TLAbsMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevMessage, bw); ObjectUtils.SerializeObject(NewMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs index 417235c4..ed5e129c 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-484690728)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsChannelParticipant Participant { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Participant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Participant, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs index 9250c0fb..7f2b534c 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(405815507)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs index a68e7f0f..558883a8 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-124291086)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs index 8dd4f299..5ede8bc7 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-714643696)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsChannelParticipant PrevParticipant { get; set; } public TLAbsChannelParticipant NewParticipant { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); NewParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevParticipant, bw); ObjectUtils.SerializeObject(NewParticipant, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs index 892f3dfa..17b147d8 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-422036098)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsChannelParticipant PrevParticipant { get; set; } public TLAbsChannelParticipant NewParticipant { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); NewParticipant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PrevParticipant, bw); ObjectUtils.SerializeObject(NewParticipant, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs index 856784bd..80a38d60 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1895328189)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsMessage Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs index 3d7b0757..6929d4e1 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(460916654)] @@ -20,23 +22,20 @@ public override int Constructor public bool NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { NewValue = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs index 05a7ce6c..de4494ef 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1599903217)] @@ -20,23 +22,20 @@ public override int Constructor public bool NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { NewValue = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs index dec1579c..a5e0b9be 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(648939889)] @@ -20,23 +22,20 @@ public override int Constructor public bool NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { NewValue = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(NewValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs index 6ff7e8f2..9f8fd393 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1401984889)] @@ -21,17 +23,15 @@ public override int Constructor public int PrevValue { get; set; } public int NewValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PrevValue = br.ReadInt32(); NewValue = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(PrevValue); bw.Write(NewValue); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs index 44a5840e..9cf03636 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-370660328)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsMessage Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs b/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs index db6b0b5c..9a227f84 100644 --- a/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs +++ b/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-368018716)] @@ -34,10 +36,9 @@ public override int Constructor public bool Edit { get; set; } public bool Delete { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -57,28 +58,12 @@ public override void DeserializeBody(BinaryReader br) Pinned = (Flags & 2048) != 0; Edit = (Flags & 4096) != 0; Delete = (Flags & 8192) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - - - - - - - - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelForbidden.cs b/src/TeleSharp.TL/TL/TLChannelForbidden.cs index 3576fa29..47cf4f1a 100644 --- a/src/TeleSharp.TL/TL/TLChannelForbidden.cs +++ b/src/TeleSharp.TL/TL/TLChannelForbidden.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(681420594)] @@ -26,10 +28,9 @@ public override int Constructor public string Title { get; set; } public int? UntilDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,21 +46,17 @@ public override void DeserializeBody(BinaryReader br) else UntilDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(Id); bw.Write(AccessHash); StringUtil.Serialize(Title, bw); if ((Flags & 65536) != 0) bw.Write(UntilDate.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelFull.cs b/src/TeleSharp.TL/TL/TLChannelFull.cs index f4133f68..9ee2e2d6 100644 --- a/src/TeleSharp.TL/TL/TLChannelFull.cs +++ b/src/TeleSharp.TL/TL/TLChannelFull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(763976820)] @@ -52,10 +54,9 @@ public override int Constructor public int? SlowmodeNextSendDate { get; set; } public int Pts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -153,20 +154,12 @@ public override void DeserializeBody(BinaryReader br) SlowmodeNextSendDate = null; Pts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - bw.Write(Id); StringUtil.Serialize(About, bw); if ((Flags & 1) != 0) @@ -207,7 +200,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 262144) != 0) bw.Write(SlowmodeNextSendDate.Value); bw.Write(Pts); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelLocation.cs b/src/TeleSharp.TL/TL/TLChannelLocation.cs index 0fafbbec..9036199d 100644 --- a/src/TeleSharp.TL/TL/TLChannelLocation.cs +++ b/src/TeleSharp.TL/TL/TLChannelLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(547062491)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsGeoPoint GeoPoint { get; set; } public string Address { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { GeoPoint = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); Address = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(GeoPoint, bw); StringUtil.Serialize(Address, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs b/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs index 8db372ff..e365c695 100644 --- a/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs +++ b/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1078612597)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs b/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs index dce851da..b2ef5cad 100644 --- a/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs +++ b/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-847783593)] @@ -22,10 +24,9 @@ public override int Constructor public bool ExcludeNewMessages { get; set; } public TLVector Ranges { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,13 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); ExcludeNewMessages = (Flags & 2) != 0; Ranges = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Ranges, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs b/src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs index 597e651e..39c5ac95 100644 --- a/src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs +++ b/src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1798033689)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipant.cs b/src/TeleSharp.TL/TL/TLChannelParticipant.cs index 2e47d62d..53929676 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipant.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(367766557)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs b/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs index 6e5432e6..12c131a3 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-859915345)] @@ -28,10 +30,9 @@ public override int Constructor public TLChatAdminRights AdminRights { get; set; } public string Rank { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -53,15 +54,12 @@ public override void DeserializeBody(BinaryReader br) else Rank = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(UserId); if ((Flags & 2) != 0) bw.Write(InviterId.Value); @@ -70,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(AdminRights, bw); if ((Flags & 4) != 0) StringUtil.Serialize(Rank, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs b/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs index 1e92016a..b07d7131 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(470789295)] @@ -25,10 +27,9 @@ public override int Constructor public int Date { get; set; } public TLChatBannedRights BannedRights { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,19 +40,16 @@ public override void DeserializeBody(BinaryReader br) KickedBy = br.ReadInt32(); Date = br.ReadInt32(); BannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(UserId); bw.Write(KickedBy); bw.Write(Date); ObjectUtils.SerializeObject(BannedRights, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs b/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs index 8708ded7..56f4d69b 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2138237532)] @@ -22,10 +24,9 @@ public override int Constructor public int UserId { get; set; } public string Rank { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else Rank = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); if ((Flags & 1) != 0) StringUtil.Serialize(Rank, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs b/src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs index 538c99e4..63fa1214 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1557620115)] @@ -22,10 +24,9 @@ public override int Constructor public int InviterId { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); InviterId = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); bw.Write(InviterId); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs index b880c870..6bd180a7 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1268741783)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs index 7a98a9e3..e4570f9e 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(338142689)] @@ -20,23 +22,20 @@ public override int Constructor public string Q { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Q, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs index 48b3badc..a460ddce 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1328445861)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs index d968059f..2c4a90ee 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1150621555)] @@ -20,23 +22,20 @@ public override int Constructor public string Q { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Q, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs index b381aec6..906cdaee 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1548400251)] @@ -20,23 +22,20 @@ public override int Constructor public string Q { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Q, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs index ed6b15f9..0fb488bb 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-566281095)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs b/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs index 4184c47e..62f9402d 100644 --- a/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs +++ b/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(106343499)] @@ -20,23 +22,20 @@ public override int Constructor public string Q { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Q = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Q, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChat.cs b/src/TeleSharp.TL/TL/TLChat.cs index ca6ddfa9..0aba4876 100644 --- a/src/TeleSharp.TL/TL/TLChat.cs +++ b/src/TeleSharp.TL/TL/TLChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1004149726)] @@ -33,10 +35,9 @@ public override int Constructor public TLChatAdminRights AdminRights { get; set; } public TLChatBannedRights DefaultBannedRights { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -67,17 +68,12 @@ public override void DeserializeBody(BinaryReader br) else DefaultBannedRights = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - bw.Write(Id); StringUtil.Serialize(Title, bw); ObjectUtils.SerializeObject(Photo, bw); @@ -90,7 +86,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(AdminRights, bw); if ((Flags & 262144) != 0) ObjectUtils.SerializeObject(DefaultBannedRights, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatAdminRights.cs b/src/TeleSharp.TL/TL/TLChatAdminRights.cs index 0e9cd2f8..94b83286 100644 --- a/src/TeleSharp.TL/TL/TLChatAdminRights.cs +++ b/src/TeleSharp.TL/TL/TLChatAdminRights.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1605510357)] @@ -28,10 +30,9 @@ public override int Constructor public bool PinMessages { get; set; } public bool AddAdmins { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,22 +46,12 @@ public override void DeserializeBody(BinaryReader br) InviteUsers = (Flags & 32) != 0; PinMessages = (Flags & 128) != 0; AddAdmins = (Flags & 512) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - - } } } diff --git a/src/TeleSharp.TL/TL/TLChatBannedRights.cs b/src/TeleSharp.TL/TL/TLChatBannedRights.cs index 44d3d156..33635940 100644 --- a/src/TeleSharp.TL/TL/TLChatBannedRights.cs +++ b/src/TeleSharp.TL/TL/TLChatBannedRights.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1626209256)] @@ -33,10 +35,9 @@ public override int Constructor public bool PinMessages { get; set; } public int UntilDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -55,27 +56,13 @@ public override void DeserializeBody(BinaryReader br) InviteUsers = (Flags & 32768) != 0; PinMessages = (Flags & 131072) != 0; UntilDate = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - - - - - bw.Write(UntilDate); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatEmpty.cs b/src/TeleSharp.TL/TL/TLChatEmpty.cs index 03229a03..f12e15dd 100644 --- a/src/TeleSharp.TL/TL/TLChatEmpty.cs +++ b/src/TeleSharp.TL/TL/TLChatEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1683826688)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatForbidden.cs b/src/TeleSharp.TL/TL/TLChatForbidden.cs index de78bc9b..77341295 100644 --- a/src/TeleSharp.TL/TL/TLChatForbidden.cs +++ b/src/TeleSharp.TL/TL/TLChatForbidden.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(120753115)] @@ -21,17 +23,15 @@ public override int Constructor public int Id { get; set; } public string Title { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); StringUtil.Serialize(Title, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatFull.cs b/src/TeleSharp.TL/TL/TLChatFull.cs index 06da4c6e..902bef0a 100644 --- a/src/TeleSharp.TL/TL/TLChatFull.cs +++ b/src/TeleSharp.TL/TL/TLChatFull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(461151667)] @@ -31,10 +33,9 @@ public override int Constructor public int? PinnedMsgId { get; set; } public int? FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -67,15 +68,12 @@ public override void DeserializeBody(BinaryReader br) else FolderId = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(Id); StringUtil.Serialize(About, bw); ObjectUtils.SerializeObject(Participants, bw); @@ -89,7 +87,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(PinnedMsgId.Value); if ((Flags & 2048) != 0) bw.Write(FolderId.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatInvite.cs b/src/TeleSharp.TL/TL/TLChatInvite.cs index e473bf86..66d1fc81 100644 --- a/src/TeleSharp.TL/TL/TLChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-540871282)] @@ -28,10 +30,9 @@ public override int Constructor public int ParticipantsCount { get; set; } public TLVector Participants { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,23 +50,17 @@ public override void DeserializeBody(BinaryReader br) else Participants = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - StringUtil.Serialize(Title, bw); ObjectUtils.SerializeObject(Photo, bw); bw.Write(ParticipantsCount); if ((Flags & 16) != 0) ObjectUtils.SerializeObject(Participants, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatInviteAlready.cs b/src/TeleSharp.TL/TL/TLChatInviteAlready.cs index 5616d108..5b69d669 100644 --- a/src/TeleSharp.TL/TL/TLChatInviteAlready.cs +++ b/src/TeleSharp.TL/TL/TLChatInviteAlready.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1516793212)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsChat Chat { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chat = (TLAbsChat)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chat, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatInviteEmpty.cs b/src/TeleSharp.TL/TL/TLChatInviteEmpty.cs index 34b59f0a..a144fe6c 100644 --- a/src/TeleSharp.TL/TL/TLChatInviteEmpty.cs +++ b/src/TeleSharp.TL/TL/TLChatInviteEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1776236393)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLChatInviteExported.cs b/src/TeleSharp.TL/TL/TLChatInviteExported.cs index 051a3e76..03a2d36f 100644 --- a/src/TeleSharp.TL/TL/TLChatInviteExported.cs +++ b/src/TeleSharp.TL/TL/TLChatInviteExported.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-64092740)] @@ -20,23 +22,20 @@ public override int Constructor public string Link { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Link = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Link, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatOnlines.cs b/src/TeleSharp.TL/TL/TLChatOnlines.cs index 22357824..5cbb8684 100644 --- a/src/TeleSharp.TL/TL/TLChatOnlines.cs +++ b/src/TeleSharp.TL/TL/TLChatOnlines.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-264117680)] @@ -20,23 +22,20 @@ public override int Constructor public int Onlines { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Onlines = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Onlines); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatParticipant.cs b/src/TeleSharp.TL/TL/TLChatParticipant.cs index b8756283..c46cb868 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipant.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-925415106)] @@ -22,10 +24,9 @@ public override int Constructor public int InviterId { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); InviterId = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); bw.Write(InviterId); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs b/src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs index fa8799ec..11714566 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-489233354)] @@ -22,10 +24,9 @@ public override int Constructor public int InviterId { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); InviterId = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); bw.Write(InviterId); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatParticipantCreator.cs b/src/TeleSharp.TL/TL/TLChatParticipantCreator.cs index add23629..0f59d9de 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipantCreator.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipantCreator.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-636267638)] @@ -20,23 +22,20 @@ public override int Constructor public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatParticipants.cs b/src/TeleSharp.TL/TL/TLChatParticipants.cs index f59a6b55..b699ee1c 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1061556205)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Participants { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); Participants = (TLVector)ObjectUtils.DeserializeVector(br); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); ObjectUtils.SerializeObject(Participants, bw); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs b/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs index 97a5f1fd..222df56e 100644 --- a/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs +++ b/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-57668565)] @@ -22,10 +24,9 @@ public override int Constructor public int ChatId { get; set; } public TLAbsChatParticipant SelfParticipant { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else SelfParticipant = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(SelfParticipant, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatPhoto.cs b/src/TeleSharp.TL/TL/TLChatPhoto.cs index ad96f651..5b494821 100644 --- a/src/TeleSharp.TL/TL/TLChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLChatPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1197267925)] @@ -18,22 +20,20 @@ public override int Constructor } } - public TLFileLocationToBeDeprecated PhotoSmall { get; set; } - public TLFileLocationToBeDeprecated PhotoBig { get; set; } + public FileLocation PhotoSmall { get; set; } + public FileLocation PhotoBig { get; set; } public int DcId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); - PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + PhotoSmall = (FileLocation)ObjectUtils.DeserializeObject(br); + PhotoBig = (FileLocation)ObjectUtils.DeserializeObject(br); DcId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(PhotoSmall, bw); ObjectUtils.SerializeObject(PhotoBig, bw); bw.Write(DcId); - } } } diff --git a/src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs b/src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs index cea4e993..0ff41c9c 100644 --- a/src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs +++ b/src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(935395612)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLCodeSettings.cs b/src/TeleSharp.TL/TL/TLCodeSettings.cs index 0ee22ad2..12dbc278 100644 --- a/src/TeleSharp.TL/TL/TLCodeSettings.cs +++ b/src/TeleSharp.TL/TL/TLCodeSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-557924733)] @@ -23,10 +25,9 @@ public override int Constructor public bool CurrentNumber { get; set; } public bool AllowAppHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,17 +36,12 @@ public override void DeserializeBody(BinaryReader br) AllowFlashcall = (Flags & 1) != 0; CurrentNumber = (Flags & 2) != 0; AllowAppHash = (Flags & 16) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - } } } diff --git a/src/TeleSharp.TL/TL/TLConfig.cs b/src/TeleSharp.TL/TL/TLConfig.cs index afcda7db..e039f98c 100644 --- a/src/TeleSharp.TL/TL/TLConfig.cs +++ b/src/TeleSharp.TL/TL/TLConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(856375399)] @@ -71,10 +73,9 @@ public override int Constructor public int? LangPackVersion { get; set; } public int? BaseLangPackVersion { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -167,20 +168,12 @@ public override void DeserializeBody(BinaryReader br) else BaseLangPackVersion = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - bw.Write(Date); bw.Write(Expires); BoolUtil.Serialize(TestMode, bw); @@ -234,7 +227,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(LangPackVersion.Value); if ((Flags & 4) != 0) bw.Write(BaseLangPackVersion.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLContact.cs b/src/TeleSharp.TL/TL/TLContact.cs index 7d6c78b9..7581f7fd 100644 --- a/src/TeleSharp.TL/TL/TLContact.cs +++ b/src/TeleSharp.TL/TL/TLContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-116274796)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public bool Mutual { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Mutual = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); BoolUtil.Serialize(Mutual, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLContactBlocked.cs b/src/TeleSharp.TL/TL/TLContactBlocked.cs index 016472c0..e580ffda 100644 --- a/src/TeleSharp.TL/TL/TLContactBlocked.cs +++ b/src/TeleSharp.TL/TL/TLContactBlocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1444661369)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLContactStatus.cs b/src/TeleSharp.TL/TL/TLContactStatus.cs index 1b5cbf60..970bfbd5 100644 --- a/src/TeleSharp.TL/TL/TLContactStatus.cs +++ b/src/TeleSharp.TL/TL/TLContactStatus.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-748155807)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public TLAbsUserStatus Status { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Status = (TLAbsUserStatus)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); ObjectUtils.SerializeObject(Status, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDataJSON.cs b/src/TeleSharp.TL/TL/TLDataJSON.cs index 21ccf371..82b52b8d 100644 --- a/src/TeleSharp.TL/TL/TLDataJSON.cs +++ b/src/TeleSharp.TL/TL/TLDataJSON.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2104790276)] @@ -20,23 +22,20 @@ public override int Constructor public string Data { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Data = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Data, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDcOption.cs b/src/TeleSharp.TL/TL/TLDcOption.cs index 14408635..749e16db 100644 --- a/src/TeleSharp.TL/TL/TLDcOption.cs +++ b/src/TeleSharp.TL/TL/TLDcOption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(414687501)] @@ -29,10 +31,9 @@ public override int Constructor public int Port { get; set; } public byte[] Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,24 +52,17 @@ public override void DeserializeBody(BinaryReader br) else Secret = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - bw.Write(Id); StringUtil.Serialize(IpAddress, bw); bw.Write(Port); if ((Flags & 1024) != 0) BytesUtil.Serialize(Secret, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDialog.cs b/src/TeleSharp.TL/TL/TLDialog.cs index 7addae79..9f6ab1fb 100644 --- a/src/TeleSharp.TL/TL/TLDialog.cs +++ b/src/TeleSharp.TL/TL/TLDialog.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(739712882)] @@ -32,10 +34,9 @@ public override int Constructor public TLAbsDraftMessage Draft { get; set; } public int? FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -65,15 +66,12 @@ public override void DeserializeBody(BinaryReader br) else FolderId = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Peer, bw); bw.Write(TopMessage); bw.Write(ReadInboxMaxId); @@ -87,7 +85,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Draft, bw); if ((Flags & 16) != 0) bw.Write(FolderId.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLDialogFolder.cs b/src/TeleSharp.TL/TL/TLDialogFolder.cs index 093a60f3..538c451d 100644 --- a/src/TeleSharp.TL/TL/TLDialogFolder.cs +++ b/src/TeleSharp.TL/TL/TLDialogFolder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1908216652)] @@ -28,10 +30,9 @@ public override int Constructor public int UnreadMutedMessagesCount { get; set; } public int UnreadUnmutedMessagesCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,14 +46,12 @@ public override void DeserializeBody(BinaryReader br) UnreadUnmutedPeersCount = br.ReadInt32(); UnreadMutedMessagesCount = br.ReadInt32(); UnreadUnmutedMessagesCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Folder, bw); ObjectUtils.SerializeObject(Peer, bw); bw.Write(TopMessage); @@ -60,7 +59,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UnreadUnmutedPeersCount); bw.Write(UnreadMutedMessagesCount); bw.Write(UnreadUnmutedMessagesCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLDialogPeer.cs b/src/TeleSharp.TL/TL/TLDialogPeer.cs index 84d5ad87..14e9453e 100644 --- a/src/TeleSharp.TL/TL/TLDialogPeer.cs +++ b/src/TeleSharp.TL/TL/TLDialogPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-445792507)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs b/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs index 02d12996..ddb8a425 100644 --- a/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs +++ b/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1363483106)] @@ -20,23 +22,20 @@ public override int Constructor public int FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(FolderId); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocument.cs b/src/TeleSharp.TL/TL/TLDocument.cs index 8454c2b9..6bbdbb43 100644 --- a/src/TeleSharp.TL/TL/TLDocument.cs +++ b/src/TeleSharp.TL/TL/TLDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1683841855)] @@ -29,10 +31,9 @@ public override int Constructor public int DcId { get; set; } public TLVector Attributes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) DcId = br.ReadInt32(); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -68,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Thumbs, bw); bw.Write(DcId); ObjectUtils.SerializeObject(Attributes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs index e0900313..af4197f1 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(297109817)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs index a2d130d4..e49ec467 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1739392570)] @@ -25,10 +27,9 @@ public override int Constructor public string Performer { get; set; } public byte[] Waveform { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,14 +52,12 @@ public override void DeserializeBody(BinaryReader br) else Waveform = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Duration); if ((Flags & 1) != 0) StringUtil.Serialize(Title, bw); @@ -66,7 +65,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Performer, bw); if ((Flags & 4) != 0) BytesUtil.Serialize(Waveform, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs index b6713b69..6694cdd5 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(358154344)] @@ -20,23 +22,20 @@ public override int Constructor public string FileName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FileName = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(FileName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs index a31049fe..f594ea28 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1744710921)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs index ffe9ecf7..e15ca08d 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1815593308)] @@ -21,17 +23,15 @@ public override int Constructor public int W { get; set; } public int H { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { W = br.ReadInt32(); H = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(W); bw.Write(H); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs index c6a997bd..7c55e1ed 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1662637586)] @@ -24,10 +26,9 @@ public override int Constructor public TLAbsInputStickerSet Stickerset { get; set; } public TLMaskCoords MaskCoords { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,19 +42,16 @@ public override void DeserializeBody(BinaryReader br) else MaskCoords = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Alt, bw); ObjectUtils.SerializeObject(Stickerset, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(MaskCoords, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs b/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs index 2ccf4f6a..df7fcf4d 100644 --- a/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs +++ b/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(250621158)] @@ -25,10 +27,9 @@ public override int Constructor public int W { get; set; } public int H { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,19 +40,15 @@ public override void DeserializeBody(BinaryReader br) Duration = br.ReadInt32(); W = br.ReadInt32(); H = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(Duration); bw.Write(W); bw.Write(H); - } } } diff --git a/src/TeleSharp.TL/TL/TLDocumentEmpty.cs b/src/TeleSharp.TL/TL/TLDocumentEmpty.cs index 498114b6..7f9bdd40 100644 --- a/src/TeleSharp.TL/TL/TLDocumentEmpty.cs +++ b/src/TeleSharp.TL/TL/TLDocumentEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(922273905)] @@ -20,23 +22,20 @@ public override int Constructor public long Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLDraftMessage.cs b/src/TeleSharp.TL/TL/TLDraftMessage.cs index 2ba31151..eadb450a 100644 --- a/src/TeleSharp.TL/TL/TLDraftMessage.cs +++ b/src/TeleSharp.TL/TL/TLDraftMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-40996577)] @@ -25,10 +27,9 @@ public override int Constructor public TLVector Entities { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,21 +48,18 @@ public override void DeserializeBody(BinaryReader br) Entities = null; Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 1) != 0) bw.Write(ReplyToMsgId.Value); StringUtil.Serialize(Message, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Entities, bw); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs b/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs index c36b476f..3e7b1f26 100644 --- a/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs +++ b/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(453805082)] @@ -21,10 +23,9 @@ public override int Constructor public int Flags { get; set; } public int? Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) else Date = null; - } public override void SerializeBody(BinaryWriter bw) @@ -44,7 +44,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Flags); if ((Flags & 1) != 0) bw.Write(Date.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLEmojiKeyword.cs b/src/TeleSharp.TL/TL/TLEmojiKeyword.cs index 0e540e2d..197bbd5b 100644 --- a/src/TeleSharp.TL/TL/TLEmojiKeyword.cs +++ b/src/TeleSharp.TL/TL/TLEmojiKeyword.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-709641735)] @@ -21,17 +23,15 @@ public override int Constructor public string Keyword { get; set; } public TLVector Emoticons { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Keyword = StringUtil.Deserialize(br); Emoticons = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Keyword, bw); ObjectUtils.SerializeObject(Emoticons, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs b/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs index b38b27a5..00ebbddd 100644 --- a/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs +++ b/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(594408994)] @@ -21,17 +23,15 @@ public override int Constructor public string Keyword { get; set; } public TLVector Emoticons { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Keyword = StringUtil.Deserialize(br); Emoticons = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Keyword, bw); ObjectUtils.SerializeObject(Emoticons, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs b/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs index 2b11e13d..18bbef9a 100644 --- a/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs +++ b/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1556570557)] @@ -23,10 +25,9 @@ public override int Constructor public int Version { get; set; } public TLVector Keywords { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) FromVersion = br.ReadInt32(); Version = br.ReadInt32(); Keywords = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(FromVersion); bw.Write(Version); ObjectUtils.SerializeObject(Keywords, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEmojiLanguage.cs b/src/TeleSharp.TL/TL/TLEmojiLanguage.cs index 4c189418..b1d46e2c 100644 --- a/src/TeleSharp.TL/TL/TLEmojiLanguage.cs +++ b/src/TeleSharp.TL/TL/TLEmojiLanguage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1275374751)] @@ -20,23 +22,20 @@ public override int Constructor public string LangCode { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(LangCode, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEmojiURL.cs b/src/TeleSharp.TL/TL/TLEmojiURL.cs index bd4eb0cc..c5efbf50 100644 --- a/src/TeleSharp.TL/TL/TLEmojiURL.cs +++ b/src/TeleSharp.TL/TL/TLEmojiURL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1519029347)] @@ -20,23 +22,20 @@ public override int Constructor public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedChat.cs b/src/TeleSharp.TL/TL/TLEncryptedChat.cs index 7e6dd016..530fbbf3 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedChat.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-94974410)] @@ -26,10 +28,9 @@ public override int Constructor public byte[] GAOrB { get; set; } public long KeyFingerprint { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) ParticipantId = br.ReadInt32(); GAOrB = BytesUtil.Deserialize(br); KeyFingerprint = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -54,7 +54,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ParticipantId); BytesUtil.Serialize(GAOrB, bw); bw.Write(KeyFingerprint); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs b/src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs index 4c7fbf1c..6d5fbb99 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(332848423)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs b/src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs index 56d2c4b7..48f89fa2 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1417756512)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs b/src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs index 2fcd99fb..3ca92b48 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-931638658)] @@ -25,10 +27,9 @@ public override int Constructor public int ParticipantId { get; set; } public byte[] GA { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) AdminId = br.ReadInt32(); ParticipantId = br.ReadInt32(); GA = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(AdminId); bw.Write(ParticipantId); BytesUtil.Serialize(GA, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs b/src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs index 779fade4..0332230d 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1006044124)] @@ -24,10 +26,9 @@ public override int Constructor public int AdminId { get; set; } public int ParticipantId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); AdminId = br.ReadInt32(); ParticipantId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); bw.Write(AdminId); bw.Write(ParticipantId); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedFile.cs b/src/TeleSharp.TL/TL/TLEncryptedFile.cs index 0ff06492..536b282b 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1248893260)] @@ -24,10 +26,9 @@ public override int Constructor public int DcId { get; set; } public int KeyFingerprint { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Size = br.ReadInt32(); DcId = br.ReadInt32(); KeyFingerprint = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Size); bw.Write(DcId); bw.Write(KeyFingerprint); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs b/src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs index d1735f23..9358c8ef 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1038136962)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedMessage.cs b/src/TeleSharp.TL/TL/TLEncryptedMessage.cs index 49604e48..6898761d 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedMessage.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-317144808)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] Bytes { get; set; } public TLAbsEncryptedFile File { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); File = (TLAbsEncryptedFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); BytesUtil.Serialize(Bytes, bw); ObjectUtils.SerializeObject(File, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLEncryptedMessageService.cs b/src/TeleSharp.TL/TL/TLEncryptedMessageService.cs index 02d06707..b040dafe 100644 --- a/src/TeleSharp.TL/TL/TLEncryptedMessageService.cs +++ b/src/TeleSharp.TL/TL/TLEncryptedMessageService.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(594758406)] @@ -23,10 +25,9 @@ public override int Constructor public int Date { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); Date = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); bw.Write(Date); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLError.cs b/src/TeleSharp.TL/TL/TLError.cs index 4443f810..f3c11518 100644 --- a/src/TeleSharp.TL/TL/TLError.cs +++ b/src/TeleSharp.TL/TL/TLError.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-994444869)] @@ -21,17 +23,15 @@ public override int Constructor public int Code { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Code = br.ReadInt32(); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Code); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLExportedMessageLink.cs b/src/TeleSharp.TL/TL/TLExportedMessageLink.cs index c3b18f89..2b255d5b 100644 --- a/src/TeleSharp.TL/TL/TLExportedMessageLink.cs +++ b/src/TeleSharp.TL/TL/TLExportedMessageLink.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1571494644)] @@ -21,17 +23,15 @@ public override int Constructor public string Link { get; set; } public string Html { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Link = StringUtil.Deserialize(br); Html = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Link, bw); StringUtil.Serialize(Html, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLFileHash.cs b/src/TeleSharp.TL/TL/TLFileHash.cs index 493a76dd..83b42dba 100644 --- a/src/TeleSharp.TL/TL/TLFileHash.cs +++ b/src/TeleSharp.TL/TL/TLFileHash.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1648543603)] @@ -22,10 +24,9 @@ public override int Constructor public int Limit { get; set; } public byte[] Hash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Limit = br.ReadInt32(); Hash = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Limit); BytesUtil.Serialize(Hash, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs b/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs index 875bcfc2..821ddf89 100644 --- a/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs +++ b/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1132476723)] @@ -21,17 +23,15 @@ public override int Constructor public long VolumeId { get; set; } public int LocalId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(VolumeId); bw.Write(LocalId); - } } } diff --git a/src/TeleSharp.TL/TL/TLFolder.cs b/src/TeleSharp.TL/TL/TLFolder.cs index 64ece14f..fd1c665c 100644 --- a/src/TeleSharp.TL/TL/TLFolder.cs +++ b/src/TeleSharp.TL/TL/TLFolder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-11252123)] @@ -26,10 +28,9 @@ public override int Constructor public string Title { get; set; } public TLAbsChatPhoto Photo { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,21 +46,16 @@ public override void DeserializeBody(BinaryReader br) else Photo = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - bw.Write(Id); StringUtil.Serialize(Title, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Photo, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLFolderPeer.cs b/src/TeleSharp.TL/TL/TLFolderPeer.cs index a7346556..3106a3ae 100644 --- a/src/TeleSharp.TL/TL/TLFolderPeer.cs +++ b/src/TeleSharp.TL/TL/TLFolderPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-373643672)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public int FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(FolderId); - } } } diff --git a/src/TeleSharp.TL/TL/TLFoundGif.cs b/src/TeleSharp.TL/TL/TLFoundGif.cs index d7855788..31e3aa4b 100644 --- a/src/TeleSharp.TL/TL/TLFoundGif.cs +++ b/src/TeleSharp.TL/TL/TLFoundGif.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(372165663)] @@ -25,10 +27,9 @@ public override int Constructor public int W { get; set; } public int H { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) ContentType = StringUtil.Deserialize(br); W = br.ReadInt32(); H = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(ContentType, bw); bw.Write(W); bw.Write(H); - } } } diff --git a/src/TeleSharp.TL/TL/TLFoundGifCached.cs b/src/TeleSharp.TL/TL/TLFoundGifCached.cs index d7d14dd5..36b51a18 100644 --- a/src/TeleSharp.TL/TL/TLFoundGifCached.cs +++ b/src/TeleSharp.TL/TL/TLFoundGifCached.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1670052855)] @@ -22,10 +24,9 @@ public override int Constructor public TLAbsPhoto Photo { get; set; } public TLAbsDocument Document { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Url = StringUtil.Deserialize(br); Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Url, bw); ObjectUtils.SerializeObject(Photo, bw); ObjectUtils.SerializeObject(Document, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLGame.cs b/src/TeleSharp.TL/TL/TLGame.cs index 7244206c..9699d300 100644 --- a/src/TeleSharp.TL/TL/TLGame.cs +++ b/src/TeleSharp.TL/TL/TLGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1107729093)] @@ -27,10 +29,9 @@ public override int Constructor public TLAbsPhoto Photo { get; set; } public TLAbsDocument Document { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) else Document = null; - } public override void SerializeBody(BinaryWriter bw) @@ -62,7 +62,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Photo, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Document, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLGeoPoint.cs b/src/TeleSharp.TL/TL/TLGeoPoint.cs index 23a050b7..d71e1ee7 100644 --- a/src/TeleSharp.TL/TL/TLGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLGeoPoint.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(43446532)] @@ -22,10 +24,9 @@ public override int Constructor public double Lat { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Long = br.ReadDouble(); Lat = br.ReadDouble(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Long); bw.Write(Lat); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLGeoPointEmpty.cs b/src/TeleSharp.TL/TL/TLGeoPointEmpty.cs index 9caaffc4..0c186f2a 100644 --- a/src/TeleSharp.TL/TL/TLGeoPointEmpty.cs +++ b/src/TeleSharp.TL/TL/TLGeoPointEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(286776671)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLHighScore.cs b/src/TeleSharp.TL/TL/TLHighScore.cs index a04d510a..23fce160 100644 --- a/src/TeleSharp.TL/TL/TLHighScore.cs +++ b/src/TeleSharp.TL/TL/TLHighScore.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1493171408)] @@ -22,10 +24,9 @@ public override int Constructor public int UserId { get; set; } public int Score { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Pos = br.ReadInt32(); UserId = br.ReadInt32(); Score = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Pos); bw.Write(UserId); bw.Write(Score); - } } } diff --git a/src/TeleSharp.TL/TL/TLImportedContact.cs b/src/TeleSharp.TL/TL/TLImportedContact.cs index 98e6f2b0..c84e0cdb 100644 --- a/src/TeleSharp.TL/TL/TLImportedContact.cs +++ b/src/TeleSharp.TL/TL/TLImportedContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-805141448)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public long ClientId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); ClientId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(ClientId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs b/src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs index 33438d45..1d996c63 100644 --- a/src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs +++ b/src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1008755359)] @@ -21,17 +23,15 @@ public override int Constructor public string Text { get; set; } public string StartParam { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); StartParam = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Text, bw); StringUtil.Serialize(StartParam, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputAppEvent.cs b/src/TeleSharp.TL/TL/TLInputAppEvent.cs index bea6b641..0b53ed8f 100644 --- a/src/TeleSharp.TL/TL/TLInputAppEvent.cs +++ b/src/TeleSharp.TL/TL/TLInputAppEvent.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(488313413)] @@ -23,10 +25,9 @@ public override int Constructor public long Peer { get; set; } public TLAbsJSONValue Data { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Type = StringUtil.Deserialize(br); Peer = br.ReadInt64(); Data = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Type, bw); bw.Write(Peer); ObjectUtils.SerializeObject(Data, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs index aa677c35..a151df20 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1262639204)] @@ -21,10 +23,9 @@ public override int Constructor public int Flags { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -44,7 +44,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Flags); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs index 0f366316..67eb300e 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1995686519)] @@ -22,10 +24,9 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) DcId = br.ReadInt32(); Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(DcId); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs index 93e6024a..94fc517d 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(864077702)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -55,7 +55,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs index a608155a..db57eceb 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1494368259)] @@ -25,10 +27,9 @@ public override int Constructor public string Vcard { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -56,7 +56,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Vcard, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs index 8a099e1d..9c0c7a2a 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1045340827)] @@ -23,10 +25,9 @@ public override int Constructor public int Period { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -50,7 +50,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Period); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs index dd87484c..2b54153b 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1098628881)] @@ -27,10 +29,9 @@ public override int Constructor public string VenueType { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) @@ -62,7 +62,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(VenueType, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs b/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs index 4c8f09f7..7c98534c 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1036876423)] @@ -24,10 +26,9 @@ public override int Constructor public TLVector Entities { get; set; } public TLAbsReplyMarkup ReplyMarkup { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,20 +46,17 @@ public override void DeserializeBody(BinaryReader br) else ReplyMarkup = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Message, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Entities, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(ReplyMarkup, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs index 3ff58d6f..ac254bfa 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2000710887)] @@ -28,10 +30,9 @@ public override int Constructor public TLInputWebDocument Content { get; set; } public TLAbsInputBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -65,7 +66,6 @@ public override void DeserializeBody(BinaryReader br) Content = null; SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -85,7 +85,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 32) != 0) ObjectUtils.SerializeObject(Content, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs index d34c525f..5692940e 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-459324)] @@ -26,10 +28,9 @@ public override int Constructor public TLAbsInputDocument Document { get; set; } public TLAbsInputBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) Document = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -64,7 +64,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Description, bw); ObjectUtils.SerializeObject(Document, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs index a9cc37c0..ec4d93ba 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1336154098)] @@ -22,10 +24,9 @@ public override int Constructor public string ShortName { get; set; } public TLAbsInputBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = StringUtil.Deserialize(br); ShortName = StringUtil.Deserialize(br); SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Id, bw); StringUtil.Serialize(ShortName, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs b/src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs index ab9a237d..e1427b4d 100644 --- a/src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1462213465)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputPhoto Photo { get; set; } public TLAbsInputBotInlineMessage SendMessage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Type = StringUtil.Deserialize(br); Photo = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br); SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Type, bw); ObjectUtils.SerializeObject(Photo, bw); ObjectUtils.SerializeObject(SendMessage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputChannel.cs b/src/TeleSharp.TL/TL/TLInputChannel.cs index b2424cc7..72b2e4a3 100644 --- a/src/TeleSharp.TL/TL/TLInputChannel.cs +++ b/src/TeleSharp.TL/TL/TLInputChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1343524562)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputChannelEmpty.cs b/src/TeleSharp.TL/TL/TLInputChannelEmpty.cs index 886a76ab..d76b0dc1 100644 --- a/src/TeleSharp.TL/TL/TLInputChannelEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputChannelEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-292807034)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs b/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs index e9283105..2507c427 100644 --- a/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs +++ b/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(707290417)] @@ -22,10 +24,9 @@ public override int Constructor public int MsgId { get; set; } public int ChannelId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); ChannelId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(ChannelId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputChatPhoto.cs b/src/TeleSharp.TL/TL/TLInputChatPhoto.cs index 4a5454d3..13682bfd 100644 --- a/src/TeleSharp.TL/TL/TLInputChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputChatPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1991004873)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputPhoto Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs b/src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs index 38ef2070..2c9354be 100644 --- a/src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(480546647)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs b/src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs index 7bdf0999..d5b8be30 100644 --- a/src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1837345356)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputFile File { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { File = (TLAbsInputFile)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(File, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs b/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs index deda1462..49d86ce4 100644 --- a/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1736378792)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs b/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs index 044185d1..51512f2a 100644 --- a/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs +++ b/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-763367294)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] A { get; set; } public byte[] M1 { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) SrpId = br.ReadInt64(); A = BytesUtil.Deserialize(br); M1 = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(SrpId); BytesUtil.Serialize(A, bw); BytesUtil.Serialize(M1, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputClientProxy.cs b/src/TeleSharp.TL/TL/TLInputClientProxy.cs index 76999eb3..f1008b24 100644 --- a/src/TeleSharp.TL/TL/TLInputClientProxy.cs +++ b/src/TeleSharp.TL/TL/TLInputClientProxy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1968737087)] @@ -21,17 +23,15 @@ public override int Constructor public string Address { get; set; } public int Port { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Address = StringUtil.Deserialize(br); Port = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Address, bw); bw.Write(Port); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeer.cs b/src/TeleSharp.TL/TL/TLInputDialogPeer.cs index a53634ed..5fc91633 100644 --- a/src/TeleSharp.TL/TL/TLInputDialogPeer.cs +++ b/src/TeleSharp.TL/TL/TLInputDialogPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-55902537)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs b/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs index 700cc392..d366ad41 100644 --- a/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs +++ b/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1684014375)] @@ -20,23 +22,20 @@ public override int Constructor public int FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(FolderId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputDocument.cs b/src/TeleSharp.TL/TL/TLInputDocument.cs index cfc51eb9..99806675 100644 --- a/src/TeleSharp.TL/TL/TLInputDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(448771445)] @@ -22,10 +24,9 @@ public override int Constructor public long AccessHash { get; set; } public byte[] FileReference { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt64(); AccessHash = br.ReadInt64(); FileReference = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Id); bw.Write(AccessHash); BytesUtil.Serialize(FileReference, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs b/src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs index b5fa786e..335e85fc 100644 --- a/src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1928391342)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs b/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs index 8f3d822d..271a3f24 100644 --- a/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1160743548)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] FileReference { get; set; } public string ThumbSize { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) AccessHash = br.ReadInt64(); FileReference = BytesUtil.Deserialize(br); ThumbSize = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(AccessHash); BytesUtil.Serialize(FileReference, bw); StringUtil.Serialize(ThumbSize, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedChat.cs b/src/TeleSharp.TL/TL/TLInputEncryptedChat.cs index 9202b17b..2fa4c3ce 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedChat.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-247351839)] @@ -21,17 +23,15 @@ public override int Constructor public int ChatId { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChatId); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFile.cs b/src/TeleSharp.TL/TL/TLInputEncryptedFile.cs index d00291f9..7919b087 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedFile.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1511503333)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs b/src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs index 8f032fa7..76883a12 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(767652808)] @@ -22,10 +24,9 @@ public override int Constructor public int Parts { get; set; } public int KeyFingerprint { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt64(); Parts = br.ReadInt32(); KeyFingerprint = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Id); bw.Write(Parts); bw.Write(KeyFingerprint); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs b/src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs index 0768ad00..c62cfde5 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(406307684)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs b/src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs index 11e5e3ee..f5aef5c4 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-182231723)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs b/src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs index 0a328ae2..e16520d4 100644 --- a/src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs +++ b/src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1690108678)] @@ -23,10 +25,9 @@ public override int Constructor public string Md5Checksum { get; set; } public int KeyFingerprint { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Parts = br.ReadInt32(); Md5Checksum = StringUtil.Deserialize(br); KeyFingerprint = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Parts); StringUtil.Serialize(Md5Checksum, bw); bw.Write(KeyFingerprint); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputFile.cs b/src/TeleSharp.TL/TL/TLInputFile.cs index 32ae7a38..149b3fb2 100644 --- a/src/TeleSharp.TL/TL/TLInputFile.cs +++ b/src/TeleSharp.TL/TL/TLInputFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-181407105)] @@ -23,10 +25,9 @@ public override int Constructor public string Name { get; set; } public string Md5Checksum { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Parts = br.ReadInt32(); Name = StringUtil.Deserialize(br); Md5Checksum = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Parts); StringUtil.Serialize(Name, bw); StringUtil.Serialize(Md5Checksum, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputFileBig.cs b/src/TeleSharp.TL/TL/TLInputFileBig.cs index d46c8caa..7201ed0a 100644 --- a/src/TeleSharp.TL/TL/TLInputFileBig.cs +++ b/src/TeleSharp.TL/TL/TLInputFileBig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-95482955)] @@ -22,10 +24,9 @@ public override int Constructor public int Parts { get; set; } public string Name { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt64(); Parts = br.ReadInt32(); Name = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Id); bw.Write(Parts); StringUtil.Serialize(Name, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputFileLocation.cs b/src/TeleSharp.TL/TL/TLInputFileLocation.cs index f70c46cf..bc5da793 100644 --- a/src/TeleSharp.TL/TL/TLInputFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-539317279)] @@ -23,10 +25,9 @@ public override int Constructor public long Secret { get; set; } public byte[] FileReference { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) LocalId = br.ReadInt32(); Secret = br.ReadInt64(); FileReference = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(LocalId); bw.Write(Secret); BytesUtil.Serialize(FileReference, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputFolderPeer.cs b/src/TeleSharp.TL/TL/TLInputFolderPeer.cs index 0a4d4144..8b6f0e7c 100644 --- a/src/TeleSharp.TL/TL/TLInputFolderPeer.cs +++ b/src/TeleSharp.TL/TL/TLInputFolderPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-70073706)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } public int FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); FolderId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(FolderId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputGameID.cs b/src/TeleSharp.TL/TL/TLInputGameID.cs index f580671c..e56dc121 100644 --- a/src/TeleSharp.TL/TL/TLInputGameID.cs +++ b/src/TeleSharp.TL/TL/TLInputGameID.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(53231223)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputGameShortName.cs b/src/TeleSharp.TL/TL/TLInputGameShortName.cs index 7d3a3d06..4cd81a08 100644 --- a/src/TeleSharp.TL/TL/TLInputGameShortName.cs +++ b/src/TeleSharp.TL/TL/TLInputGameShortName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1020139510)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsInputUser BotId { get; set; } public string ShortName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { BotId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); ShortName = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(BotId, bw); StringUtil.Serialize(ShortName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputGeoPoint.cs b/src/TeleSharp.TL/TL/TLInputGeoPoint.cs index b5948339..94ec5183 100644 --- a/src/TeleSharp.TL/TL/TLInputGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLInputGeoPoint.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-206066487)] @@ -21,17 +23,15 @@ public override int Constructor public double Lat { get; set; } public double Long { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Lat = br.ReadDouble(); Long = br.ReadDouble(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Lat); bw.Write(Long); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs b/src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs index 765e72ae..536bd9c0 100644 --- a/src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-457104426)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs b/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs index 206d73d3..b88cdd29 100644 --- a/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs +++ b/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-802258988)] @@ -25,10 +27,9 @@ public override int Constructor public string Url { get; set; } public TLAbsInputUser Bot { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,20 +44,17 @@ public override void DeserializeBody(BinaryReader br) Url = StringUtil.Deserialize(br); Bot = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Text, bw); if ((Flags & 2) != 0) StringUtil.Serialize(FwdText, bw); StringUtil.Serialize(Url, bw); ObjectUtils.SerializeObject(Bot, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaContact.cs b/src/TeleSharp.TL/TL/TLInputMediaContact.cs index feb1be30..f40d40bc 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-122978821)] @@ -23,10 +25,9 @@ public override int Constructor public string LastName { get; set; } public string Vcard { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); Vcard = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); StringUtil.Serialize(Vcard, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocument.cs b/src/TeleSharp.TL/TL/TLInputMediaDocument.cs index 3d765c52..56f367f4 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(598418386)] @@ -22,10 +24,9 @@ public override int Constructor public TLAbsInputDocument Id { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Id, bw); if ((Flags & 1) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs b/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs index 2b237e89..b5be8d43 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-78455655)] @@ -22,10 +24,9 @@ public override int Constructor public string Url { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Url, bw); if ((Flags & 1) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaEmpty.cs b/src/TeleSharp.TL/TL/TLInputMediaEmpty.cs index eb9e65f8..719c19b9 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1771768449)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaGame.cs b/src/TeleSharp.TL/TL/TLInputMediaGame.cs index 11bc17eb..dbf26a56 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaGame.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-750828557)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputGame Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputGame)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs b/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs index 5bbe1eb7..9631c6be 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-833715459)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsInputGeoPoint GeoPoint { get; set; } public int? Period { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,18 +40,15 @@ public override void DeserializeBody(BinaryReader br) else Period = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(GeoPoint, bw); if ((Flags & 2) != 0) bw.Write(Period.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs b/src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs index 84bc6037..f3d0d6ae 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-104578748)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputGeoPoint GeoPoint { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(GeoPoint, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs b/src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs index 19281490..92fee658 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1212395773)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public string Q { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); Q = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); StringUtil.Serialize(Q, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs b/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs index 73df2a7f..937886a4 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-186607933)] @@ -28,10 +30,9 @@ public override int Constructor public TLDataJSON ProviderData { get; set; } public string StartParam { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) Provider = StringUtil.Deserialize(br); ProviderData = (TLDataJSON)ObjectUtils.DeserializeObject(br); StartParam = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -65,7 +65,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Provider, bw); ObjectUtils.SerializeObject(ProviderData, bw); StringUtil.Serialize(StartParam, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs b/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs index 1a93c30e..3e609109 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1279654347)] @@ -22,10 +24,9 @@ public override int Constructor public TLAbsInputPhoto Id { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Id, bw); if ((Flags & 1) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs b/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs index d221f1d7..94a0eb83 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-440664550)] @@ -22,10 +24,9 @@ public override int Constructor public string Url { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Url, bw); if ((Flags & 1) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaPoll.cs b/src/TeleSharp.TL/TL/TLInputMediaPoll.cs index 65271def..5df922d0 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaPoll.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaPoll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(112424539)] @@ -20,23 +22,20 @@ public override int Constructor public TLPoll Poll { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Poll = (TLPoll)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Poll, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs b/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs index c8e19475..f9d7ac4c 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1530447553)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector Stickers { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -55,14 +56,12 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(File, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(Thumb, bw); @@ -72,7 +71,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Stickers, bw); if ((Flags & 2) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs b/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs index 53b5bbe5..904f64b3 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(505969924)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Stickers { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -55,7 +55,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Stickers, bw); if ((Flags & 2) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMediaVenue.cs b/src/TeleSharp.TL/TL/TLInputMediaVenue.cs index 0416acc3..1174e96e 100644 --- a/src/TeleSharp.TL/TL/TLInputMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLInputMediaVenue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1052959727)] @@ -25,10 +27,9 @@ public override int Constructor public string VenueId { get; set; } public string VenueType { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); VenueType = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); StringUtil.Serialize(VenueType, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs b/src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs index ceee225b..36133855 100644 --- a/src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs +++ b/src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(546203849)] @@ -22,10 +24,9 @@ public override int Constructor public int Length { get; set; } public TLAbsInputUser UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Length = br.ReadInt32(); UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Length); ObjectUtils.SerializeObject(UserId, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessageID.cs b/src/TeleSharp.TL/TL/TLInputMessageID.cs index 139c4b52..30574d2d 100644 --- a/src/TeleSharp.TL/TL/TLInputMessageID.cs +++ b/src/TeleSharp.TL/TL/TLInputMessageID.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1502174430)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagePinned.cs b/src/TeleSharp.TL/TL/TLInputMessagePinned.cs index e2a186eb..27a54fd7 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagePinned.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagePinned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2037963464)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs b/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs index e430da01..edc8f2d0 100644 --- a/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs +++ b/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1160215659)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs index e0e50b47..df1bb673 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(975236280)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs index 1227480b..e4b4eec6 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-530392189)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs index a94c03e6..e3f3b08c 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1629621880)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs index 38ab571c..65f81235 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1474492012)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs index e3da94a3..4e9f36bd 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-419271411)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs index 859a9731..64419e93 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-3644025)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs index 28a86fe2..d7b4f4d3 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(928101534)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs index cf665c12..7fd305a3 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1040652646)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs index a2d965cc..2ce97f75 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2134272152)] @@ -21,25 +23,21 @@ public override int Constructor public int Flags { get; set; } public bool Missed { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Missed = (Flags & 1) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs index 4cc17e50..0dcf7b40 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1458172132)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs index ae49c77e..3914ab55 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1777752804)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs index d7fc258e..e4b835ee 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1253451181)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs index 8d6bf1d6..73811a6f 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2054952868)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs index 6fb42b5d..03c274ec 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2129714567)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs index 8f714a60..09d5482f 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1614803355)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs b/src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs index 8f55014e..a5a9303a 100644 --- a/src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs +++ b/src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1358283666)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs b/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs index 06c5f957..08b8d58a 100644 --- a/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs +++ b/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1311015810)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputNotifyChats.cs b/src/TeleSharp.TL/TL/TLInputNotifyChats.cs index f997223a..23df02a8 100644 --- a/src/TeleSharp.TL/TL/TLInputNotifyChats.cs +++ b/src/TeleSharp.TL/TL/TLInputNotifyChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1251338318)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputNotifyPeer.cs b/src/TeleSharp.TL/TL/TLInputNotifyPeer.cs index ab761bc5..7d0668b9 100644 --- a/src/TeleSharp.TL/TL/TLInputNotifyPeer.cs +++ b/src/TeleSharp.TL/TL/TLInputNotifyPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1195615476)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputNotifyUsers.cs b/src/TeleSharp.TL/TL/TLInputNotifyUsers.cs index e896b47f..5a152b17 100644 --- a/src/TeleSharp.TL/TL/TLInputNotifyUsers.cs +++ b/src/TeleSharp.TL/TL/TLInputNotifyUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(423314455)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs index 48c4ce41..37db7e29 100644 --- a/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(873977640)] @@ -22,10 +24,9 @@ public override int Constructor public bool Save { get; set; } public TLDataJSON Data { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,13 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Save = (Flags & 1) != 0; Data = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Data, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs index 4c352881..67a58192 100644 --- a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-905587442)] @@ -21,17 +23,15 @@ public override int Constructor public TLDataJSON PaymentToken { get; set; } public string GoogleTransactionId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PaymentToken = (TLDataJSON)ObjectUtils.DeserializeObject(br); GoogleTransactionId = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(PaymentToken, bw); StringUtil.Serialize(GoogleTransactionId, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs index f3372b90..632b2b9f 100644 --- a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(178373535)] @@ -20,23 +22,20 @@ public override int Constructor public TLDataJSON PaymentData { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PaymentData = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PaymentData, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs index 75484637..4b0b3ddd 100644 --- a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs +++ b/src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1056001329)] @@ -21,17 +23,15 @@ public override int Constructor public string Id { get; set; } public byte[] TmpPassword { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = StringUtil.Deserialize(br); TmpPassword = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Id, bw); BytesUtil.Serialize(TmpPassword, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerChannel.cs b/src/TeleSharp.TL/TL/TLInputPeerChannel.cs index 9f6b41e3..8cb74141 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerChannel.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(548253432)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs b/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs index 2ac2367a..8d829914 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1667893317)] @@ -22,10 +24,9 @@ public override int Constructor public int MsgId { get; set; } public int ChannelId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); ChannelId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(ChannelId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerChat.cs b/src/TeleSharp.TL/TL/TLInputPeerChat.cs index bf48b3a7..4bbb2c34 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerChat.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(396093539)] @@ -20,23 +22,20 @@ public override int Constructor public int ChatId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerEmpty.cs b/src/TeleSharp.TL/TL/TLInputPeerEmpty.cs index b30e5cbb..ad6f8890 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2134579434)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs b/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs index 87c34fb5..eba329a1 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1673717362)] @@ -24,10 +26,9 @@ public override int Constructor public int? MuteUntil { get; set; } public string Sound { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -53,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) else Sound = null; - } public override void SerializeBody(BinaryWriter bw) @@ -68,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MuteUntil.Value); if ((Flags & 8) != 0) StringUtil.Serialize(Sound, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs index 0be623ad..ef53f85d 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(668375447)] @@ -24,10 +26,9 @@ public override int Constructor public long VolumeId { get; set; } public int LocalId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,15 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); bw.Write(VolumeId); bw.Write(LocalId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerSelf.cs b/src/TeleSharp.TL/TL/TLInputPeerSelf.cs index ae1de40b..91088aac 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerSelf.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerSelf.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2107670217)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerUser.cs b/src/TeleSharp.TL/TL/TLInputPeerUser.cs index 57e4ad11..e46a37cc 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerUser.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2072935910)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs b/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs index 963ef0ec..b5be22ce 100644 --- a/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs +++ b/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(398123750)] @@ -22,10 +24,9 @@ public override int Constructor public int MsgId { get; set; } public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhoneCall.cs b/src/TeleSharp.TL/TL/TLInputPhoneCall.cs index 8d762207..81a9f354 100644 --- a/src/TeleSharp.TL/TL/TLInputPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLInputPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(506920429)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhoneContact.cs b/src/TeleSharp.TL/TL/TLInputPhoneContact.cs index 1a53b78b..05c3811d 100644 --- a/src/TeleSharp.TL/TL/TLInputPhoneContact.cs +++ b/src/TeleSharp.TL/TL/TLInputPhoneContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-208488460)] @@ -23,10 +25,9 @@ public override int Constructor public string FirstName { get; set; } public string LastName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Phone = StringUtil.Deserialize(br); FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Phone, bw); StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhoto.cs b/src/TeleSharp.TL/TL/TLInputPhoto.cs index 883ae68c..f8d9b62d 100644 --- a/src/TeleSharp.TL/TL/TLInputPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1001634122)] @@ -22,10 +24,9 @@ public override int Constructor public long AccessHash { get; set; } public byte[] FileReference { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = br.ReadInt64(); AccessHash = br.ReadInt64(); FileReference = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Id); bw.Write(AccessHash); BytesUtil.Serialize(FileReference, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs b/src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs index e86298b5..17032b4a 100644 --- a/src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(483901197)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs index d5070e0d..2b685780 100644 --- a/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1075322878)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] FileReference { get; set; } public string ThumbSize { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) AccessHash = br.ReadInt64(); FileReference = BytesUtil.Deserialize(br); ThumbSize = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(AccessHash); BytesUtil.Serialize(FileReference, bw); StringUtil.Serialize(ThumbSize, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs b/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs index 3f5bfd66..c98ee7fd 100644 --- a/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-667654413)] @@ -25,10 +27,9 @@ public override int Constructor public int LocalId { get; set; } public long Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); Secret = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(VolumeId); bw.Write(LocalId); bw.Write(Secret); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs index c6bda09c..1a32111d 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-786326563)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs index 6ad69193..d49d2208 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1107622874)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs index 467b14ec..38715af3 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1529000952)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs index 772863b7..084e4ae4 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-88417185)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs index 8dbae0d6..623f9fcc 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(55761658)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs index f26e5d8c..0bc53a57 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-610373422)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs index 1a9b1030..30ac7c9f 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1461304012)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs b/src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs index 20d0ea59..8d8999c1 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1335282456)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs index ff6ab62b..494bf8ac 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(407582158)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs index ac20cdc1..d8c4de9f 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1283572154)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs index 2ebb4e93..33268104 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(218751099)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs index db6cc4f3..9983b5fb 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(320652927)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs index 775265dd..21d0335c 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-697604407)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs index 20f2a366..ce5600fe 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-668769361)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs index 2813936b..0a1bb384 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(195371015)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs index d61130da..40217d5e 100644 --- a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs +++ b/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1877932953)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs b/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs index c1ede1f9..65940f87 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1376497949)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs b/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs index cbd269dd..19cc064e 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1685456582)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs b/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs index a00c0d41..76068808 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-606798099)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonOther.cs b/src/TeleSharp.TL/TL/TLInputReportReasonOther.cs index 95372b34..7bd055dc 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonOther.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonOther.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-512463606)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs b/src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs index 7c3f36ee..80498cbb 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(777640226)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs b/src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs index a313a307..621affed 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1490799288)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs b/src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs index b1e1008b..b9472482 100644 --- a/src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs +++ b/src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(505595789)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputSecureFile.cs b/src/TeleSharp.TL/TL/TLInputSecureFile.cs index 6aaa49d3..18f4a919 100644 --- a/src/TeleSharp.TL/TL/TLInputSecureFile.cs +++ b/src/TeleSharp.TL/TL/TLInputSecureFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1399317950)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs b/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs index 21ff70a1..f0e482c3 100644 --- a/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-876089816)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs b/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs index 27b5b200..f61fdc7c 100644 --- a/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs +++ b/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(859091184)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] FileHash { get; set; } public byte[] Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Md5Checksum = StringUtil.Deserialize(br); FileHash = BytesUtil.Deserialize(br); Secret = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Md5Checksum, bw); BytesUtil.Serialize(FileHash, bw); BytesUtil.Serialize(Secret, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputSecureValue.cs b/src/TeleSharp.TL/TL/TLInputSecureValue.cs index 376be96b..32c86e02 100644 --- a/src/TeleSharp.TL/TL/TLInputSecureValue.cs +++ b/src/TeleSharp.TL/TL/TLInputSecureValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-618540889)] @@ -28,10 +30,9 @@ public override int Constructor public TLVector Files { get; set; } public TLAbsSecurePlainData PlainData { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -73,7 +74,6 @@ public override void DeserializeBody(BinaryReader br) else PlainData = null; - } public override void SerializeBody(BinaryWriter bw) @@ -95,7 +95,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Files, bw); if ((Flags & 32) != 0) ObjectUtils.SerializeObject(PlainData, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputSingleMedia.cs b/src/TeleSharp.TL/TL/TLInputSingleMedia.cs index b5c3a969..9a5ef37d 100644 --- a/src/TeleSharp.TL/TL/TLInputSingleMedia.cs +++ b/src/TeleSharp.TL/TL/TLInputSingleMedia.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(482797855)] @@ -24,10 +26,9 @@ public override int Constructor public string Message { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) @@ -53,7 +53,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Message, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs b/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs index 1c94b013..1d0ebcde 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(42402760)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs b/src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs index f9905741..b9bf26fd 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-4838507)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetID.cs b/src/TeleSharp.TL/TL/TLInputStickerSetID.cs index 3f22d8ed..83efac31 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetID.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetID.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1645763991)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs b/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs index 0e34eddc..f33a5943 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-6249322)] @@ -23,10 +25,9 @@ public override int Constructor public string Emoji { get; set; } public TLMaskCoords MaskCoords { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) else MaskCoords = null; - } public override void SerializeBody(BinaryWriter bw) @@ -50,7 +50,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Emoji, bw); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(MaskCoords, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs b/src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs index 022715c7..5c7c4917 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2044933984)] @@ -20,23 +22,20 @@ public override int Constructor public string ShortName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ShortName = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(ShortName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs b/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs index 6ec25291..0779e7e4 100644 --- a/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs +++ b/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(230353641)] @@ -22,10 +24,9 @@ public override int Constructor public long VolumeId { get; set; } public int LocalId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br); VolumeId = br.ReadInt64(); LocalId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Stickerset, bw); bw.Write(VolumeId); bw.Write(LocalId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs b/src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs index dfce21fb..488b4a45 100644 --- a/src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(70813275)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputDocument Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs b/src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs index 32f1994c..0b3401e2 100644 --- a/src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs +++ b/src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1251549527)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsInputPhoto Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs b/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs index 9fad4575..b4894e44 100644 --- a/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(700340377)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputTheme.cs b/src/TeleSharp.TL/TL/TLInputTheme.cs index 2c0908b6..c1a6d99e 100644 --- a/src/TeleSharp.TL/TL/TLInputTheme.cs +++ b/src/TeleSharp.TL/TL/TLInputTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1012306921)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputThemeSettings.cs b/src/TeleSharp.TL/TL/TLInputThemeSettings.cs index 5264ba93..d7030da9 100644 --- a/src/TeleSharp.TL/TL/TLInputThemeSettings.cs +++ b/src/TeleSharp.TL/TL/TLInputThemeSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1118798639)] @@ -26,10 +28,9 @@ public override int Constructor public TLAbsInputWallPaper Wallpaper { get; set; } public TLWallPaperSettings WallpaperSettings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -57,7 +58,6 @@ public override void DeserializeBody(BinaryReader br) else WallpaperSettings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -74,7 +74,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Wallpaper, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(WallpaperSettings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputThemeSlug.cs b/src/TeleSharp.TL/TL/TLInputThemeSlug.cs index ba247aad..121a9ec1 100644 --- a/src/TeleSharp.TL/TL/TLInputThemeSlug.cs +++ b/src/TeleSharp.TL/TL/TLInputThemeSlug.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-175567375)] @@ -20,23 +22,20 @@ public override int Constructor public string Slug { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Slug = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Slug, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputUser.cs b/src/TeleSharp.TL/TL/TLInputUser.cs index 06654263..2dae5bf5 100644 --- a/src/TeleSharp.TL/TL/TLInputUser.cs +++ b/src/TeleSharp.TL/TL/TLInputUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-668391402)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputUserEmpty.cs b/src/TeleSharp.TL/TL/TLInputUserEmpty.cs index 9609d31f..af3669d4 100644 --- a/src/TeleSharp.TL/TL/TLInputUserEmpty.cs +++ b/src/TeleSharp.TL/TL/TLInputUserEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1182234929)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs b/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs index bea03466..ed4abe43 100644 --- a/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs +++ b/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(756118935)] @@ -22,10 +24,9 @@ public override int Constructor public int MsgId { get; set; } public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputUserSelf.cs b/src/TeleSharp.TL/TL/TLInputUserSelf.cs index be91a591..efdaa37b 100644 --- a/src/TeleSharp.TL/TL/TLInputUserSelf.cs +++ b/src/TeleSharp.TL/TL/TLInputUserSelf.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-138301121)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputWallPaper.cs b/src/TeleSharp.TL/TL/TLInputWallPaper.cs index 9d4b2022..cd491906 100644 --- a/src/TeleSharp.TL/TL/TLInputWallPaper.cs +++ b/src/TeleSharp.TL/TL/TLInputWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-433014407)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs b/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs index b6227510..ffabc934 100644 --- a/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs +++ b/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2077770836)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs b/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs index 5de70238..d78322d0 100644 --- a/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs +++ b/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1913199744)] @@ -20,23 +22,20 @@ public override int Constructor public string Slug { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Slug = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Slug, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputWebDocument.cs b/src/TeleSharp.TL/TL/TLInputWebDocument.cs index 7431a993..6f8ddb02 100644 --- a/src/TeleSharp.TL/TL/TLInputWebDocument.cs +++ b/src/TeleSharp.TL/TL/TLInputWebDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1678949555)] @@ -23,10 +25,9 @@ public override int Constructor public string MimeType { get; set; } public TLVector Attributes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Size = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Size); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Attributes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs b/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs index 3f0bd792..2138914b 100644 --- a/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1625153079)] @@ -25,10 +27,9 @@ public override int Constructor public int Zoom { get; set; } public int Scale { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) H = br.ReadInt32(); Zoom = br.ReadInt32(); Scale = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(H); bw.Write(Zoom); bw.Write(Scale); - } } } diff --git a/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs b/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs index 4a9075c0..8c0dfb78 100644 --- a/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs +++ b/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1036396922)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public long AccessHash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); AccessHash = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); bw.Write(AccessHash); - } } } diff --git a/src/TeleSharp.TL/TL/TLInvoice.cs b/src/TeleSharp.TL/TL/TLInvoice.cs index a21fa43b..ccff6792 100644 --- a/src/TeleSharp.TL/TL/TLInvoice.cs +++ b/src/TeleSharp.TL/TL/TLInvoice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1022713000)] @@ -30,10 +32,9 @@ public override int Constructor public string Currency { get; set; } public TLVector Prices { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,24 +50,14 @@ public override void DeserializeBody(BinaryReader br) EmailToProvider = (Flags & 128) != 0; Currency = StringUtil.Deserialize(br); Prices = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - StringUtil.Serialize(Currency, bw); ObjectUtils.SerializeObject(Prices, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonArray.cs b/src/TeleSharp.TL/TL/TLJsonArray.cs index db325b90..592f023d 100644 --- a/src/TeleSharp.TL/TL/TLJsonArray.cs +++ b/src/TeleSharp.TL/TL/TLJsonArray.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-146520221)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Value = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonBool.cs b/src/TeleSharp.TL/TL/TLJsonBool.cs index 04ed273a..88e9bcbf 100644 --- a/src/TeleSharp.TL/TL/TLJsonBool.cs +++ b/src/TeleSharp.TL/TL/TLJsonBool.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-952869270)] @@ -20,23 +22,20 @@ public override int Constructor public bool Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Value = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonNull.cs b/src/TeleSharp.TL/TL/TLJsonNull.cs index 846506cf..41bb1c32 100644 --- a/src/TeleSharp.TL/TL/TLJsonNull.cs +++ b/src/TeleSharp.TL/TL/TLJsonNull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1064139624)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLJsonNumber.cs b/src/TeleSharp.TL/TL/TLJsonNumber.cs index a26625ca..50502cf3 100644 --- a/src/TeleSharp.TL/TL/TLJsonNumber.cs +++ b/src/TeleSharp.TL/TL/TLJsonNumber.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(736157604)] @@ -20,23 +22,20 @@ public override int Constructor public double Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Value = br.ReadDouble(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonObject.cs b/src/TeleSharp.TL/TL/TLJsonObject.cs index 34e0a397..5b3d6118 100644 --- a/src/TeleSharp.TL/TL/TLJsonObject.cs +++ b/src/TeleSharp.TL/TL/TLJsonObject.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1715350371)] @@ -18,25 +20,22 @@ public override int Constructor } } - public TLVector Value { get; set; } - + public TLVector Value { get; set; } public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - Value = (TLVector)ObjectUtils.DeserializeVector(br); - + Value = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonObjectValue.cs b/src/TeleSharp.TL/TL/TLJsonObjectValue.cs index 0fa0b148..3de89422 100644 --- a/src/TeleSharp.TL/TL/TLJsonObjectValue.cs +++ b/src/TeleSharp.TL/TL/TLJsonObjectValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1059185703)] @@ -21,17 +23,15 @@ public override int Constructor public string Key { get; set; } public TLAbsJSONValue Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = StringUtil.Deserialize(br); Value = (TLAbsJSONValue)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Key, bw); ObjectUtils.SerializeObject(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLJsonString.cs b/src/TeleSharp.TL/TL/TLJsonString.cs index 1f75ce75..0da09024 100644 --- a/src/TeleSharp.TL/TL/TLJsonString.cs +++ b/src/TeleSharp.TL/TL/TLJsonString.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1222740358)] @@ -20,23 +22,20 @@ public override int Constructor public string Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Value = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButton.cs b/src/TeleSharp.TL/TL/TLKeyboardButton.cs index 136e1247..b39583e7 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButton.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButton.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1560655744)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs index 8fb0d663..f4011464 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1344716869)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs index 6562f466..5be40fea 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1748655686)] @@ -21,17 +23,15 @@ public override int Constructor public string Text { get; set; } public byte[] Data { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); Data = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Text, bw); BytesUtil.Serialize(Data, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs index fc400ae4..1915409c 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1358175439)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs index 1c4b0f5b..8a7b3886 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-59151553)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs index 4000b38b..6b641454 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1318425559)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs index 6135703a..8195c2e8 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2002815875)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Buttons { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Buttons = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Buttons, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs index 62417ee0..ef76520b 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(90744648)] @@ -23,10 +25,9 @@ public override int Constructor public string Text { get; set; } public string Query { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,17 +36,14 @@ public override void DeserializeBody(BinaryReader br) SamePeer = (Flags & 1) != 0; Text = StringUtil.Deserialize(br); Query = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - StringUtil.Serialize(Text, bw); StringUtil.Serialize(Query, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs index 3c7930cc..4ed8454c 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(629866245)] @@ -21,17 +23,15 @@ public override int Constructor public string Text { get; set; } public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Text, bw); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs b/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs index f2f94b4f..df8c98b1 100644 --- a/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs +++ b/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(280464681)] @@ -24,10 +26,9 @@ public override int Constructor public string Url { get; set; } public int ButtonId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) Url = StringUtil.Deserialize(br); ButtonId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -53,7 +53,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(FwdText, bw); StringUtil.Serialize(Url, bw); bw.Write(ButtonId); - } } } diff --git a/src/TeleSharp.TL/TL/TLLabeledPrice.cs b/src/TeleSharp.TL/TL/TLLabeledPrice.cs index b9e17a39..e559a135 100644 --- a/src/TeleSharp.TL/TL/TLLabeledPrice.cs +++ b/src/TeleSharp.TL/TL/TLLabeledPrice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-886477832)] @@ -21,17 +23,15 @@ public override int Constructor public string Label { get; set; } public long Amount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Label = StringUtil.Deserialize(br); Amount = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Label, bw); bw.Write(Amount); - } } } diff --git a/src/TeleSharp.TL/TL/TLLangPackDifference.cs b/src/TeleSharp.TL/TL/TLLangPackDifference.cs index 65355b2d..6bf3e38d 100644 --- a/src/TeleSharp.TL/TL/TLLangPackDifference.cs +++ b/src/TeleSharp.TL/TL/TLLangPackDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-209337866)] @@ -23,10 +25,9 @@ public override int Constructor public int Version { get; set; } public TLVector Strings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) FromVersion = br.ReadInt32(); Version = br.ReadInt32(); Strings = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(FromVersion); bw.Write(Version); ObjectUtils.SerializeObject(Strings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLLangPackLanguage.cs b/src/TeleSharp.TL/TL/TLLangPackLanguage.cs index 59536f8c..0222d48a 100644 --- a/src/TeleSharp.TL/TL/TLLangPackLanguage.cs +++ b/src/TeleSharp.TL/TL/TLLangPackLanguage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-288727837)] @@ -31,10 +33,9 @@ public override int Constructor public int TranslatedCount { get; set; } public string TranslationsUrl { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -55,16 +56,12 @@ public override void DeserializeBody(BinaryReader br) StringsCount = br.ReadInt32(); TranslatedCount = br.ReadInt32(); TranslationsUrl = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - StringUtil.Serialize(Name, bw); StringUtil.Serialize(NativeName, bw); StringUtil.Serialize(LangCode, bw); @@ -74,7 +71,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(StringsCount); bw.Write(TranslatedCount); StringUtil.Serialize(TranslationsUrl, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLLangPackString.cs b/src/TeleSharp.TL/TL/TLLangPackString.cs index bd01a2a6..287db6be 100644 --- a/src/TeleSharp.TL/TL/TLLangPackString.cs +++ b/src/TeleSharp.TL/TL/TLLangPackString.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-892239370)] @@ -21,17 +23,15 @@ public override int Constructor public string Key { get; set; } public string Value { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = StringUtil.Deserialize(br); Value = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Key, bw); StringUtil.Serialize(Value, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs b/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs index c9db00fd..323fb144 100644 --- a/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs +++ b/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(695856818)] @@ -20,23 +22,20 @@ public override int Constructor public string Key { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Key, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs b/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs index eefb4c8c..95f229cb 100644 --- a/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs +++ b/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1816636575)] @@ -27,10 +29,9 @@ public override int Constructor public string ManyValue { get; set; } public string OtherValue { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -63,7 +64,6 @@ public override void DeserializeBody(BinaryReader br) ManyValue = null; OtherValue = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -82,7 +82,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 16) != 0) StringUtil.Serialize(ManyValue, bw); StringUtil.Serialize(OtherValue, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMaskCoords.cs b/src/TeleSharp.TL/TL/TLMaskCoords.cs index a8f7e5aa..216ef478 100644 --- a/src/TeleSharp.TL/TL/TLMaskCoords.cs +++ b/src/TeleSharp.TL/TL/TLMaskCoords.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1361650766)] @@ -23,10 +25,9 @@ public override int Constructor public double Y { get; set; } public double Zoom { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) X = br.ReadDouble(); Y = br.ReadDouble(); Zoom = br.ReadDouble(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(X); bw.Write(Y); bw.Write(Zoom); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessage.cs b/src/TeleSharp.TL/TL/TLMessage.cs index e92a428b..7a601dcf 100644 --- a/src/TeleSharp.TL/TL/TLMessage.cs +++ b/src/TeleSharp.TL/TL/TLMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1160515173)] @@ -44,10 +46,9 @@ public override int Constructor public long? GroupedId { get; set; } public TLVector RestrictionReason { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -125,21 +126,12 @@ public override void DeserializeBody(BinaryReader br) else RestrictionReason = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - bw.Write(Id); if ((Flags & 256) != 0) bw.Write(FromId.Value); @@ -168,7 +160,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(GroupedId.Value); if ((Flags & 4194304) != 0) ObjectUtils.SerializeObject(RestrictionReason, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs b/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs index 002a0864..d5f288ae 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1410748418)] @@ -20,23 +22,20 @@ public override int Constructor public string Domain { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Domain = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Domain, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs b/src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs index ae84575f..31c09c45 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1781355374)] @@ -20,23 +22,20 @@ public override int Constructor public string Title { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Title, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs b/src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs index d4352337..7d1d9cb5 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1336546578)] @@ -21,17 +23,15 @@ public override int Constructor public string Title { get; set; } public int ChatId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Title = StringUtil.Deserialize(br); ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Title, bw); bw.Write(ChatId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs b/src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs index ca83139e..d4215e3d 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1217033015)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs b/src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs index 7313499e..ebe3a0ae 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1503425638)] @@ -21,17 +23,15 @@ public override int Constructor public string Title { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Title = StringUtil.Deserialize(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Title, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs b/src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs index e4925137..5a80c956 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1780220945)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs b/src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs index 51fc7b9e..5fd1d407 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1297179892)] @@ -20,23 +22,20 @@ public override int Constructor public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs b/src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs index 91ffe0a0..6919c0bc 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2144015272)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsPhoto Photo { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Photo, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs b/src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs index b939420b..42f215ff 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1247687078)] @@ -20,23 +22,20 @@ public override int Constructor public string Title { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Title, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs b/src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs index 1f194866..d4bb8a7d 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-123931160)] @@ -20,23 +22,20 @@ public override int Constructor public int InviterId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { InviterId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(InviterId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs b/src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs index b96c0db3..2366547b 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1371385889)] @@ -20,23 +22,20 @@ public override int Constructor public int ChannelId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChannelId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs b/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs index 5c50ea58..88c11025 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-202219658)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs b/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs index 729554bb..4b01fd22 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-85549226)] @@ -20,23 +22,20 @@ public override int Constructor public string Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionEmpty.cs b/src/TeleSharp.TL/TL/TLMessageActionEmpty.cs index 81ce4fef..01c3ab23 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionEmpty.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1230047312)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionGameScore.cs b/src/TeleSharp.TL/TL/TLMessageActionGameScore.cs index 02a7edbd..01736603 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionGameScore.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionGameScore.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1834538890)] @@ -21,17 +23,15 @@ public override int Constructor public long GameId { get; set; } public int Score { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { GameId = br.ReadInt64(); Score = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(GameId); bw.Write(Score); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs b/src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs index 9d4a752a..4abb95a0 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1615153660)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs b/src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs index 8c25a562..b911c973 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1080663248)] @@ -21,17 +23,15 @@ public override int Constructor public string Currency { get; set; } public long TotalAmount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Currency = StringUtil.Deserialize(br); TotalAmount = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Currency, bw); bw.Write(TotalAmount); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs b/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs index 69410cd0..e577931e 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1892568281)] @@ -26,10 +28,9 @@ public override int Constructor public string ShippingOptionId { get; set; } public TLPaymentCharge Charge { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) ShippingOptionId = null; Charge = (TLPaymentCharge)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -64,7 +64,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 2) != 0) StringUtil.Serialize(ShippingOptionId, bw); ObjectUtils.SerializeObject(Charge, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs b/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs index e6d9ce2b..544b384e 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2132731265)] @@ -24,10 +26,9 @@ public override int Constructor public TLAbsPhoneCallDiscardReason Reason { get; set; } public int? Duration { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,20 +46,17 @@ public override void DeserializeBody(BinaryReader br) else Duration = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(CallId); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Reason, bw); if ((Flags & 2) != 0) bw.Write(Duration.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs b/src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs index 411d0576..0b2003ca 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1799538451)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs b/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs index b010aabd..788d1039 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1200788123)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs index 5b818dd6..9707fb85 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-648257196)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Types { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Types = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Types, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs index 50bff157..d09b58f0 100644 --- a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs +++ b/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(455635795)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Values { get; set; } public TLSecureCredentialsEncrypted Credentials { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Values = (TLVector)ObjectUtils.DeserializeVector(br); Credentials = (TLSecureCredentialsEncrypted)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Values, bw); ObjectUtils.SerializeObject(Credentials, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEmpty.cs b/src/TeleSharp.TL/TL/TLMessageEmpty.cs index f31d02d3..257b0922 100644 --- a/src/TeleSharp.TL/TL/TLMessageEmpty.cs +++ b/src/TeleSharp.TL/TL/TLMessageEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2082087340)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs b/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs index 0b28c5e8..64c325d3 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(34469328)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBold.cs b/src/TeleSharp.TL/TL/TLMessageEntityBold.cs index a6bea76b..b9e710be 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityBold.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityBold.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1117713463)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs b/src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs index 450e5b74..6ef81e4d 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1827637959)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs b/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs index 457f2026..a06769d1 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1280209983)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityCode.cs b/src/TeleSharp.TL/TL/TLMessageEntityCode.cs index ab4d9c16..80e9b10b 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityCode.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityCode.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(681706865)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityEmail.cs b/src/TeleSharp.TL/TL/TLMessageEntityEmail.cs index 0b9af5ce..2866dce4 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityEmail.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1692693954)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs b/src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs index 3d4b26ad..1f327f05 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1868782349)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityItalic.cs b/src/TeleSharp.TL/TL/TLMessageEntityItalic.cs index eca2f384..85da1e2e 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityItalic.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityItalic.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2106619040)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityMention.cs b/src/TeleSharp.TL/TL/TLMessageEntityMention.cs index c6650d25..6e2be160 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityMention.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityMention.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-100378723)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs b/src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs index 0b865dc6..d5e1f0b7 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(892193368)] @@ -22,10 +24,9 @@ public override int Constructor public int Length { get; set; } public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Length = br.ReadInt32(); UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Length); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs b/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs index ceb33bb3..dadcdd84 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1687559349)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityPre.cs b/src/TeleSharp.TL/TL/TLMessageEntityPre.cs index 9aa2a2cd..2abb500a 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityPre.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityPre.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1938967520)] @@ -22,10 +24,9 @@ public override int Constructor public int Length { get; set; } public string Language { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Length = br.ReadInt32(); Language = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Length); StringUtil.Serialize(Language, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs b/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs index 850d0688..a194f649 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1090087980)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs b/src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs index 9de741d8..f06ca2fb 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1990644519)] @@ -22,10 +24,9 @@ public override int Constructor public int Length { get; set; } public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Offset = br.ReadInt32(); Length = br.ReadInt32(); Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Offset); bw.Write(Length); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs b/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs index 35297b09..bb771978 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1672577397)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs b/src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs index faeeaba7..e9b9e52d 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1148011883)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUrl.cs b/src/TeleSharp.TL/TL/TLMessageEntityUrl.cs index 8e6d7cbd..e2e998db 100644 --- a/src/TeleSharp.TL/TL/TLMessageEntityUrl.cs +++ b/src/TeleSharp.TL/TL/TLMessageEntityUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1859134776)] @@ -21,17 +23,15 @@ public override int Constructor public int Offset { get; set; } public int Length { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Offset = br.ReadInt32(); Length = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Offset); bw.Write(Length); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs b/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs index 5326f06d..96b53466 100644 --- a/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs +++ b/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-332168592)] @@ -28,10 +30,9 @@ public override int Constructor public TLAbsPeer SavedFromPeer { get; set; } public int? SavedFromMsgId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -73,7 +74,6 @@ public override void DeserializeBody(BinaryReader br) else SavedFromMsgId = null; - } public override void SerializeBody(BinaryWriter bw) @@ -95,7 +95,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(SavedFromPeer, bw); if ((Flags & 16) != 0) bw.Write(SavedFromMsgId.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaContact.cs b/src/TeleSharp.TL/TL/TLMessageMediaContact.cs index 04119e47..d18cad75 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaContact.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-873313984)] @@ -24,10 +26,9 @@ public override int Constructor public string Vcard { get; set; } public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) LastName = StringUtil.Deserialize(br); Vcard = StringUtil.Deserialize(br); UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(LastName, bw); StringUtil.Serialize(Vcard, bw); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs b/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs index ddc278bb..1d09dd55 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1666158377)] @@ -22,10 +24,9 @@ public override int Constructor public TLAbsDocument Document { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Document, bw); if ((Flags & 4) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs b/src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs index 46e34432..b99af33e 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1038967584)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGame.cs b/src/TeleSharp.TL/TL/TLMessageMediaGame.cs index 6301f5f7..ebbba3ab 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaGame.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaGame.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-38694904)] @@ -20,23 +22,20 @@ public override int Constructor public TLGame Game { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Game = (TLGame)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Game, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGeo.cs b/src/TeleSharp.TL/TL/TLMessageMediaGeo.cs index fb60573a..83086798 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaGeo.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaGeo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1457575028)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsGeoPoint Geo { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Geo = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Geo, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs b/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs index d3322911..7d439859 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2084316681)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsGeoPoint Geo { get; set; } public int Period { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Geo = (TLAbsGeoPoint)ObjectUtils.DeserializeObject(br); Period = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Geo, bw); bw.Write(Period); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs b/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs index 049159a9..06a8cf96 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2074799289)] @@ -29,10 +31,9 @@ public override int Constructor public long TotalAmount { get; set; } public string StartParam { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -55,15 +56,12 @@ public override void DeserializeBody(BinaryReader br) Currency = StringUtil.Deserialize(br); TotalAmount = br.ReadInt64(); StartParam = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - StringUtil.Serialize(Title, bw); StringUtil.Serialize(Description, bw); if ((Flags & 1) != 0) @@ -73,7 +71,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Currency, bw); bw.Write(TotalAmount); StringUtil.Serialize(StartParam, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs b/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs index 005f922b..5b3a0fde 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1766936791)] @@ -22,10 +24,9 @@ public override int Constructor public TLAbsPhoto Photo { get; set; } public int? TtlSeconds { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else TtlSeconds = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Photo, bw); if ((Flags & 4) != 0) bw.Write(TtlSeconds.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs b/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs index e0a6b7e3..6ad288c1 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1272375192)] @@ -21,17 +23,15 @@ public override int Constructor public TLPoll Poll { get; set; } public TLPollResults Results { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Poll = (TLPoll)ObjectUtils.DeserializeObject(br); Results = (TLPollResults)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Poll, bw); ObjectUtils.SerializeObject(Results, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs b/src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs index c5df2cb7..db4d295e 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1618676578)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs b/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs index 3dbe6ec4..ba5fd71b 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(784356159)] @@ -25,10 +27,9 @@ public override int Constructor public string VenueId { get; set; } public string VenueType { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Provider = StringUtil.Deserialize(br); VenueId = StringUtil.Deserialize(br); VenueType = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Provider, bw); StringUtil.Serialize(VenueId, bw); StringUtil.Serialize(VenueType, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs b/src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs index e974323d..06443bce 100644 --- a/src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs +++ b/src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1557277184)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsWebPage Webpage { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Webpage = (TLAbsWebPage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Webpage, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageRange.cs b/src/TeleSharp.TL/TL/TLMessageRange.cs index c9fb91ac..a5ef3d79 100644 --- a/src/TeleSharp.TL/TL/TLMessageRange.cs +++ b/src/TeleSharp.TL/TL/TLMessageRange.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(182649427)] @@ -21,17 +23,15 @@ public override int Constructor public int MinId { get; set; } public int MaxId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MinId = br.ReadInt32(); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(MinId); bw.Write(MaxId); - } } } diff --git a/src/TeleSharp.TL/TL/TLMessageService.cs b/src/TeleSharp.TL/TL/TLMessageService.cs index 79820bb8..8e9e7181 100644 --- a/src/TeleSharp.TL/TL/TLMessageService.cs +++ b/src/TeleSharp.TL/TL/TLMessageService.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1642487306)] @@ -32,10 +34,9 @@ public override int Constructor public int Date { get; set; } public TLAbsMessageAction Action { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -61,19 +62,12 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Action = (TLAbsMessageAction)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - bw.Write(Id); if ((Flags & 256) != 0) bw.Write(FromId.Value); @@ -82,7 +76,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ReplyToMsgId.Value); bw.Write(Date); ObjectUtils.SerializeObject(Action, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLNearestDc.cs b/src/TeleSharp.TL/TL/TLNearestDc.cs index 7344992c..d04149a9 100644 --- a/src/TeleSharp.TL/TL/TLNearestDc.cs +++ b/src/TeleSharp.TL/TL/TLNearestDc.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1910892683)] @@ -22,10 +24,9 @@ public override int Constructor public int ThisDc { get; set; } public int NearestDc { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Country = StringUtil.Deserialize(br); ThisDc = br.ReadInt32(); NearestDc = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Country, bw); bw.Write(ThisDc); bw.Write(NearestDc); - } } } diff --git a/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs b/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs index 3297c519..8c116322 100644 --- a/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs +++ b/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-703403793)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLNotifyChats.cs b/src/TeleSharp.TL/TL/TLNotifyChats.cs index 6707b8e2..dbcfbe9e 100644 --- a/src/TeleSharp.TL/TL/TLNotifyChats.cs +++ b/src/TeleSharp.TL/TL/TLNotifyChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1073230141)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLNotifyPeer.cs b/src/TeleSharp.TL/TL/TLNotifyPeer.cs index f1e86d84..c1b1ebd7 100644 --- a/src/TeleSharp.TL/TL/TLNotifyPeer.cs +++ b/src/TeleSharp.TL/TL/TLNotifyPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1613493288)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLNotifyUsers.cs b/src/TeleSharp.TL/TL/TLNotifyUsers.cs index 5f085553..448cb197 100644 --- a/src/TeleSharp.TL/TL/TLNotifyUsers.cs +++ b/src/TeleSharp.TL/TL/TLNotifyUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1261946036)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLNull.cs b/src/TeleSharp.TL/TL/TLNull.cs index 77473d27..4990c18b 100644 --- a/src/TeleSharp.TL/TL/TLNull.cs +++ b/src/TeleSharp.TL/TL/TLNull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1450380236)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPage.cs b/src/TeleSharp.TL/TL/TLPage.cs index 270eb686..51964d69 100644 --- a/src/TeleSharp.TL/TL/TLPage.cs +++ b/src/TeleSharp.TL/TL/TLPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1366746132)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector Photos { get; set; } public TLVector Documents { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,21 +44,16 @@ public override void DeserializeBody(BinaryReader br) Blocks = (TLVector)ObjectUtils.DeserializeVector(br); Photos = (TLVector)ObjectUtils.DeserializeVector(br); Documents = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - StringUtil.Serialize(Url, bw); ObjectUtils.SerializeObject(Blocks, bw); ObjectUtils.SerializeObject(Photos, bw); ObjectUtils.SerializeObject(Documents, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockAnchor.cs b/src/TeleSharp.TL/TL/TLPageBlockAnchor.cs index 8f6461e5..e8911386 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockAnchor.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockAnchor.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-837994576)] @@ -20,23 +22,20 @@ public override int Constructor public string Name { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Name = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Name, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockAudio.cs b/src/TeleSharp.TL/TL/TLPageBlockAudio.cs index 0f854bfe..ef2b9d55 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockAudio.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockAudio.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2143067670)] @@ -21,17 +23,15 @@ public override int Constructor public long AudioId { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { AudioId = br.ReadInt64(); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(AudioId); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs b/src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs index 77c6444d..a6caeb3b 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1162877472)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Author { get; set; } public int PublishedDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Author = (TLAbsRichText)ObjectUtils.DeserializeObject(br); PublishedDate = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Author, bw); bw.Write(PublishedDate); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs b/src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs index 4029cced..6c1dc35f 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(641563686)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public TLAbsRichText Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockChannel.cs b/src/TeleSharp.TL/TL/TLPageBlockChannel.cs index 63615acf..9ffcd613 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockChannel.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-283684427)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsChat Channel { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Channel = (TLAbsChat)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Channel, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockCollage.cs b/src/TeleSharp.TL/TL/TLPageBlockCollage.cs index 8af241b6..53559628 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockCollage.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockCollage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1705048653)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Items { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Items, bw); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockCover.cs b/src/TeleSharp.TL/TL/TLPageBlockCover.cs index 11feba72..613d7ad5 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockCover.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockCover.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(972174080)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsPageBlock Cover { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Cover = (TLAbsPageBlock)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Cover, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockDetails.cs b/src/TeleSharp.TL/TL/TLPageBlockDetails.cs index 61604166..59b93d54 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockDetails.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockDetails.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1987480557)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Blocks { get; set; } public TLAbsRichText Title { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,17 +36,14 @@ public override void DeserializeBody(BinaryReader br) Open = (Flags & 1) != 0; Blocks = (TLVector)ObjectUtils.DeserializeVector(br); Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Blocks, bw); ObjectUtils.SerializeObject(Title, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockDivider.cs b/src/TeleSharp.TL/TL/TLPageBlockDivider.cs index 7a80cbd8..1613fe09 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockDivider.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockDivider.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-618614392)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs b/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs index 1399a43c..e968189c 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1468953147)] @@ -28,10 +30,9 @@ public override int Constructor public int? H { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -65,15 +66,12 @@ public override void DeserializeBody(BinaryReader br) H = null; Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - if ((Flags & 2) != 0) StringUtil.Serialize(Url, bw); if ((Flags & 4) != 0) @@ -85,7 +83,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 32) != 0) bw.Write(H.Value); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs b/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs index b13e3910..45ce009f 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-229005301)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Blocks { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Blocks = (TLVector)ObjectUtils.DeserializeVector(br); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -54,7 +54,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); ObjectUtils.SerializeObject(Blocks, bw); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockFooter.cs b/src/TeleSharp.TL/TL/TLPageBlockFooter.cs index f490ea6b..ef9c49e0 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockFooter.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockFooter.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1216809369)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockHeader.cs b/src/TeleSharp.TL/TL/TLPageBlockHeader.cs index b94bd667..e7be881f 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockHeader.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockHeader.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1076861716)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockKicker.cs b/src/TeleSharp.TL/TL/TLPageBlockKicker.cs index abfb162a..be8d0f5f 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockKicker.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockKicker.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(504660880)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockList.cs b/src/TeleSharp.TL/TL/TLPageBlockList.cs index 4390a5dd..2e8c4382 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockList.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockList.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-454524911)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Items { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Items, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockMap.cs b/src/TeleSharp.TL/TL/TLPageBlockMap.cs index d705516c..c99590b9 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockMap.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockMap.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1538310410)] @@ -24,10 +26,9 @@ public override int Constructor public int H { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) W = br.ReadInt32(); H = br.ReadInt32(); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(W); bw.Write(H); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs b/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs index c5078c4e..a6b868e5 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1702174239)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Items { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Items, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockParagraph.cs b/src/TeleSharp.TL/TL/TLPageBlockParagraph.cs index 0ca11116..1b7eb825 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockParagraph.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockParagraph.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1182402406)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs b/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs index 5ccb7a53..eeb068f7 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(391759200)] @@ -24,10 +26,9 @@ public override int Constructor public string Url { get; set; } public long? WebpageId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) else WebpageId = null; - } public override void SerializeBody(BinaryWriter bw) @@ -58,7 +58,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Url, bw); if ((Flags & 1) != 0) bw.Write(WebpageId.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs b/src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs index 9dec430a..6e6041b2 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1066346178)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public string Language { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Language = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); StringUtil.Serialize(Language, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockPullquote.cs b/src/TeleSharp.TL/TL/TLPageBlockPullquote.cs index 92b96519..5d70ebb7 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockPullquote.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockPullquote.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1329878739)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public TLAbsRichText Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs b/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs index 67794e09..706edf8c 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(370236054)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Title { get; set; } public TLVector Articles { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Articles = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Title, bw); ObjectUtils.SerializeObject(Articles, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs b/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs index c27f5add..b7bbc00a 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(52401552)] @@ -21,17 +23,15 @@ public override int Constructor public TLVector Items { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Items = (TLVector)ObjectUtils.DeserializeVector(br); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Items, bw); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockSubheader.cs b/src/TeleSharp.TL/TL/TLPageBlockSubheader.cs index a2b2d1ef..d82705f7 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockSubheader.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockSubheader.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-248793375)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs b/src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs index ea613909..74ace7d3 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1879401953)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockTable.cs b/src/TeleSharp.TL/TL/TLPageBlockTable.cs index 1a3137f3..21fc8779 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockTable.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockTable.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1085412734)] @@ -24,10 +26,9 @@ public override int Constructor public TLAbsRichText Title { get; set; } public TLVector Rows { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,14 @@ public override void DeserializeBody(BinaryReader br) Striped = (Flags & 2) != 0; Title = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Rows = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Title, bw); ObjectUtils.SerializeObject(Rows, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockTitle.cs b/src/TeleSharp.TL/TL/TLPageBlockTitle.cs index 533e49ce..0840576f 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockTitle.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockTitle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1890305021)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs b/src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs index 9de69573..eb5e79b9 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(324435594)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPageBlockVideo.cs b/src/TeleSharp.TL/TL/TLPageBlockVideo.cs index 9e4ba169..82941a7d 100644 --- a/src/TeleSharp.TL/TL/TLPageBlockVideo.cs +++ b/src/TeleSharp.TL/TL/TLPageBlockVideo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2089805750)] @@ -24,10 +26,9 @@ public override int Constructor public long VideoId { get; set; } public TLPageCaption Caption { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,14 @@ public override void DeserializeBody(BinaryReader br) Loop = (Flags & 2) != 0; VideoId = br.ReadInt64(); Caption = (TLPageCaption)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(VideoId); ObjectUtils.SerializeObject(Caption, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageCaption.cs b/src/TeleSharp.TL/TL/TLPageCaption.cs index 2ecb46d6..08449b5f 100644 --- a/src/TeleSharp.TL/TL/TLPageCaption.cs +++ b/src/TeleSharp.TL/TL/TLPageCaption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1869903447)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public TLAbsRichText Credit { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Credit = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); ObjectUtils.SerializeObject(Credit, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs b/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs index e86d8345..b72fa3df 100644 --- a/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs +++ b/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(635466748)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Blocks { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Blocks = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Blocks, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageListItemText.cs b/src/TeleSharp.TL/TL/TLPageListItemText.cs index d75f07e7..2503ed4d 100644 --- a/src/TeleSharp.TL/TL/TLPageListItemText.cs +++ b/src/TeleSharp.TL/TL/TLPageListItemText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1188055347)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs b/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs index d1f54f9b..65ef897f 100644 --- a/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs +++ b/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1730311882)] @@ -21,17 +23,15 @@ public override int Constructor public string Num { get; set; } public TLVector Blocks { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Num = StringUtil.Deserialize(br); Blocks = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Num, bw); ObjectUtils.SerializeObject(Blocks, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs b/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs index c840152c..fdfdf46b 100644 --- a/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs +++ b/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1577484359)] @@ -21,17 +23,15 @@ public override int Constructor public string Num { get; set; } public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Num = StringUtil.Deserialize(br); Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Num, bw); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs b/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs index b8e51f65..80d15a64 100644 --- a/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs +++ b/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1282352120)] @@ -27,10 +29,9 @@ public override int Constructor public string Author { get; set; } public int? PublishedDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -63,7 +64,6 @@ public override void DeserializeBody(BinaryReader br) else PublishedDate = null; - } public override void SerializeBody(BinaryWriter bw) @@ -82,7 +82,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Author, bw); if ((Flags & 16) != 0) bw.Write(PublishedDate.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageTableCell.cs b/src/TeleSharp.TL/TL/TLPageTableCell.cs index 09ac0c8d..23578e36 100644 --- a/src/TeleSharp.TL/TL/TLPageTableCell.cs +++ b/src/TeleSharp.TL/TL/TLPageTableCell.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(878078826)] @@ -28,10 +30,9 @@ public override int Constructor public int? Colspan { get; set; } public int? Rowspan { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -57,25 +58,18 @@ public override void DeserializeBody(BinaryReader br) else Rowspan = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - if ((Flags & 128) != 0) ObjectUtils.SerializeObject(Text, bw); if ((Flags & 2) != 0) bw.Write(Colspan.Value); if ((Flags & 4) != 0) bw.Write(Rowspan.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPageTableRow.cs b/src/TeleSharp.TL/TL/TLPageTableRow.cs index f1eb002e..892edc5a 100644 --- a/src/TeleSharp.TL/TL/TLPageTableRow.cs +++ b/src/TeleSharp.TL/TL/TLPageTableRow.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-524237339)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Cells { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Cells = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Cells, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs index cd2afaf6..42dcfa70 100644 --- a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs +++ b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(982592842)] @@ -23,10 +25,9 @@ public override int Constructor public int G { get; set; } public byte[] P { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Salt2 = BytesUtil.Deserialize(br); G = br.ReadInt32(); P = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Salt2, bw); bw.Write(G); BytesUtil.Serialize(P, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs index bd1da833..18a61d15 100644 --- a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs +++ b/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-732254058)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPaymentCharge.cs b/src/TeleSharp.TL/TL/TLPaymentCharge.cs index 90d0f1ec..49699f8d 100644 --- a/src/TeleSharp.TL/TL/TLPaymentCharge.cs +++ b/src/TeleSharp.TL/TL/TLPaymentCharge.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-368917890)] @@ -21,17 +23,15 @@ public override int Constructor public string Id { get; set; } public string ProviderChargeId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = StringUtil.Deserialize(br); ProviderChargeId = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Id, bw); StringUtil.Serialize(ProviderChargeId, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs b/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs index 75d62cdc..bd423d9f 100644 --- a/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs +++ b/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1868808300)] @@ -24,10 +26,9 @@ public override int Constructor public string Email { get; set; } public TLPostAddress ShippingAddress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -53,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) else ShippingAddress = null; - } public override void SerializeBody(BinaryWriter bw) @@ -68,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Email, bw); if ((Flags & 8) != 0) ObjectUtils.SerializeObject(ShippingAddress, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs b/src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs index b87a85ff..9065728f 100644 --- a/src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs +++ b/src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-842892769)] @@ -21,17 +23,15 @@ public override int Constructor public string Id { get; set; } public string Title { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = StringUtil.Deserialize(br); Title = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Id, bw); StringUtil.Serialize(Title, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerChannel.cs b/src/TeleSharp.TL/TL/TLPeerChannel.cs index c38e46d3..cb9c191a 100644 --- a/src/TeleSharp.TL/TL/TLPeerChannel.cs +++ b/src/TeleSharp.TL/TL/TLPeerChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1109531342)] @@ -20,23 +22,20 @@ public override int Constructor public int ChannelId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChannelId); - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerChat.cs b/src/TeleSharp.TL/TL/TLPeerChat.cs index a29af170..5d24ea6d 100644 --- a/src/TeleSharp.TL/TL/TLPeerChat.cs +++ b/src/TeleSharp.TL/TL/TLPeerChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1160714821)] @@ -20,23 +22,20 @@ public override int Constructor public int ChatId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerLocated.cs b/src/TeleSharp.TL/TL/TLPeerLocated.cs index 31deb1b6..fc065e01 100644 --- a/src/TeleSharp.TL/TL/TLPeerLocated.cs +++ b/src/TeleSharp.TL/TL/TLPeerLocated.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-901375139)] @@ -22,10 +24,9 @@ public override int Constructor public int Expires { get; set; } public int Distance { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Expires = br.ReadInt32(); Distance = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); bw.Write(Expires); bw.Write(Distance); - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs b/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs index 2a95ed91..c1d3d805 100644 --- a/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1353671392)] @@ -24,10 +26,9 @@ public override int Constructor public int? MuteUntil { get; set; } public string Sound { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -53,7 +54,6 @@ public override void DeserializeBody(BinaryReader br) else Sound = null; - } public override void SerializeBody(BinaryWriter bw) @@ -68,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MuteUntil.Value); if ((Flags & 8) != 0) StringUtil.Serialize(Sound, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerSettings.cs b/src/TeleSharp.TL/TL/TLPeerSettings.cs index b4509933..881cf36e 100644 --- a/src/TeleSharp.TL/TL/TLPeerSettings.cs +++ b/src/TeleSharp.TL/TL/TLPeerSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2122045747)] @@ -26,10 +28,9 @@ public override int Constructor public bool NeedContactsException { get; set; } public bool ReportGeo { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,20 +42,12 @@ public override void DeserializeBody(BinaryReader br) ShareContact = (Flags & 8) != 0; NeedContactsException = (Flags & 16) != 0; ReportGeo = (Flags & 32) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - } } } diff --git a/src/TeleSharp.TL/TL/TLPeerUser.cs b/src/TeleSharp.TL/TL/TLPeerUser.cs index 981fb6df..1c233ba4 100644 --- a/src/TeleSharp.TL/TL/TLPeerUser.cs +++ b/src/TeleSharp.TL/TL/TLPeerUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1649296275)] @@ -20,23 +22,20 @@ public override int Constructor public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCall.cs b/src/TeleSharp.TL/TL/TLPhoneCall.cs index 8895a465..0c404686 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2025673089)] @@ -31,10 +33,9 @@ public override int Constructor public TLVector Connections { get; set; } public int StartDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,14 +52,12 @@ public override void DeserializeBody(BinaryReader br) Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); Connections = (TLVector)ObjectUtils.DeserializeVector(br); StartDate = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); @@ -69,7 +68,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Protocol, bw); ObjectUtils.SerializeObject(Connections, bw); bw.Write(StartDate); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs b/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs index c085e6cc..288147a4 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1719909046)] @@ -28,10 +30,9 @@ public override int Constructor public byte[] GB { get; set; } public TLPhoneCallProtocol Protocol { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,14 +46,12 @@ public override void DeserializeBody(BinaryReader br) ParticipantId = br.ReadInt32(); GB = BytesUtil.Deserialize(br); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); @@ -60,7 +59,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ParticipantId); BytesUtil.Serialize(GB, bw); ObjectUtils.SerializeObject(Protocol, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs index 59fd8758..f45913cd 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-84416311)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs index 9f09d4ca..803831e2 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-527056480)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs index eb5bdefb..da92b427 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1471006352)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs index d5eef1b3..bcfe26c7 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2048646399)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs b/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs index 405fee74..85e73d10 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1355435489)] @@ -26,10 +28,9 @@ public override int Constructor public TLAbsPhoneCallDiscardReason Reason { get; set; } public int? Duration { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,22 +50,17 @@ public override void DeserializeBody(BinaryReader br) else Duration = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - bw.Write(Id); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Reason, bw); if ((Flags & 2) != 0) bw.Write(Duration.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs b/src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs index b3106318..afe45841 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1399245077)] @@ -20,23 +22,20 @@ public override int Constructor public long Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs b/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs index a8218ac3..b64a103c 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1564789301)] @@ -24,10 +26,9 @@ public override int Constructor public int MinLayer { get; set; } public int MaxLayer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,14 @@ public override void DeserializeBody(BinaryReader br) UdpReflector = (Flags & 2) != 0; MinLayer = br.ReadInt32(); MaxLayer = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(MinLayer); bw.Write(MaxLayer); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs b/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs index b701c466..be5c4493 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2014659757)] @@ -28,10 +30,9 @@ public override int Constructor public byte[] GAHash { get; set; } public TLPhoneCallProtocol Protocol { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,14 +46,12 @@ public override void DeserializeBody(BinaryReader br) ParticipantId = br.ReadInt32(); GAHash = BytesUtil.Deserialize(br); Protocol = (TLPhoneCallProtocol)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); @@ -60,7 +59,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ParticipantId); BytesUtil.Serialize(GAHash, bw); ObjectUtils.SerializeObject(Protocol, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs b/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs index 77b4d504..cb85dab0 100644 --- a/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs +++ b/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(462375633)] @@ -28,10 +30,9 @@ public override int Constructor public TLPhoneCallProtocol Protocol { get; set; } public int? ReceiveDate { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,14 +50,12 @@ public override void DeserializeBody(BinaryReader br) else ReceiveDate = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(AccessHash); bw.Write(Date); @@ -65,7 +64,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Protocol, bw); if ((Flags & 1) != 0) bw.Write(ReceiveDate.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoneConnection.cs b/src/TeleSharp.TL/TL/TLPhoneConnection.cs index ad9030aa..88de362c 100644 --- a/src/TeleSharp.TL/TL/TLPhoneConnection.cs +++ b/src/TeleSharp.TL/TL/TLPhoneConnection.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1655957568)] @@ -24,10 +26,9 @@ public override int Constructor public int Port { get; set; } public byte[] PeerTag { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Ipv6 = StringUtil.Deserialize(br); Port = br.ReadInt32(); PeerTag = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Ipv6, bw); bw.Write(Port); BytesUtil.Serialize(PeerTag, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhoto.cs b/src/TeleSharp.TL/TL/TLPhoto.cs index 478adacd..1b44d9f2 100644 --- a/src/TeleSharp.TL/TL/TLPhoto.cs +++ b/src/TeleSharp.TL/TL/TLPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-797637467)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector Sizes { get; set; } public int DcId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,21 +44,18 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Sizes = (TLVector)ObjectUtils.DeserializeVector(br); DcId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(AccessHash); BytesUtil.Serialize(FileReference, bw); bw.Write(Date); ObjectUtils.SerializeObject(Sizes, bw); bw.Write(DcId); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs index d1c542c9..1be6cc4a 100644 --- a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-374917894)] @@ -19,25 +21,23 @@ public override int Constructor } public string Type { get; set; } - public TLFileLocationToBeDeprecated Location { get; set; } + public FileLocation Location { get; set; } public int W { get; set; } public int H { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + Location = (FileLocation)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(W); bw.Write(H); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhotoEmpty.cs b/src/TeleSharp.TL/TL/TLPhotoEmpty.cs index 167c108e..0bd103ef 100644 --- a/src/TeleSharp.TL/TL/TLPhotoEmpty.cs +++ b/src/TeleSharp.TL/TL/TLPhotoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(590459437)] @@ -20,23 +22,20 @@ public override int Constructor public long Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhotoSize.cs b/src/TeleSharp.TL/TL/TLPhotoSize.cs index 5c1fc6fb..cc5d94c6 100644 --- a/src/TeleSharp.TL/TL/TLPhotoSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoSize.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2009052699)] @@ -19,25 +21,23 @@ public override int Constructor } public string Type { get; set; } - public TLFileLocationToBeDeprecated Location { get; set; } + public FileLocation Location { get; set; } public int W { get; set; } public int H { get; set; } public int Size { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + Location = (FileLocation)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Size = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(W); bw.Write(H); bw.Write(Size); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs b/src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs index da259222..fc42b4d2 100644 --- a/src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs +++ b/src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(236446268)] @@ -20,23 +22,20 @@ public override int Constructor public string Type { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Type, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs b/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs index c9fdfddc..e92cc935 100644 --- a/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-525288402)] @@ -21,17 +23,15 @@ public override int Constructor public string Type { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Type, bw); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPoll.cs b/src/TeleSharp.TL/TL/TLPoll.cs index 80eeb66b..998ece2f 100644 --- a/src/TeleSharp.TL/TL/TLPoll.cs +++ b/src/TeleSharp.TL/TL/TLPoll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-716006138)] @@ -27,10 +29,9 @@ public override int Constructor public string Question { get; set; } public TLVector Answers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) Quiz = (Flags & 8) != 0; Question = StringUtil.Deserialize(br); Answers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,13 +51,8 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(Flags); - - - - StringUtil.Serialize(Question, bw); ObjectUtils.SerializeObject(Answers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPollAnswer.cs b/src/TeleSharp.TL/TL/TLPollAnswer.cs index 05f41183..d406cc39 100644 --- a/src/TeleSharp.TL/TL/TLPollAnswer.cs +++ b/src/TeleSharp.TL/TL/TLPollAnswer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1823064809)] @@ -21,17 +23,15 @@ public override int Constructor public string Text { get; set; } public byte[] Option { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); Option = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Text, bw); BytesUtil.Serialize(Option, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs b/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs index a8595b12..0a1c36d9 100644 --- a/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs +++ b/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(997055186)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] Option { get; set; } public int Voters { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,14 @@ public override void DeserializeBody(BinaryReader br) Correct = (Flags & 2) != 0; Option = BytesUtil.Deserialize(br); Voters = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - BytesUtil.Serialize(Option, bw); bw.Write(Voters); - } } } diff --git a/src/TeleSharp.TL/TL/TLPollResults.cs b/src/TeleSharp.TL/TL/TLPollResults.cs index 912f0544..f5fe1306 100644 --- a/src/TeleSharp.TL/TL/TLPollResults.cs +++ b/src/TeleSharp.TL/TL/TLPollResults.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1465219162)] @@ -23,10 +25,9 @@ public override int Constructor public TLVector Results { get; set; } public int? TotalVoters { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,19 +44,16 @@ public override void DeserializeBody(BinaryReader br) else TotalVoters = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Results, bw); if ((Flags & 4) != 0) bw.Write(TotalVoters.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLPopularContact.cs b/src/TeleSharp.TL/TL/TLPopularContact.cs index 672036b0..95074d73 100644 --- a/src/TeleSharp.TL/TL/TLPopularContact.cs +++ b/src/TeleSharp.TL/TL/TLPopularContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1558266229)] @@ -21,17 +23,15 @@ public override int Constructor public long ClientId { get; set; } public int Importers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ClientId = br.ReadInt64(); Importers = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ClientId); bw.Write(Importers); - } } } diff --git a/src/TeleSharp.TL/TL/TLPostAddress.cs b/src/TeleSharp.TL/TL/TLPostAddress.cs index 66e82f63..20d93c63 100644 --- a/src/TeleSharp.TL/TL/TLPostAddress.cs +++ b/src/TeleSharp.TL/TL/TLPostAddress.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(512535275)] @@ -25,10 +27,9 @@ public override int Constructor public string CountryIso2 { get; set; } public string PostCode { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) State = StringUtil.Deserialize(br); CountryIso2 = StringUtil.Deserialize(br); PostCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(State, bw); StringUtil.Serialize(CountryIso2, bw); StringUtil.Serialize(PostCode, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs index a3afdbeb..62807fd2 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1124062251)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs index bcd4d8bf..569340bf 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1343122938)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs index 8ee9b0ce..96c42aa8 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1777096355)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs index fd227f8b..ec72e5dd 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1030105979)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs index 6ea31e8c..9c9c86bd 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-778378131)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs index 08c69e0f..5c8e818a 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(961092808)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs index 4221a55d..661b281f 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1777000467)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs b/src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs index 00ecf71a..fda811c4 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1137792208)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs b/src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs index 59dc6725..a04ff9c3 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1698855810)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs b/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs index 11574baf..782c9a5c 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(415136107)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs b/src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs index 0fd7f591..d9f3efc3 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-123988)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs b/src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs index d59f6d09..93008921 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1297858060)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs index a632b37d..cadcdf3d 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1955338397)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs index 7380cb5b..5c84a914 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1397881200)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Chats { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chats = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Chats, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs index b68d0eaf..63730290 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-125240806)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs index a9775080..162fadfc 100644 --- a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs +++ b/src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(209668535)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs b/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs index 095f0af2..3b7cbfdb 100644 --- a/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs +++ b/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1551583367)] @@ -21,17 +23,15 @@ public override int Constructor public int Id { get; set; } public int Flags { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); Flags = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(Flags); - } } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs index 6ccc7fda..10cdbdbb 100644 --- a/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1608834311)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public int ChatId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); bw.Write(ChatId); - } } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs index 8f52a931..be68548f 100644 --- a/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-347535331)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public TLAbsChatInvite ChatInvite { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); ChatInvite = (TLAbsChatInvite)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); ObjectUtils.SerializeObject(ChatInvite, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs index 90f83cd9..3bf08af9 100644 --- a/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1140172836)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public TLAbsStickerSetCovered Set { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); Set = (TLAbsStickerSetCovered)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); ObjectUtils.SerializeObject(Set, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs index 33e192c5..d666f746 100644 --- a/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1189204285)] @@ -20,23 +22,20 @@ public override int Constructor public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs b/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs index b6e536c9..7169a5ab 100644 --- a/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs +++ b/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1917045962)] @@ -21,17 +23,15 @@ public override int Constructor public string Url { get; set; } public int UserId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); UserId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Url, bw); bw.Write(UserId); - } } } diff --git a/src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs b/src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs index 665ea382..bf89b78c 100644 --- a/src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs +++ b/src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1218642516)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Rows { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Rows = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Rows, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs index 52832661..2a6f9c9f 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-200242528)] @@ -22,10 +24,9 @@ public override int Constructor public bool SingleUse { get; set; } public bool Selective { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,12 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); SingleUse = (Flags & 2) != 0; Selective = (Flags & 4) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - } } } diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs index 23764336..597ae387 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1606526075)] @@ -21,25 +23,21 @@ public override int Constructor public int Flags { get; set; } public bool Selective { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Selective = (Flags & 4) != 0; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - } } } diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs b/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs index 8a7e3c6d..454e575a 100644 --- a/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs +++ b/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(889353612)] @@ -24,10 +26,9 @@ public override int Constructor public bool Selective { get; set; } public TLVector Rows { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,13 @@ public override void DeserializeBody(BinaryReader br) SingleUse = (Flags & 2) != 0; Selective = (Flags & 4) != 0; Rows = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - ObjectUtils.SerializeObject(Rows, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInitConnection.cs b/src/TeleSharp.TL/TL/TLRequestInitConnection.cs index f2fa790c..2c5edef1 100644 --- a/src/TeleSharp.TL/TL/TLRequestInitConnection.cs +++ b/src/TeleSharp.TL/TL/TLRequestInitConnection.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2018609336)] @@ -31,10 +33,9 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -58,7 +59,6 @@ public override void DeserializeBody(BinaryReader br) Params = null; Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -77,12 +77,11 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Params, bw); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs b/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs index 69208bc0..2ae147a8 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-878758099)] @@ -22,17 +24,15 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MsgId = br.ReadInt64(); Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(MsgId); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs b/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs index aafc050b..29e4cd49 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1036301552)] @@ -22,17 +24,15 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { MsgIds = (TLVector)ObjectUtils.DeserializeVector(br); Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(MsgIds, bw); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs index 2a45609a..67e4f6ae 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-627372787)] @@ -22,17 +24,15 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Layer = br.ReadInt32(); Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Layer); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs index 211ae6c4..a69bbbf9 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(911373810)] @@ -22,17 +24,15 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Range = (TLMessageRange)ObjectUtils.DeserializeObject(br); Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Range, bw); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs index b6d5ee94..d61f1265 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1398145746)] @@ -22,17 +24,15 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { TakeoutId = br.ReadInt64(); Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(TakeoutId); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs b/src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs index a74324aa..af7094cf 100644 --- a/src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs +++ b/src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1080796745)] @@ -21,28 +23,25 @@ public override int Constructor public TLObject Query { get; set; } public TLObject Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Query = (TLObject)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Query, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLObject)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/TLRestrictionReason.cs b/src/TeleSharp.TL/TL/TLRestrictionReason.cs index 9232086a..bbee1bc4 100644 --- a/src/TeleSharp.TL/TL/TLRestrictionReason.cs +++ b/src/TeleSharp.TL/TL/TLRestrictionReason.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-797791052)] @@ -22,10 +24,9 @@ public override int Constructor public string Reason { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Platform = StringUtil.Deserialize(br); Reason = StringUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Platform, bw); StringUtil.Serialize(Reason, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs b/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs index e4c1b05c..3ba7e349 100644 --- a/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs +++ b/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(289586518)] @@ -23,10 +25,9 @@ public override int Constructor public string LastName { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs b/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs index 96fa719c..929d9282 100644 --- a/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs +++ b/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(871426631)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] Hash { get; set; } public byte[] Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Data = BytesUtil.Deserialize(br); Hash = BytesUtil.Deserialize(br); Secret = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Data, bw); BytesUtil.Serialize(Hash, bw); BytesUtil.Serialize(Secret, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureData.cs b/src/TeleSharp.TL/TL/TLSecureData.cs index b3bf86d0..275be37d 100644 --- a/src/TeleSharp.TL/TL/TLSecureData.cs +++ b/src/TeleSharp.TL/TL/TLSecureData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1964327229)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] DataHash { get; set; } public byte[] Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Data = BytesUtil.Deserialize(br); DataHash = BytesUtil.Deserialize(br); Secret = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Data, bw); BytesUtil.Serialize(DataHash, bw); BytesUtil.Serialize(Secret, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureFile.cs b/src/TeleSharp.TL/TL/TLSecureFile.cs index 2198bb51..7507b113 100644 --- a/src/TeleSharp.TL/TL/TLSecureFile.cs +++ b/src/TeleSharp.TL/TL/TLSecureFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-534283678)] @@ -26,10 +28,9 @@ public override int Constructor public byte[] FileHash { get; set; } public byte[] Secret { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); FileHash = BytesUtil.Deserialize(br); Secret = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -54,7 +54,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); BytesUtil.Serialize(FileHash, bw); BytesUtil.Serialize(Secret, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs b/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs index bf97ba79..6e95d617 100644 --- a/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs +++ b/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1679398724)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs index b29ed649..b09826b2 100644 --- a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1141711456)] @@ -20,23 +22,20 @@ public override int Constructor public byte[] Salt { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Salt = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Salt, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs index fb14eb43..650fc32c 100644 --- a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2042159726)] @@ -20,23 +22,20 @@ public override int Constructor public byte[] Salt { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Salt = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Salt, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs index f89747f7..e09d6287 100644 --- a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs +++ b/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(4883767)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs b/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs index 74d30dc8..d32769a5 100644 --- a/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs +++ b/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(569137759)] @@ -20,23 +22,20 @@ public override int Constructor public string Email { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Email = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Email, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs b/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs index 6ba9a30f..5b149684 100644 --- a/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs +++ b/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2103482845)] @@ -20,23 +22,20 @@ public override int Constructor public string Phone { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Phone = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Phone, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredType.cs b/src/TeleSharp.TL/TL/TLSecureRequiredType.cs index 90fb96a7..f4cb393d 100644 --- a/src/TeleSharp.TL/TL/TLSecureRequiredType.cs +++ b/src/TeleSharp.TL/TL/TLSecureRequiredType.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2103600678)] @@ -24,10 +26,9 @@ public override int Constructor public bool TranslationRequired { get; set; } public TLAbsSecureValueType Type { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,18 +38,13 @@ public override void DeserializeBody(BinaryReader br) SelfieRequired = (Flags & 2) != 0; TranslationRequired = (Flags & 4) != 0; Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - ObjectUtils.SerializeObject(Type, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs b/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs index efa277df..5007f2f7 100644 --- a/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs +++ b/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(41187252)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Types { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Types = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Types, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs b/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs index 45eaaa78..5204d98d 100644 --- a/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs +++ b/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(354925740)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] SecureSecret { get; set; } public long SecureSecretId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) SecureAlgo = (TLAbsSecurePasswordKdfAlgo)ObjectUtils.DeserializeObject(br); SecureSecret = BytesUtil.Deserialize(br); SecureSecretId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(SecureAlgo, bw); BytesUtil.Serialize(SecureSecret, bw); bw.Write(SecureSecretId); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValue.cs b/src/TeleSharp.TL/TL/TLSecureValue.cs index b34040db..ee50b3ab 100644 --- a/src/TeleSharp.TL/TL/TLSecureValue.cs +++ b/src/TeleSharp.TL/TL/TLSecureValue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(411017418)] @@ -29,10 +31,9 @@ public override int Constructor public TLAbsSecurePlainData PlainData { get; set; } public byte[] Hash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -75,7 +76,6 @@ public override void DeserializeBody(BinaryReader br) PlainData = null; Hash = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -98,7 +98,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 32) != 0) ObjectUtils.SerializeObject(PlainData, bw); BytesUtil.Serialize(Hash, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueError.cs b/src/TeleSharp.TL/TL/TLSecureValueError.cs index a3c0e4af..b0ffbe1d 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueError.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueError.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2036501105)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] Hash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); Hash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(Hash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs index e685ff24..da5fb9a6 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-391902247)] @@ -23,10 +25,9 @@ public override int Constructor public string Field { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) DataHash = BytesUtil.Deserialize(br); Field = StringUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(DataHash, bw); StringUtil.Serialize(Field, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs index f100745d..a037010d 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2054162547)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs index 6c99ca05..297eb4d4 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1717706985)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = (TLVector)ObjectUtils.DeserializeVector(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); ObjectUtils.SerializeObject(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs index 4f63a17c..d736150d 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(12467706)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs index fc26699e..d8ee47d4 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2037765467)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs index 18b77906..8ea30f20 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-449327402)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs index 7e478887..54407067 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1592506512)] @@ -22,10 +24,9 @@ public override int Constructor public byte[] FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = BytesUtil.Deserialize(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs index b1416325..c6aff0ae 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(878931416)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector FileHash { get; set; } public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); FileHash = (TLVector)ObjectUtils.DeserializeVector(br); Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); ObjectUtils.SerializeObject(FileHash, bw); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueHash.cs b/src/TeleSharp.TL/TL/TLSecureValueHash.cs index 87dc445d..4e7e42df 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueHash.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueHash.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-316748368)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsSecureValueType Type { get; set; } public byte[] Hash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); Hash = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Type, bw); BytesUtil.Serialize(Hash, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs index 98d5ee33..7fff8c27 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-874308058)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs index 27bbdef0..d234379f 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1995211763)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs index ccf929ab..34fe582c 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(115615172)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs index f3c32771..4b3de79f 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1908627474)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs index 781b75e4..0f06e197 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1596951477)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs index a15b0f2a..8eb555a0 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1717268701)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs index 98e2c33f..3bf1185c 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1034709504)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs index cd90d969..a1418217 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1713143702)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs index 849cdbf0..16888fff 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1658158621)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs b/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs index dde0794e..9eb4d8de 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1289704741)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs index 0f830440..099d5843 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1954007928)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs index e259e2fd..17256248 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-368907213)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs b/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs index d5cff501..b63eb5a1 100644 --- a/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs +++ b/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-63531698)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs b/src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs index cd8aff8c..448fd90a 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-44119819)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs b/src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs index 609d5186..8c3f8709 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1653390447)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs b/src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs index df56b605..a5f21966 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-580219064)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs b/src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs index f93684cd..dbdfdee5 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(393186209)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs b/src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs index 68dc5a77..7accf38e 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-718310409)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs b/src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs index 0ac0e850..0cb188c2 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1997373508)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs b/src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs index a1695733..bf6a8909 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1584933265)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs b/src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs index 72237c85..ed72bf00 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(381645902)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs b/src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs index d97621ee..4585b3db 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-212740181)] @@ -20,23 +22,20 @@ public override int Constructor public int Progress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Progress = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Progress); - } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs b/src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs index fe74fccc..3808671c 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1441998364)] @@ -20,23 +22,20 @@ public override int Constructor public int Progress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Progress = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Progress); - } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs b/src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs index c06d3159..c7fdf6f6 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-774682074)] @@ -20,23 +22,20 @@ public override int Constructor public int Progress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Progress = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Progress); - } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs b/src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs index e92b792d..14ed5c23 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(608050278)] @@ -20,23 +22,20 @@ public override int Constructor public int Progress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Progress = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Progress); - } } } diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs b/src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs index 84470c82..c30803ed 100644 --- a/src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs +++ b/src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-378127636)] @@ -20,23 +22,20 @@ public override int Constructor public int Progress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Progress = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Progress); - } } } diff --git a/src/TeleSharp.TL/TL/TLShippingOption.cs b/src/TeleSharp.TL/TL/TLShippingOption.cs index 1246efb2..d89497e6 100644 --- a/src/TeleSharp.TL/TL/TLShippingOption.cs +++ b/src/TeleSharp.TL/TL/TLShippingOption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1239335713)] @@ -22,10 +24,9 @@ public override int Constructor public string Title { get; set; } public TLVector Prices { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Id = StringUtil.Deserialize(br); Title = StringUtil.Deserialize(br); Prices = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Id, bw); StringUtil.Serialize(Title, bw); ObjectUtils.SerializeObject(Prices, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLStatsURL.cs b/src/TeleSharp.TL/TL/TLStatsURL.cs index d3044a88..a87bcfc6 100644 --- a/src/TeleSharp.TL/TL/TLStatsURL.cs +++ b/src/TeleSharp.TL/TL/TLStatsURL.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1202287072)] @@ -20,23 +22,20 @@ public override int Constructor public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLStickerPack.cs b/src/TeleSharp.TL/TL/TLStickerPack.cs index dbe1c628..fabeb554 100644 --- a/src/TeleSharp.TL/TL/TLStickerPack.cs +++ b/src/TeleSharp.TL/TL/TLStickerPack.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(313694676)] @@ -21,17 +23,15 @@ public override int Constructor public string Emoticon { get; set; } public TLVector Documents { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Emoticon = StringUtil.Deserialize(br); Documents = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); StringUtil.Serialize(Emoticon, bw); ObjectUtils.SerializeObject(Documents, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLStickerSet.cs b/src/TeleSharp.TL/TL/TLStickerSet.cs index ad877d5a..53264a85 100644 --- a/src/TeleSharp.TL/TL/TLStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-290164953)] @@ -33,10 +35,9 @@ public override int Constructor public int Count { get; set; } public int Hash { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -67,17 +68,12 @@ public override void DeserializeBody(BinaryReader br) Count = br.ReadInt32(); Hash = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - if ((Flags & 1) != 0) bw.Write(InstalledDate.Value); bw.Write(Id); @@ -90,7 +86,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ThumbDcId.Value); bw.Write(Count); bw.Write(Hash); - } } } diff --git a/src/TeleSharp.TL/TL/TLStickerSetCovered.cs b/src/TeleSharp.TL/TL/TLStickerSetCovered.cs index 28505eea..a8592916 100644 --- a/src/TeleSharp.TL/TL/TLStickerSetCovered.cs +++ b/src/TeleSharp.TL/TL/TLStickerSetCovered.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1678812626)] @@ -21,17 +23,15 @@ public override int Constructor public TLStickerSet Set { get; set; } public TLAbsDocument Cover { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Set = (TLStickerSet)ObjectUtils.DeserializeObject(br); Cover = (TLAbsDocument)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Set, bw); ObjectUtils.SerializeObject(Cover, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs b/src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs index 4a7c85ff..e4d399b6 100644 --- a/src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs +++ b/src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(872932635)] @@ -21,17 +23,15 @@ public override int Constructor public TLStickerSet Set { get; set; } public TLVector Covers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Set = (TLStickerSet)ObjectUtils.DeserializeObject(br); Covers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Set, bw); ObjectUtils.SerializeObject(Covers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextAnchor.cs b/src/TeleSharp.TL/TL/TLTextAnchor.cs index 9ad2c598..e52b897f 100644 --- a/src/TeleSharp.TL/TL/TLTextAnchor.cs +++ b/src/TeleSharp.TL/TL/TLTextAnchor.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(894777186)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public string Name { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Name = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); StringUtil.Serialize(Name, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextBold.cs b/src/TeleSharp.TL/TL/TLTextBold.cs index a87e0fb8..cc354183 100644 --- a/src/TeleSharp.TL/TL/TLTextBold.cs +++ b/src/TeleSharp.TL/TL/TLTextBold.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1730456516)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextConcat.cs b/src/TeleSharp.TL/TL/TLTextConcat.cs index af6a538d..8664f7d5 100644 --- a/src/TeleSharp.TL/TL/TLTextConcat.cs +++ b/src/TeleSharp.TL/TL/TLTextConcat.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2120376535)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Texts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Texts = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Texts, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextEmail.cs b/src/TeleSharp.TL/TL/TLTextEmail.cs index 6c844646..7bdaca1e 100644 --- a/src/TeleSharp.TL/TL/TLTextEmail.cs +++ b/src/TeleSharp.TL/TL/TLTextEmail.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-564523562)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public string Email { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Email = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); StringUtil.Serialize(Email, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextEmpty.cs b/src/TeleSharp.TL/TL/TLTextEmpty.cs index fa71a430..f4d1db01 100644 --- a/src/TeleSharp.TL/TL/TLTextEmpty.cs +++ b/src/TeleSharp.TL/TL/TLTextEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-599948721)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTextFixed.cs b/src/TeleSharp.TL/TL/TLTextFixed.cs index a9017a2a..97d8f504 100644 --- a/src/TeleSharp.TL/TL/TLTextFixed.cs +++ b/src/TeleSharp.TL/TL/TLTextFixed.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1816074681)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextImage.cs b/src/TeleSharp.TL/TL/TLTextImage.cs index 0de5e60e..9fdff4e0 100644 --- a/src/TeleSharp.TL/TL/TLTextImage.cs +++ b/src/TeleSharp.TL/TL/TLTextImage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(136105807)] @@ -22,10 +24,9 @@ public override int Constructor public int W { get; set; } public int H { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) DocumentId = br.ReadInt64(); W = br.ReadInt32(); H = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(DocumentId); bw.Write(W); bw.Write(H); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextItalic.cs b/src/TeleSharp.TL/TL/TLTextItalic.cs index 228cb19c..b4c4cd5d 100644 --- a/src/TeleSharp.TL/TL/TLTextItalic.cs +++ b/src/TeleSharp.TL/TL/TLTextItalic.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-653089380)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextMarked.cs b/src/TeleSharp.TL/TL/TLTextMarked.cs index 7d603e64..e392e4e0 100644 --- a/src/TeleSharp.TL/TL/TLTextMarked.cs +++ b/src/TeleSharp.TL/TL/TLTextMarked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(55281185)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextPhone.cs b/src/TeleSharp.TL/TL/TLTextPhone.cs index 744ddf97..5d13b71c 100644 --- a/src/TeleSharp.TL/TL/TLTextPhone.cs +++ b/src/TeleSharp.TL/TL/TLTextPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(483104362)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsRichText Text { get; set; } public string Phone { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Phone = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); StringUtil.Serialize(Phone, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextPlain.cs b/src/TeleSharp.TL/TL/TLTextPlain.cs index fadef1ad..407df5ed 100644 --- a/src/TeleSharp.TL/TL/TLTextPlain.cs +++ b/src/TeleSharp.TL/TL/TLTextPlain.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1950782688)] @@ -20,23 +22,20 @@ public override int Constructor public string Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextStrike.cs b/src/TeleSharp.TL/TL/TLTextStrike.cs index 9fb4a164..af8548f6 100644 --- a/src/TeleSharp.TL/TL/TLTextStrike.cs +++ b/src/TeleSharp.TL/TL/TLTextStrike.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1678197867)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextSubscript.cs b/src/TeleSharp.TL/TL/TLTextSubscript.cs index b2053af4..760ef6a1 100644 --- a/src/TeleSharp.TL/TL/TLTextSubscript.cs +++ b/src/TeleSharp.TL/TL/TLTextSubscript.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-311786236)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextSuperscript.cs b/src/TeleSharp.TL/TL/TLTextSuperscript.cs index b72d64ae..109acc9e 100644 --- a/src/TeleSharp.TL/TL/TLTextSuperscript.cs +++ b/src/TeleSharp.TL/TL/TLTextSuperscript.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-939827711)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextUnderline.cs b/src/TeleSharp.TL/TL/TLTextUnderline.cs index 2aacc6e5..e83cd468 100644 --- a/src/TeleSharp.TL/TL/TLTextUnderline.cs +++ b/src/TeleSharp.TL/TL/TLTextUnderline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1054465340)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsRichText Text { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Text, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTextUrl.cs b/src/TeleSharp.TL/TL/TLTextUrl.cs index b7be22bc..d93a0ab9 100644 --- a/src/TeleSharp.TL/TL/TLTextUrl.cs +++ b/src/TeleSharp.TL/TL/TLTextUrl.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1009288385)] @@ -22,10 +24,9 @@ public override int Constructor public string Url { get; set; } public long WebpageId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Url = StringUtil.Deserialize(br); WebpageId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Text, bw); StringUtil.Serialize(Url, bw); bw.Write(WebpageId); - } } } diff --git a/src/TeleSharp.TL/TL/TLTheme.cs b/src/TeleSharp.TL/TL/TLTheme.cs index 0e54e91c..2292e2d2 100644 --- a/src/TeleSharp.TL/TL/TLTheme.cs +++ b/src/TeleSharp.TL/TL/TLTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(42930452)] @@ -29,10 +31,9 @@ public override int Constructor public TLThemeSettings Settings { get; set; } public int InstallsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -55,15 +56,12 @@ public override void DeserializeBody(BinaryReader br) Settings = null; InstallsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - bw.Write(Id); bw.Write(AccessHash); StringUtil.Serialize(Slug, bw); @@ -73,7 +71,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 8) != 0) ObjectUtils.SerializeObject(Settings, bw); bw.Write(InstallsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLThemeSettings.cs b/src/TeleSharp.TL/TL/TLThemeSettings.cs index c574e047..b603155f 100644 --- a/src/TeleSharp.TL/TL/TLThemeSettings.cs +++ b/src/TeleSharp.TL/TL/TLThemeSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1676371894)] @@ -25,10 +27,9 @@ public override int Constructor public int? MessageBottomColor { get; set; } public TLAbsWallPaper Wallpaper { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) else Wallpaper = null; - } public override void SerializeBody(BinaryWriter bw) @@ -66,7 +66,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MessageBottomColor.Value); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Wallpaper, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeer.cs b/src/TeleSharp.TL/TL/TLTopPeer.cs index 485e3970..0e1cf212 100644 --- a/src/TeleSharp.TL/TL/TLTopPeer.cs +++ b/src/TeleSharp.TL/TL/TLTopPeer.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-305282981)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public double Rating { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Rating = br.ReadDouble(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(Rating); - } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs index 8d41db66..ce1f357b 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(344356834)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs index efdc6b18..509aeb65 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1419371685)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs index 570af94f..ad05277c 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(371037736)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs index 8e8a829f..09c94ee2 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(104314861)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs index 082ba9a3..a1582007 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-68239120)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs index 06c60014..74d450a0 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1472172887)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs index c283b150..92b6fb19 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1122524854)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs index d541479b..472349c9 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-75283823)] @@ -22,10 +24,9 @@ public override int Constructor public int Count { get; set; } public TLVector Peers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Category = (TLAbsTopPeerCategory)ObjectUtils.DeserializeObject(br); Count = br.ReadInt32(); Peers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Category, bw); bw.Write(Count); ObjectUtils.SerializeObject(Peers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs b/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs index d2263676..a9e14121 100644 --- a/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs +++ b/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(511092620)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLTrue.cs b/src/TeleSharp.TL/TL/TLTrue.cs index 7a089146..cbd6261d 100644 --- a/src/TeleSharp.TL/TL/TLTrue.cs +++ b/src/TeleSharp.TL/TL/TLTrue.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1072550713)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs index 41f95cb2..b8fb267e 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-415938591)] @@ -27,10 +29,9 @@ public override int Constructor public byte[] Data { get; set; } public string GameShortName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) else GameShortName = null; - } public override void SerializeBody(BinaryWriter bw) @@ -67,7 +67,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Data, bw); if ((Flags & 2) != 0) StringUtil.Serialize(GameShortName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs index 6dab6f04..9a797962 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1417832080)] @@ -25,10 +27,9 @@ public override int Constructor public TLAbsGeoPoint Geo { get; set; } public string Offset { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) Geo = null; Offset = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -56,7 +56,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Geo, bw); StringUtil.Serialize(Offset, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs b/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs index 694e732c..3c5a5de7 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(239663460)] @@ -25,10 +27,9 @@ public override int Constructor public string Id { get; set; } public TLInputBotInlineMessageID MsgId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,7 +48,6 @@ public override void DeserializeBody(BinaryReader br) else MsgId = null; - } public override void SerializeBody(BinaryWriter bw) @@ -61,7 +61,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(Id, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(MsgId, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs index bfccc1ca..7955dfbf 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1563376297)] @@ -27,10 +29,9 @@ public override int Constructor public string Currency { get; set; } public long TotalAmount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) Currency = StringUtil.Deserialize(br); TotalAmount = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -67,7 +67,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(ShippingOptionId, bw); StringUtil.Serialize(Currency, bw); bw.Write(TotalAmount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs index 45a2cd41..9ec90677 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-523384512)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] Payload { get; set; } public TLPostAddress ShippingAddress { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); Payload = BytesUtil.Deserialize(br); ShippingAddress = (TLPostAddress)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); BytesUtil.Serialize(Payload, bw); ObjectUtils.SerializeObject(ShippingAddress, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs b/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs index 6eeb664a..76306884 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2095595325)] @@ -20,23 +22,20 @@ public override int Constructor public TLDataJSON Data { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Data = (TLDataJSON)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Data, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs b/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs index 8d0c7d83..820dc6c9 100644 --- a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1684914010)] @@ -22,10 +24,9 @@ public override int Constructor public TLDataJSON Data { get; set; } public int Timeout { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) QueryId = br.ReadInt64(); Data = (TLDataJSON)ObjectUtils.DeserializeObject(br); Timeout = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(QueryId); ObjectUtils.SerializeObject(Data, bw); bw.Write(Timeout); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannel.cs b/src/TeleSharp.TL/TL/TLUpdateChannel.cs index f50b00fc..b14fed71 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannel.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannel.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1227598250)] @@ -20,23 +22,20 @@ public override int Constructor public int ChannelId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChannelId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs b/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs index 2a07ed4c..11c5468c 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1893427255)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public int AvailableMinId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); AvailableMinId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); bw.Write(AvailableMinId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs b/src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs index 8950aec0..c3056cad 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1734268085)] @@ -22,10 +24,9 @@ public override int Constructor public int Id { get; set; } public int Views { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChannelId = br.ReadInt32(); Id = br.ReadInt32(); Views = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChannelId); bw.Write(Id); bw.Write(Views); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs b/src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs index dd10790e..61a5e372 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1738988427)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs b/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs index 5154492f..9ef4a0ed 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1987495099)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public TLVector Messages { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); Messages = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); ObjectUtils.SerializeObject(Messages, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs b/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs index 82d3bcad..e395bd35 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-352032773)] @@ -22,10 +24,9 @@ public override int Constructor public int ChannelId { get; set; } public int? Pts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) else Pts = null; - } public override void SerializeBody(BinaryWriter bw) @@ -47,7 +47,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChannelId); if ((Flags & 1) != 0) bw.Write(Pts.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs b/src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs index 25df18d9..5ec71f00 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1081547008)] @@ -23,10 +25,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Webpage = (TLAbsWebPage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Webpage, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs b/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs index 4db40835..b50023c0 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1421875280)] @@ -22,10 +24,9 @@ public override int Constructor public TLChatBannedRights DefaultBannedRights { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); DefaultBannedRights = (TLChatBannedRights)ObjectUtils.DeserializeObject(br); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(DefaultBannedRights, bw); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs b/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs index 6b3a4887..e9812abe 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-364179876)] @@ -24,10 +26,9 @@ public override int Constructor public int Date { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) InviterId = br.ReadInt32(); Date = br.ReadInt32(); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(InviterId); bw.Write(Date); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs b/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs index a212afb8..4254ce91 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1232070311)] @@ -23,10 +25,9 @@ public override int Constructor public bool IsAdmin { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) UserId = br.ReadInt32(); IsAdmin = BoolUtil.Deserialize(br); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(UserId); BoolUtil.Serialize(IsAdmin, bw); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs b/src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs index e2bbe3d3..c63840aa 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1851755554)] @@ -22,10 +24,9 @@ public override int Constructor public int UserId { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); UserId = br.ReadInt32(); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); bw.Write(UserId); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs b/src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs index 3b596b9f..0cf8ca7f 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(125178264)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsChatParticipants Participants { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Participants = (TLAbsChatParticipants)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Participants, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs b/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs index 40634391..02e2dec0 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-519195831)] @@ -22,10 +24,9 @@ public override int Constructor public int Id { get; set; } public int Version { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); Id = br.ReadInt32(); Version = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); bw.Write(Id); bw.Write(Version); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs b/src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs index ec8a008d..cfa7a208 100644 --- a/src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs +++ b/src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1704596961)] @@ -22,10 +24,9 @@ public override int Constructor public int UserId { get; set; } public TLAbsSendMessageAction Action { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); UserId = br.ReadInt32(); Action = (TLAbsSendMessageAction)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); bw.Write(UserId); ObjectUtils.SerializeObject(Action, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateConfig.cs b/src/TeleSharp.TL/TL/TLUpdateConfig.cs index 6f905953..31fb9d5f 100644 --- a/src/TeleSharp.TL/TL/TLUpdateConfig.cs +++ b/src/TeleSharp.TL/TL/TLUpdateConfig.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1574314746)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs b/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs index 274f1f08..7e7d1b20 100644 --- a/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs +++ b/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1887741886)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDcOptions.cs b/src/TeleSharp.TL/TL/TLUpdateDcOptions.cs index 14741d80..3e7a7dca 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDcOptions.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDcOptions.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1906403213)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector DcOptions { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { DcOptions = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(DcOptions, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs b/src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs index a1d479e3..74e449a2 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1015733815)] @@ -23,10 +25,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs b/src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs index 45efb9d5..bf55c8ca 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1576161051)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs b/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs index 241e4e6c..ada1c7a9 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1870238482)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public TLVector Messages { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Messages = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Messages, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs b/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs index 695fe890..12d34943 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1852826908)] @@ -23,10 +25,9 @@ public override int Constructor public int? FolderId { get; set; } public TLAbsDialogPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,18 +40,15 @@ public override void DeserializeBody(BinaryReader br) FolderId = null; Peer = (TLAbsDialogPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) bw.Write(FolderId.Value); ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs b/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs index 2df1320a..15db86e4 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-513517117)] @@ -22,10 +24,9 @@ public override int Constructor public bool Unread { get; set; } public TLAbsDialogPeer Peer { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,13 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Unread = (Flags & 1) != 0; Peer = (TLAbsDialogPeer)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Peer, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs b/src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs index ab4b4fb9..83cdba77 100644 --- a/src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-299124375)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public TLAbsDraftMessage Draft { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Draft = (TLAbsDraftMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Draft, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs b/src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs index edebaaea..ae793212 100644 --- a/src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(457133559)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Message, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateEditMessage.cs b/src/TeleSharp.TL/TL/TLUpdateEditMessage.cs index 76b342d4..79596389 100644 --- a/src/TeleSharp.TL/TL/TLUpdateEditMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateEditMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-469536605)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Message, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs b/src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs index 60789b9a..c19b0b21 100644 --- a/src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs +++ b/src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(386986326)] @@ -20,23 +22,20 @@ public override int Constructor public int ChatId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(ChatId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs b/src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs index e37b75c0..8c262fe0 100644 --- a/src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs +++ b/src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(956179895)] @@ -22,10 +24,9 @@ public override int Constructor public int MaxDate { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) ChatId = br.ReadInt32(); MaxDate = br.ReadInt32(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ChatId); bw.Write(MaxDate); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryption.cs b/src/TeleSharp.TL/TL/TLUpdateEncryption.cs index b41d6cd7..61ec3d7c 100644 --- a/src/TeleSharp.TL/TL/TLUpdateEncryption.cs +++ b/src/TeleSharp.TL/TL/TLUpdateEncryption.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1264392051)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsEncryptedChat Chat { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Chat = (TLAbsEncryptedChat)ObjectUtils.DeserializeObject(br); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Chat, bw); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs b/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs index c994760d..274f1d65 100644 --- a/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs +++ b/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-451831443)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs b/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs index 8f5ba317..648e69bd 100644 --- a/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs +++ b/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(422972864)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) FolderPeers = (TLVector)ObjectUtils.DeserializeVector(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(FolderPeers, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs b/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs index d99a2edd..3c27044e 100644 --- a/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs +++ b/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2027964103)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public int MsgId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); MsgId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs b/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs index 4a54d2e6..9c469b9b 100644 --- a/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs +++ b/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-103646630)] @@ -26,10 +28,9 @@ public override int Constructor public byte[] Data { get; set; } public string GameShortName { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -49,7 +50,6 @@ public override void DeserializeBody(BinaryReader br) else GameShortName = null; - } public override void SerializeBody(BinaryWriter bw) @@ -64,7 +64,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(Data, bw); if ((Flags & 2) != 0) StringUtil.Serialize(GameShortName, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPack.cs b/src/TeleSharp.TL/TL/TLUpdateLangPack.cs index 732b8c34..68830bb7 100644 --- a/src/TeleSharp.TL/TL/TLUpdateLangPack.cs +++ b/src/TeleSharp.TL/TL/TLUpdateLangPack.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1442983757)] @@ -20,23 +22,20 @@ public override int Constructor public TLLangPackDifference Difference { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Difference = (TLLangPackDifference)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Difference, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs b/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs index e91a6f13..bf32a7e7 100644 --- a/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs +++ b/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1180041828)] @@ -20,23 +22,20 @@ public override int Constructor public string LangCode { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { LangCode = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(LangCode, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs b/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs index a4a3ef34..b69c9e31 100644 --- a/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs +++ b/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1448076945)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateMessageID.cs b/src/TeleSharp.TL/TL/TLUpdateMessageID.cs index 53acc62f..ffed25a2 100644 --- a/src/TeleSharp.TL/TL/TLUpdateMessageID.cs +++ b/src/TeleSharp.TL/TL/TLUpdateMessageID.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1318109142)] @@ -21,17 +23,15 @@ public override int Constructor public int Id { get; set; } public long RandomId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); RandomId = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(RandomId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs b/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs index ad1127b6..0c814996 100644 --- a/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs +++ b/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1398708869)] @@ -23,10 +25,9 @@ public override int Constructor public TLPoll Poll { get; set; } public TLPollResults Results { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Poll = null; Results = (TLPollResults)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -50,7 +50,6 @@ public override void SerializeBody(BinaryWriter bw) if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Poll, bw); ObjectUtils.SerializeObject(Results, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs b/src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs index 45648e5f..9b954304 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1656358105)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Message, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs b/src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs index 92958592..8f298368 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(314359194)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsEncryptedMessage Message { get; set; } public int Qts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = (TLAbsEncryptedMessage)ObjectUtils.DeserializeObject(br); Qts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); bw.Write(Qts); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNewMessage.cs b/src/TeleSharp.TL/TL/TLUpdateNewMessage.cs index e8443645..6368fc5c 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNewMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNewMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(522914557)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Message, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs b/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs index a4714f00..b4f759c2 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(967122427)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsMessage Message { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Message = (TLAbsMessage)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs b/src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs index 99d3dcc4..9163ea44 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1753886890)] @@ -20,23 +22,20 @@ public override int Constructor public Messages.TLStickerSet Stickerset { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Stickerset = (Messages.TLStickerSet)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Stickerset, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs b/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs index 3714f83a..29f16037 100644 --- a/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs +++ b/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1094555409)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsNotifyPeer Peer { get; set; } public TLPeerNotifySettings NotifySettings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsNotifyPeer)ObjectUtils.DeserializeObject(br); NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(NotifySettings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs b/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs index eab67fde..dc989ff5 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1263546448)] @@ -20,23 +22,20 @@ public override int Constructor public TLVector Peers { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peers = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peers, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs b/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs index 86094cdf..d6600f14 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1786671974)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPeer Peer { get; set; } public TLPeerSettings Settings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br); Settings = (TLPeerSettings)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(Settings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs b/src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs index ddf34dd6..4969043d 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1425052898)] @@ -20,23 +22,20 @@ public override int Constructor public TLAbsPhoneCall PhoneCall { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhoneCall = (TLAbsPhoneCall)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PhoneCall, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs b/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs index da27fd62..1c3a392f 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-99664734)] @@ -22,10 +24,9 @@ public override int Constructor public int? FolderId { get; set; } public TLVector Order { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else Order = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(FolderId.Value); if ((Flags & 1) != 0) ObjectUtils.SerializeObject(Order, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePrivacy.cs b/src/TeleSharp.TL/TL/TLUpdatePrivacy.cs index b6538df5..7dd80801 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePrivacy.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePrivacy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-298113238)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsPrivacyKey Key { get; set; } public TLVector Rules { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Key = (TLAbsPrivacyKey)ObjectUtils.DeserializeObject(br); Rules = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Key, bw); ObjectUtils.SerializeObject(Rules, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs b/src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs index 13f231dc..9149958b 100644 --- a/src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs +++ b/src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(861169551)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs index f57a5fca..a53f5eb3 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(856380452)] @@ -25,10 +27,9 @@ public override int Constructor public int StillUnreadCount { get; set; } public int Pts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -43,7 +44,6 @@ public override void DeserializeBody(BinaryReader br) MaxId = br.ReadInt32(); StillUnreadCount = br.ReadInt32(); Pts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -56,7 +56,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MaxId); bw.Write(StillUnreadCount); bw.Write(Pts); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs index ed3c0592..7fbf7590 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(634833351)] @@ -21,17 +23,15 @@ public override int Constructor public int ChannelId { get; set; } public int MaxId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); MaxId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(ChannelId); bw.Write(MaxId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs b/src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs index fdbec1ea..52c9b804 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1461528386)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs index c31dd8c4..08773886 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1667805217)] @@ -26,10 +28,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) StillUnreadCount = br.ReadInt32(); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -59,7 +59,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(StillUnreadCount); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs b/src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs index e279ef08..d6e93ae9 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(791617983)] @@ -23,10 +25,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) MaxId = br.ReadInt32(); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(MaxId); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs b/src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs index f009d6b3..6919cd21 100644 --- a/src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs +++ b/src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1757493555)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Messages, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs b/src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs index d3abb3d2..e05853ea 100644 --- a/src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs +++ b/src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1706939360)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs b/src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs index a8d322b8..985a7082 100644 --- a/src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs +++ b/src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1821035490)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs b/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs index 8d30766b..cf1c2068 100644 --- a/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs +++ b/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-337352679)] @@ -26,10 +28,9 @@ public override int Constructor public TLAbsMessageMedia Media { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,21 +46,18 @@ public override void DeserializeBody(BinaryReader br) Message = StringUtil.Deserialize(br); Media = (TLAbsMessageMedia)ObjectUtils.DeserializeObject(br); Entities = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) bw.Write(InboxDate.Value); StringUtil.Serialize(Type, bw); StringUtil.Serialize(Message, bw); ObjectUtils.SerializeObject(Media, bw); ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateShort.cs b/src/TeleSharp.TL/TL/TLUpdateShort.cs index 2462ca16..2cfa6e93 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShort.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShort.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2027216577)] @@ -21,17 +23,15 @@ public override int Constructor public TLAbsUpdate Update { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Update = (TLAbsUpdate)ObjectUtils.DeserializeObject(br); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Update, bw); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs index d89a6211..819aa976 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(377562760)] @@ -35,10 +37,9 @@ public override int Constructor public int? ReplyToMsgId { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -75,17 +76,12 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - bw.Write(Id); bw.Write(FromId); bw.Write(ChatId); @@ -101,7 +97,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ReplyToMsgId.Value); if ((Flags & 128) != 0) ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs index 79b764cd..e037e16f 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1857044719)] @@ -34,10 +36,9 @@ public override int Constructor public int? ReplyToMsgId { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -73,17 +74,12 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - bw.Write(Id); bw.Write(UserId); StringUtil.Serialize(Message, bw); @@ -98,7 +94,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(ReplyToMsgId.Value); if ((Flags & 128) != 0) ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs b/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs index 2382ee05..e3de0360 100644 --- a/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(301019932)] @@ -27,10 +29,9 @@ public override int Constructor public TLAbsMessageMedia Media { get; set; } public TLVector Entities { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,14 +52,12 @@ public override void DeserializeBody(BinaryReader br) else Entities = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Id); bw.Write(Pts); bw.Write(PtsCount); @@ -67,7 +66,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Media, bw); if ((Flags & 128) != 0) ObjectUtils.SerializeObject(Entities, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateStickerSets.cs b/src/TeleSharp.TL/TL/TLUpdateStickerSets.cs index e476fef7..0cc12c8b 100644 --- a/src/TeleSharp.TL/TL/TLUpdateStickerSets.cs +++ b/src/TeleSharp.TL/TL/TLUpdateStickerSets.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1135492588)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs b/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs index 8c5836fe..5826450f 100644 --- a/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs +++ b/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(196268545)] @@ -22,10 +24,9 @@ public override int Constructor public bool Masks { get; set; } public TLVector Order { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,16 +34,13 @@ public override void DeserializeBody(BinaryReader br) Flags = br.ReadInt32(); Masks = (Flags & 1) != 0; Order = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Order, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateTheme.cs b/src/TeleSharp.TL/TL/TLUpdateTheme.cs index 455007e4..35491621 100644 --- a/src/TeleSharp.TL/TL/TLUpdateTheme.cs +++ b/src/TeleSharp.TL/TL/TLUpdateTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2112423005)] @@ -20,23 +22,20 @@ public override int Constructor public TLTheme Theme { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Theme = (TLTheme)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Theme, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs b/src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs index 24decab9..3007c229 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2131957734)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public bool Blocked { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Blocked = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); BoolUtil.Serialize(Blocked, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserName.cs b/src/TeleSharp.TL/TL/TLUpdateUserName.cs index c1e2a4ef..66a4361f 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserName.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserName.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1489818765)] @@ -23,10 +25,9 @@ public override int Constructor public string LastName { get; set; } public string Username { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) FirstName = StringUtil.Deserialize(br); LastName = StringUtil.Deserialize(br); Username = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(FirstName, bw); StringUtil.Serialize(LastName, bw); StringUtil.Serialize(Username, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPhone.cs b/src/TeleSharp.TL/TL/TLUpdateUserPhone.cs index db2613b2..4a7ca7d0 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserPhone.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserPhone.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(314130811)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public string Phone { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Phone = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); StringUtil.Serialize(Phone, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs b/src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs index 97c8c7ad..8301ed50 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1791935732)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsUserProfilePhoto Photo { get; set; } public bool Previous { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Photo = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br); Previous = BoolUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); ObjectUtils.SerializeObject(Photo, bw); BoolUtil.Serialize(Previous, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs b/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs index 55adfdab..b61a99a7 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1279515160)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserStatus.cs b/src/TeleSharp.TL/TL/TLUpdateUserStatus.cs index 896d131d..a8d30581 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserStatus.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserStatus.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(469489699)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public TLAbsUserStatus Status { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Status = (TLAbsUserStatus)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); ObjectUtils.SerializeObject(Status, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateUserTyping.cs b/src/TeleSharp.TL/TL/TLUpdateUserTyping.cs index 869c9429..dcc46a25 100644 --- a/src/TeleSharp.TL/TL/TLUpdateUserTyping.cs +++ b/src/TeleSharp.TL/TL/TLUpdateUserTyping.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1548249383)] @@ -21,17 +23,15 @@ public override int Constructor public int UserId { get; set; } public TLAbsSendMessageAction Action { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { UserId = br.ReadInt32(); Action = (TLAbsSendMessageAction)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(UserId); ObjectUtils.SerializeObject(Action, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdateWebPage.cs b/src/TeleSharp.TL/TL/TLUpdateWebPage.cs index 0157cae6..715a996c 100644 --- a/src/TeleSharp.TL/TL/TLUpdateWebPage.cs +++ b/src/TeleSharp.TL/TL/TLUpdateWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2139689491)] @@ -22,10 +24,9 @@ public override int Constructor public int Pts { get; set; } public int PtsCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Webpage = (TLAbsWebPage)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Webpage, bw); bw.Write(Pts); bw.Write(PtsCount); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdates.cs b/src/TeleSharp.TL/TL/TLUpdates.cs index 8593de81..d275eaed 100644 --- a/src/TeleSharp.TL/TL/TLUpdates.cs +++ b/src/TeleSharp.TL/TL/TLUpdates.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1957577280)] @@ -24,10 +26,9 @@ public override int Constructor public int Date { get; set; } public int Seq { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Chats = (TLVector)ObjectUtils.DeserializeVector(br); Date = br.ReadInt32(); Seq = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Chats, bw); bw.Write(Date); bw.Write(Seq); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatesCombined.cs b/src/TeleSharp.TL/TL/TLUpdatesCombined.cs index e3ecd78d..992c8238 100644 --- a/src/TeleSharp.TL/TL/TLUpdatesCombined.cs +++ b/src/TeleSharp.TL/TL/TLUpdatesCombined.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1918567619)] @@ -25,10 +27,9 @@ public override int Constructor public int SeqStart { get; set; } public int Seq { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); SeqStart = br.ReadInt32(); Seq = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); bw.Write(SeqStart); bw.Write(Seq); - } } } diff --git a/src/TeleSharp.TL/TL/TLUpdatesTooLong.cs b/src/TeleSharp.TL/TL/TLUpdatesTooLong.cs index 201a1b55..eb87ddd9 100644 --- a/src/TeleSharp.TL/TL/TLUpdatesTooLong.cs +++ b/src/TeleSharp.TL/TL/TLUpdatesTooLong.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-484987010)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs index d7c81202..f81cb61e 100644 --- a/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1886646706)] @@ -20,23 +22,20 @@ public override int Constructor public string Url { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Url = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Url, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs index 1ca33249..d3522ee9 100644 --- a/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1445536993)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs b/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs index a1e94dc0..1e2dd514 100644 --- a/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs +++ b/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1831650802)] @@ -23,10 +25,9 @@ public override int Constructor public TLAbsUser Bot { get; set; } public string Domain { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,17 +36,14 @@ public override void DeserializeBody(BinaryReader br) RequestWriteAccess = (Flags & 1) != 0; Bot = (TLAbsUser)ObjectUtils.DeserializeObject(br); Domain = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Bot, bw); StringUtil.Serialize(Domain, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUser.cs b/src/TeleSharp.TL/TL/TLUser.cs index 65629568..f3768e5a 100644 --- a/src/TeleSharp.TL/TL/TLUser.cs +++ b/src/TeleSharp.TL/TL/TLUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1820043071)] @@ -45,10 +47,9 @@ public override int Constructor public string BotInlinePlaceholder { get; set; } public string LangCode { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -123,26 +124,12 @@ public override void DeserializeBody(BinaryReader br) else LangCode = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - - - - - - - - - bw.Write(Id); if ((Flags & 1) != 0) bw.Write(AccessHash.Value); @@ -166,7 +153,6 @@ public override void SerializeBody(BinaryWriter bw) StringUtil.Serialize(BotInlinePlaceholder, bw); if ((Flags & 4194304) != 0) StringUtil.Serialize(LangCode, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserEmpty.cs b/src/TeleSharp.TL/TL/TLUserEmpty.cs index a3b7132b..22bd1865 100644 --- a/src/TeleSharp.TL/TL/TLUserEmpty.cs +++ b/src/TeleSharp.TL/TL/TLUserEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(537022650)] @@ -20,23 +22,20 @@ public override int Constructor public int Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserFull.cs b/src/TeleSharp.TL/TL/TLUserFull.cs index 2ef6b132..f453a8c0 100644 --- a/src/TeleSharp.TL/TL/TLUserFull.cs +++ b/src/TeleSharp.TL/TL/TLUserFull.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-302941166)] @@ -34,10 +36,9 @@ public override int Constructor public int CommonChatsCount { get; set; } public int? FolderId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -77,18 +78,12 @@ public override void DeserializeBody(BinaryReader br) else FolderId = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - - - - ObjectUtils.SerializeObject(User, bw); if ((Flags & 2) != 0) StringUtil.Serialize(About, bw); @@ -103,7 +98,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(CommonChatsCount); if ((Flags & 2048) != 0) bw.Write(FolderId.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs index f23793f5..fefd669e 100644 --- a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-321430132)] @@ -19,23 +21,21 @@ public override int Constructor } public long PhotoId { get; set; } - public TLFileLocationToBeDeprecated PhotoSmall { get; set; } - public TLFileLocationToBeDeprecated PhotoBig { get; set; } + public FileLocation PhotoSmall { get; set; } + public FileLocation PhotoBig { get; set; } public int DcId { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { PhotoId = br.ReadInt64(); - PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); - PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + PhotoSmall = (FileLocation)ObjectUtils.DeserializeObject(br); + PhotoBig = (FileLocation)ObjectUtils.DeserializeObject(br); DcId = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(PhotoSmall, bw); ObjectUtils.SerializeObject(PhotoBig, bw); bw.Write(DcId); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs b/src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs index 0390b739..0be03901 100644 --- a/src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs +++ b/src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1326562017)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusEmpty.cs b/src/TeleSharp.TL/TL/TLUserStatusEmpty.cs index bad421d8..e7f4695c 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusEmpty.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(164646985)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs b/src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs index 7739d58a..04ae7ae6 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(2011940674)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs b/src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs index bda30715..ec3beff9 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(129960444)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusOffline.cs b/src/TeleSharp.TL/TL/TLUserStatusOffline.cs index 7d0a6144..7d7dc401 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusOffline.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusOffline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(9203775)] @@ -20,23 +22,20 @@ public override int Constructor public int WasOnline { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { WasOnline = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(WasOnline); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusOnline.cs b/src/TeleSharp.TL/TL/TLUserStatusOnline.cs index f93bf885..74742ace 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusOnline.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusOnline.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-306628279)] @@ -20,23 +22,20 @@ public override int Constructor public int Expires { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Expires = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Expires); - } } } diff --git a/src/TeleSharp.TL/TL/TLUserStatusRecently.cs b/src/TeleSharp.TL/TL/TLUserStatusRecently.cs index 5c17377d..a7b7153a 100644 --- a/src/TeleSharp.TL/TL/TLUserStatusRecently.cs +++ b/src/TeleSharp.TL/TL/TLUserStatusRecently.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-496024847)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLVector.cs b/src/TeleSharp.TL/TL/TLVector.cs new file mode 100644 index 00000000..15a02055 --- /dev/null +++ b/src/TeleSharp.TL/TL/TLVector.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using TeleSharp.TL; + +namespace TeleSharp.TL +{ + [TLObject(481674261)] + public class TLVector : TLObject + { + public override int Constructor + { + get + { + return 481674261; + } + } + + // no fields + + public void ComputeFlags() + { + // do nothing + } + + public override void DeserializeBody(BinaryReader br) + { + // do nothing + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + // do nothing + } + } +} diff --git a/src/TeleSharp.TL/TL/TLWallPaper.cs b/src/TeleSharp.TL/TL/TLWallPaper.cs index 741cd728..5a520288 100644 --- a/src/TeleSharp.TL/TL/TLWallPaper.cs +++ b/src/TeleSharp.TL/TL/TLWallPaper.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1539849235)] @@ -29,10 +31,9 @@ public override int Constructor public TLAbsDocument Document { get; set; } public TLWallPaperSettings Settings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -51,7 +52,6 @@ public override void DeserializeBody(BinaryReader br) else Settings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -59,16 +59,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(Flags); - - - - bw.Write(AccessHash); StringUtil.Serialize(Slug, bw); ObjectUtils.SerializeObject(Document, bw); if ((Flags & 4) != 0) ObjectUtils.SerializeObject(Settings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs b/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs index 30825f7f..5fa39082 100644 --- a/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs +++ b/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-1963717851)] @@ -23,10 +25,9 @@ public override int Constructor public bool Dark { get; set; } public TLWallPaperSettings Settings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,18 +40,14 @@ public override void DeserializeBody(BinaryReader br) else Settings = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - if ((Flags & 4) != 0) ObjectUtils.SerializeObject(Settings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWallPaperSettings.cs b/src/TeleSharp.TL/TL/TLWallPaperSettings.cs index d1ef709c..b5f7995f 100644 --- a/src/TeleSharp.TL/TL/TLWallPaperSettings.cs +++ b/src/TeleSharp.TL/TL/TLWallPaperSettings.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(84438264)] @@ -26,10 +28,9 @@ public override int Constructor public int? Intensity { get; set; } public int? Rotation { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -57,15 +58,12 @@ public override void DeserializeBody(BinaryReader br) else Rotation = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - if ((Flags & 1) != 0) bw.Write(BackgroundColor.Value); if ((Flags & 16) != 0) @@ -74,7 +72,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Intensity.Value); if ((Flags & 16) != 0) bw.Write(Rotation.Value); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebAuthorization.cs b/src/TeleSharp.TL/TL/TLWebAuthorization.cs index a9ab6fe8..974ce996 100644 --- a/src/TeleSharp.TL/TL/TLWebAuthorization.cs +++ b/src/TeleSharp.TL/TL/TLWebAuthorization.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-892779534)] @@ -28,10 +30,9 @@ public override int Constructor public string Ip { get; set; } public string Region { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,7 +46,6 @@ public override void DeserializeBody(BinaryReader br) DateActive = br.ReadInt32(); Ip = StringUtil.Deserialize(br); Region = StringUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -60,7 +60,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(DateActive); StringUtil.Serialize(Ip, bw); StringUtil.Serialize(Region, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebDocument.cs b/src/TeleSharp.TL/TL/TLWebDocument.cs index 06cadcfc..e49f0925 100644 --- a/src/TeleSharp.TL/TL/TLWebDocument.cs +++ b/src/TeleSharp.TL/TL/TLWebDocument.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(475467473)] @@ -24,10 +26,9 @@ public override int Constructor public string MimeType { get; set; } public TLVector Attributes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Size = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Size); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Attributes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs b/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs index 93a73e86..5b0df5d5 100644 --- a/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs +++ b/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-104284986)] @@ -23,10 +25,9 @@ public override int Constructor public string MimeType { get; set; } public TLVector Attributes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -35,7 +36,6 @@ public override void DeserializeBody(BinaryReader br) Size = br.ReadInt32(); MimeType = StringUtil.Deserialize(br); Attributes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -45,7 +45,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Size); StringUtil.Serialize(MimeType, bw); ObjectUtils.SerializeObject(Attributes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebPage.cs b/src/TeleSharp.TL/TL/TLWebPage.cs index 4625baa8..ca6dec36 100644 --- a/src/TeleSharp.TL/TL/TLWebPage.cs +++ b/src/TeleSharp.TL/TL/TLWebPage.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-392411726)] @@ -36,12 +38,11 @@ public override int Constructor public string Author { get; set; } public TLAbsDocument Document { get; set; } public TLPage CachedPage { get; set; } - public TLVector Attributes { get; set; } - + public TLVector Attributes { get; set; } public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -117,11 +118,10 @@ public override void DeserializeBody(BinaryReader br) CachedPage = null; if ((Flags & 4096) != 0) - Attributes = (TLVector)ObjectUtils.DeserializeVector(br); + Attributes = (TLVector)ObjectUtils.DeserializeVector(br); else Attributes = null; - } public override void SerializeBody(BinaryWriter bw) @@ -160,7 +160,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(CachedPage, bw); if ((Flags & 4096) != 0) ObjectUtils.SerializeObject(Attributes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs b/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs index 98ab6d5e..47c3b7c9 100644 --- a/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs +++ b/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(1421174295)] @@ -22,10 +24,9 @@ public override int Constructor public TLVector Documents { get; set; } public TLThemeSettings Settings { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -41,7 +42,6 @@ public override void DeserializeBody(BinaryReader br) else Settings = null; - } public override void SerializeBody(BinaryWriter bw) @@ -52,7 +52,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Documents, bw); if ((Flags & 2) != 0) ObjectUtils.SerializeObject(Settings, bw); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebPageEmpty.cs b/src/TeleSharp.TL/TL/TLWebPageEmpty.cs index e3cf8a0f..85c996aa 100644 --- a/src/TeleSharp.TL/TL/TLWebPageEmpty.cs +++ b/src/TeleSharp.TL/TL/TLWebPageEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-350980120)] @@ -20,23 +22,20 @@ public override int Constructor public long Id { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Id); - } } } diff --git a/src/TeleSharp.TL/TL/TLWebPageNotModified.cs b/src/TeleSharp.TL/TL/TLWebPageNotModified.cs index 724b6b0a..39fbf5c0 100644 --- a/src/TeleSharp.TL/TL/TLWebPageNotModified.cs +++ b/src/TeleSharp.TL/TL/TLWebPageNotModified.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-2054908813)] @@ -18,22 +20,22 @@ public override int Constructor } } - + // no fields public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing } } } diff --git a/src/TeleSharp.TL/TL/TLWebPagePending.cs b/src/TeleSharp.TL/TL/TLWebPagePending.cs index b5fb208d..372b094c 100644 --- a/src/TeleSharp.TL/TL/TLWebPagePending.cs +++ b/src/TeleSharp.TL/TL/TLWebPagePending.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL { [TLObject(-981018084)] @@ -21,17 +23,15 @@ public override int Constructor public long Id { get; set; } public int Date { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = br.ReadInt64(); Date = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Id); bw.Write(Date); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs b/src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs index ca3c10a1..092e3a70 100644 --- a/src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { public abstract class TLAbsChannelDifference : TLObject diff --git a/src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs b/src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs index 10807ea6..f791aad0 100644 --- a/src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { public abstract class TLAbsDifference : TLObject diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs index e12d3f1f..dfeb7a58 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(543450958)] @@ -27,10 +29,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -47,14 +48,12 @@ public override void DeserializeBody(BinaryReader br) OtherUpdates = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Pts); if ((Flags & 2) != 0) bw.Write(Timeout.Value); @@ -62,7 +61,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(OtherUpdates, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs index ea9766d6..72b6fab6 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(1041346555)] @@ -23,10 +25,9 @@ public override int Constructor public int Pts { get; set; } public int? Timeout { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,18 +40,15 @@ public override void DeserializeBody(BinaryReader br) else Timeout = null; - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - bw.Write(Pts); if ((Flags & 2) != 0) bw.Write(Timeout.Value); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs index 8adf18c0..061c6be4 100644 --- a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs +++ b/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(-1531132162)] @@ -26,10 +28,9 @@ public override int Constructor public TLVector Chats { get; set; } public TLVector Users { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -45,21 +46,18 @@ public override void DeserializeBody(BinaryReader br) Messages = (TLVector)ObjectUtils.DeserializeVector(br); Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - if ((Flags & 2) != 0) bw.Write(Timeout.Value); ObjectUtils.SerializeObject(Dialog, bw); ObjectUtils.SerializeObject(Messages, bw); ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLDifference.cs b/src/TeleSharp.TL/TL/Updates/TLDifference.cs index 83ef9dc7..9c0cd702 100644 --- a/src/TeleSharp.TL/TL/Updates/TLDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(16030880)] @@ -25,10 +27,9 @@ public override int Constructor public TLVector Users { get; set; } public Updates.TLState State { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); State = (Updates.TLState)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); ObjectUtils.SerializeObject(State, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs b/src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs index 250cb09e..e0799b36 100644 --- a/src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs +++ b/src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(1567990072)] @@ -21,17 +23,15 @@ public override int Constructor public int Date { get; set; } public int Seq { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Date = br.ReadInt32(); Seq = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -39,7 +39,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); bw.Write(Date); bw.Write(Seq); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs b/src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs index b3c8f8df..42796f7a 100644 --- a/src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs +++ b/src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(-1459938943)] @@ -25,10 +27,9 @@ public override int Constructor public TLVector Users { get; set; } public Updates.TLState IntermediateState { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -39,7 +40,6 @@ public override void DeserializeBody(BinaryReader br) Chats = (TLVector)ObjectUtils.DeserializeVector(br); Users = (TLVector)ObjectUtils.DeserializeVector(br); IntermediateState = (Updates.TLState)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) @@ -51,7 +51,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Chats, bw); ObjectUtils.SerializeObject(Users, bw); ObjectUtils.SerializeObject(IntermediateState, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs b/src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs index 6a847add..e247d6c7 100644 --- a/src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs +++ b/src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(1258196845)] @@ -20,23 +22,20 @@ public override int Constructor public int Pts { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Pts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Pts); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs b/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs index 66654dbc..d124b23c 100644 --- a/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(51854712)] @@ -26,10 +28,9 @@ public override int Constructor public int Limit { get; set; } public Updates.TLAbsChannelDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,21 @@ public override void DeserializeBody(BinaryReader br) Filter = (TLAbsChannelMessagesFilter)ObjectUtils.DeserializeObject(br); Pts = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - ObjectUtils.SerializeObject(Channel, bw); ObjectUtils.SerializeObject(Filter, bw); bw.Write(Pts); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Updates.TLAbsChannelDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs b/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs index c7d9e1d0..5b1254ee 100644 --- a/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs +++ b/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(630429265)] @@ -25,10 +27,9 @@ public override int Constructor public int Qts { get; set; } public Updates.TLAbsDifference Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -42,7 +43,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Qts = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -54,12 +54,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(PtsTotalLimit.Value); bw.Write(Date); bw.Write(Qts); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Updates.TLAbsDifference)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs b/src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs index 0540cf0c..fe959f8a 100644 --- a/src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs +++ b/src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(-304838614)] @@ -20,26 +22,25 @@ public override int Constructor public Updates.TLState Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { - + // do nothing } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); - + // do nothing else } + public override void DeserializeResponse(BinaryReader br) { Response = (Updates.TLState)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Updates/TLState.cs b/src/TeleSharp.TL/TL/Updates/TLState.cs index 9ea86573..3170c7b4 100644 --- a/src/TeleSharp.TL/TL/Updates/TLState.cs +++ b/src/TeleSharp.TL/TL/Updates/TLState.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Updates { [TLObject(-1519637954)] @@ -24,10 +26,9 @@ public override int Constructor public int Seq { get; set; } public int UnreadCount { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) Date = br.ReadInt32(); Seq = br.ReadInt32(); UnreadCount = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Date); bw.Write(Seq); bw.Write(UnreadCount); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs b/src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs index e2ffe612..058effa5 100644 --- a/src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { public abstract class TLAbsCdnFile : TLObject diff --git a/src/TeleSharp.TL/TL/Upload/TLAbsFile.cs b/src/TeleSharp.TL/TL/Upload/TLAbsFile.cs index 14db55fb..d7711646 100644 --- a/src/TeleSharp.TL/TL/Upload/TLAbsFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLAbsFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { public abstract class TLAbsFile : TLObject diff --git a/src/TeleSharp.TL/TL/Upload/TLCdnFile.cs b/src/TeleSharp.TL/TL/Upload/TLCdnFile.cs index 5d966c91..6588fc81 100644 --- a/src/TeleSharp.TL/TL/Upload/TLCdnFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLCdnFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-1449145777)] @@ -20,23 +22,20 @@ public override int Constructor public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs b/src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs index f88fbacd..4918162b 100644 --- a/src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs +++ b/src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-290921362)] @@ -20,23 +22,20 @@ public override int Constructor public byte[] RequestToken { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { RequestToken = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BytesUtil.Serialize(RequestToken, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLFile.cs b/src/TeleSharp.TL/TL/Upload/TLFile.cs index bd8131dc..441f6f59 100644 --- a/src/TeleSharp.TL/TL/Upload/TLFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(157948117)] @@ -22,10 +24,9 @@ public override int Constructor public int Mtime { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -33,7 +34,6 @@ public override void DeserializeBody(BinaryReader br) Type = (Storage.TLAbsFileType)ObjectUtils.DeserializeObject(br); Mtime = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -42,7 +42,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Type, bw); bw.Write(Mtime); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs b/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs index d98fcff2..52a6816d 100644 --- a/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs +++ b/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-242427324)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] EncryptionIv { get; set; } public TLVector FileHashes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) EncryptionKey = BytesUtil.Deserialize(br); EncryptionIv = BytesUtil.Deserialize(br); FileHashes = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(EncryptionKey, bw); BytesUtil.Serialize(EncryptionIv, bw); ObjectUtils.SerializeObject(FileHashes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs index 8d0033ba..1be49795 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(536919235)] @@ -23,10 +25,9 @@ public override int Constructor public int Limit { get; set; } public Upload.TLAbsCdnFile Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) FileToken = BytesUtil.Deserialize(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) BytesUtil.Serialize(FileToken, bw); bw.Write(Offset); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Upload.TLAbsCdnFile)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs index 3cd65ec2..9f860687 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(1302676017)] @@ -22,17 +24,15 @@ public override int Constructor public int Offset { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FileToken = BytesUtil.Deserialize(br); Offset = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); BytesUtil.Serialize(FileToken, bw); bw.Write(Offset); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs index 1292d826..1d574441 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-1319462148)] @@ -26,10 +28,9 @@ public override int Constructor public int Limit { get; set; } public Upload.TLAbsFile Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -40,24 +41,20 @@ public override void DeserializeBody(BinaryReader br) Location = (TLAbsInputFileLocation)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); - - ObjectUtils.SerializeObject(Location, bw); bw.Write(Offset); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Upload.TLAbsFile)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs index 1545b3a8..a4be730a 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-956147407)] @@ -22,17 +24,15 @@ public override int Constructor public int Offset { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Location = (TLAbsInputFileLocation)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Location, bw); bw.Write(Offset); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs index daf636d1..ed17e2fd 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(619086221)] @@ -23,10 +25,9 @@ public override int Constructor public int Limit { get; set; } public Upload.TLWebFile Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) Location = (TLAbsInputWebFileLocation)ObjectUtils.DeserializeObject(br); Offset = br.ReadInt32(); Limit = br.ReadInt32(); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(Location, bw); bw.Write(Offset); bw.Write(Limit); - } + public override void DeserializeResponse(BinaryReader br) { Response = (Upload.TLWebFile)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs b/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs index 713d09ff..e2d71882 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-1691921240)] @@ -22,17 +24,15 @@ public override int Constructor public byte[] RequestToken { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { FileToken = BytesUtil.Deserialize(br); RequestToken = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); BytesUtil.Serialize(FileToken, bw); BytesUtil.Serialize(RequestToken, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs b/src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs index b662b4fd..fb53a119 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-562337987)] @@ -24,10 +26,9 @@ public override int Constructor public byte[] Bytes { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -36,7 +37,6 @@ public override void DeserializeBody(BinaryReader br) FilePart = br.ReadInt32(); FileTotalParts = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -46,12 +46,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(FilePart); bw.Write(FileTotalParts); BytesUtil.Serialize(Bytes, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs b/src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs index bb4a5e1e..055d14d9 100644 --- a/src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs +++ b/src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(-1291540959)] @@ -23,10 +25,9 @@ public override int Constructor public byte[] Bytes { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -34,7 +35,6 @@ public override void DeserializeBody(BinaryReader br) FileId = br.ReadInt64(); FilePart = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -43,12 +43,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(FileId); bw.Write(FilePart); BytesUtil.Serialize(Bytes, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } diff --git a/src/TeleSharp.TL/TL/Upload/TLWebFile.cs b/src/TeleSharp.TL/TL/Upload/TLWebFile.cs index 336fe706..431fd821 100644 --- a/src/TeleSharp.TL/TL/Upload/TLWebFile.cs +++ b/src/TeleSharp.TL/TL/Upload/TLWebFile.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Upload { [TLObject(568808380)] @@ -24,10 +26,9 @@ public override int Constructor public int Mtime { get; set; } public byte[] Bytes { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) @@ -37,7 +38,6 @@ public override void DeserializeBody(BinaryReader br) FileType = (Storage.TLAbsFileType)ObjectUtils.DeserializeObject(br); Mtime = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); - } public override void SerializeBody(BinaryWriter bw) @@ -48,7 +48,6 @@ public override void SerializeBody(BinaryWriter bw) ObjectUtils.SerializeObject(FileType, bw); bw.Write(Mtime); BytesUtil.Serialize(Bytes, bw); - } } } diff --git a/src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs b/src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs index 1f139f60..08664e3c 100644 --- a/src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs +++ b/src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Users { [TLObject(-902781519)] @@ -21,28 +23,25 @@ public override int Constructor public TLAbsInputUser Id { get; set; } public TLUserFull Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLUserFull)ObjectUtils.DeserializeObject(br); - } } } diff --git a/src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs b/src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs index 579d54bc..d5069e2e 100644 --- a/src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs +++ b/src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Users { [TLObject(227648840)] @@ -21,28 +23,25 @@ public override int Constructor public TLVector Id { get; set; } public TLVector Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = (TLVector)ObjectUtils.DeserializeVector(br); - } } } diff --git a/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs b/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs index 1d464555..72132383 100644 --- a/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs +++ b/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs @@ -4,7 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; + using TeleSharp.TL; + namespace TeleSharp.TL.Users { [TLObject(-1865902923)] @@ -22,17 +24,15 @@ public override int Constructor public TLVector Errors { get; set; } public bool Response { get; set; } - public void ComputeFlags() { - + // do nothing } public override void DeserializeBody(BinaryReader br) { Id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br); Errors = (TLVector)ObjectUtils.DeserializeVector(br); - } public override void SerializeBody(BinaryWriter bw) @@ -40,12 +40,11 @@ public override void SerializeBody(BinaryWriter bw) bw.Write(Constructor); ObjectUtils.SerializeObject(Id, bw); ObjectUtils.SerializeObject(Errors, bw); - } + public override void DeserializeResponse(BinaryReader br) { Response = BoolUtil.Deserialize(br); - } } } From 409139a6d6bb2435608fc52cca5d6137c3dc6582 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 16 Apr 2020 16:30:58 +0800 Subject: [PATCH 08/12] TeleSharp.TL: fix build Manual edits needed after code autogeneration. --- src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs | 6 ++- .../TL/Contacts/TLRequestGetSaved.cs | 6 ++- src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs | 6 ++- src/TeleSharp.TL/TL/TLChatPhoto.cs | 12 ++++-- src/TeleSharp.TL/TL/TLJsonObject.cs | 6 ++- src/TeleSharp.TL/TL/TLPhotoCachedSize.cs | 6 ++- src/TeleSharp.TL/TL/TLPhotoSize.cs | 6 ++- src/TeleSharp.TL/TL/TLUserProfilePhoto.cs | 12 ++++-- src/TeleSharp.TL/TL/TLVector.cs | 41 ------------------- src/TeleSharp.TL/TL/TLWebPage.cs | 6 ++- 10 files changed, 44 insertions(+), 63 deletions(-) delete mode 100644 src/TeleSharp.TL/TL/TLVector.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs index c562a888..2836973a 100644 --- a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs +++ b/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs @@ -24,7 +24,8 @@ public override int Constructor public string PhoneCodeHash { get; set; } public string FirstName { get; set; } public string LastName { get; set; } - public Auth.TLAbsAuthorization Response { get; set; } + // manual edit: TLAbsAuthorization->TLAuthorization + public Auth.TLAuthorization Response { get; set; } public void ComputeFlags() { @@ -50,7 +51,8 @@ public override void SerializeBody(BinaryWriter bw) public override void DeserializeResponse(BinaryReader br) { - Response = (Auth.TLAbsAuthorization)ObjectUtils.DeserializeObject(br); + // manual edit: TLAbsAuthorization->TLAuthorization + Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br); } } } diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs index 034467d9..7b4cb608 100644 --- a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs +++ b/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs @@ -20,7 +20,8 @@ public override int Constructor } } - public TLVector Response { get; set; } + // manual edit: SavedContact -> TLSavedPhoneContact + public TLVector Response { get; set; } public void ComputeFlags() { @@ -40,7 +41,8 @@ public override void SerializeBody(BinaryWriter bw) public override void DeserializeResponse(BinaryReader br) { - Response = (TLVector)ObjectUtils.DeserializeVector(br); + // manual edit: SavedContact -> TLSavedPhoneContact + Response = (TLVector)ObjectUtils.DeserializeVector (br); } } } diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs index 54179420..75da9dd5 100644 --- a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs +++ b/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs @@ -30,7 +30,8 @@ public override int Constructor public string NativeProvider { get; set; } public TLDataJSON NativeParams { get; set; } public TLPaymentRequestedInfo SavedInfo { get; set; } - public PaymentSavedCredentials SavedCredentials { get; set; } + // manual edit: PaymentSavedCredentials -> TLPaymentSavedCredentialsCard + public TLPaymentSavedCredentialsCard SavedCredentials { get; set; } public TLVector Users { get; set; } public void ComputeFlags() @@ -63,7 +64,8 @@ public override void DeserializeBody(BinaryReader br) SavedInfo = null; if ((Flags & 2) != 0) - SavedCredentials = (PaymentSavedCredentials)ObjectUtils.DeserializeObject(br); + // manual edit: PaymentSavedCredentials -> TLPaymentSavedCredentialsCard + SavedCredentials = (TLPaymentSavedCredentialsCard)ObjectUtils.DeserializeObject(br); else SavedCredentials = null; diff --git a/src/TeleSharp.TL/TL/TLChatPhoto.cs b/src/TeleSharp.TL/TL/TLChatPhoto.cs index 5b494821..4ce91d82 100644 --- a/src/TeleSharp.TL/TL/TLChatPhoto.cs +++ b/src/TeleSharp.TL/TL/TLChatPhoto.cs @@ -20,8 +20,10 @@ public override int Constructor } } - public FileLocation PhotoSmall { get; set; } - public FileLocation PhotoBig { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated PhotoSmall { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated PhotoBig { get; set; } public int DcId { get; set; } public void ComputeFlags() @@ -31,8 +33,10 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - PhotoSmall = (FileLocation)ObjectUtils.DeserializeObject(br); - PhotoBig = (FileLocation)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); DcId = br.ReadInt32(); } diff --git a/src/TeleSharp.TL/TL/TLJsonObject.cs b/src/TeleSharp.TL/TL/TLJsonObject.cs index 5b3d6118..3ec19d30 100644 --- a/src/TeleSharp.TL/TL/TLJsonObject.cs +++ b/src/TeleSharp.TL/TL/TLJsonObject.cs @@ -20,7 +20,8 @@ public override int Constructor } } - public TLVector Value { get; set; } + // manual edit: TLJSONObjectValue->TLJsonObjectValue + public TLVector Value { get; set; } public void ComputeFlags() { @@ -29,7 +30,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { - Value = (TLVector)ObjectUtils.DeserializeVector(br); + // manual edit: TLJSONObjectValue->TLJsonObjectValue + Value = (TLVector)ObjectUtils.DeserializeVector (br); } public override void SerializeBody(BinaryWriter bw) diff --git a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs index 1be6cc4a..30812b91 100644 --- a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs @@ -21,7 +21,8 @@ public override int Constructor } public string Type { get; set; } - public FileLocation Location { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated Location { get; set; } public int W { get; set; } public int H { get; set; } public byte[] Bytes { get; set; } @@ -34,7 +35,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (FileLocation)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Bytes = BytesUtil.Deserialize(br); diff --git a/src/TeleSharp.TL/TL/TLPhotoSize.cs b/src/TeleSharp.TL/TL/TLPhotoSize.cs index cc5d94c6..22b6f1ac 100644 --- a/src/TeleSharp.TL/TL/TLPhotoSize.cs +++ b/src/TeleSharp.TL/TL/TLPhotoSize.cs @@ -21,7 +21,8 @@ public override int Constructor } public string Type { get; set; } - public FileLocation Location { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated Location { get; set; } public int W { get; set; } public int H { get; set; } public int Size { get; set; } @@ -34,7 +35,8 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { Type = StringUtil.Deserialize(br); - Location = (FileLocation)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + Location = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); W = br.ReadInt32(); H = br.ReadInt32(); Size = br.ReadInt32(); diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs index fefd669e..cafe6a47 100644 --- a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs +++ b/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs @@ -21,8 +21,10 @@ public override int Constructor } public long PhotoId { get; set; } - public FileLocation PhotoSmall { get; set; } - public FileLocation PhotoBig { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated PhotoSmall { get; set; } + // manual edit: FileLocation->TLFileLocationToBeDeprecated + public TLFileLocationToBeDeprecated PhotoBig { get; set; } public int DcId { get; set; } public void ComputeFlags() @@ -33,8 +35,10 @@ public void ComputeFlags() public override void DeserializeBody(BinaryReader br) { PhotoId = br.ReadInt64(); - PhotoSmall = (FileLocation)ObjectUtils.DeserializeObject(br); - PhotoBig = (FileLocation)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + PhotoSmall = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); + // manual edit: FileLocation->TLFileLocationToBeDeprecated + PhotoBig = (TLFileLocationToBeDeprecated)ObjectUtils.DeserializeObject(br); DcId = br.ReadInt32(); } diff --git a/src/TeleSharp.TL/TL/TLVector.cs b/src/TeleSharp.TL/TL/TLVector.cs deleted file mode 100644 index 15a02055..00000000 --- a/src/TeleSharp.TL/TL/TLVector.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -using TeleSharp.TL; - -namespace TeleSharp.TL -{ - [TLObject(481674261)] - public class TLVector : TLObject - { - public override int Constructor - { - get - { - return 481674261; - } - } - - // no fields - - public void ComputeFlags() - { - // do nothing - } - - public override void DeserializeBody(BinaryReader br) - { - // do nothing - } - - public override void SerializeBody(BinaryWriter bw) - { - bw.Write(Constructor); - // do nothing - } - } -} diff --git a/src/TeleSharp.TL/TL/TLWebPage.cs b/src/TeleSharp.TL/TL/TLWebPage.cs index ca6dec36..7685bdf7 100644 --- a/src/TeleSharp.TL/TL/TLWebPage.cs +++ b/src/TeleSharp.TL/TL/TLWebPage.cs @@ -38,7 +38,8 @@ public override int Constructor public string Author { get; set; } public TLAbsDocument Document { get; set; } public TLPage CachedPage { get; set; } - public TLVector Attributes { get; set; } + // manual edit: WebPageAttribute->TLWebPageAttributeTheme + public TLVector Attributes { get; set; } public void ComputeFlags() { @@ -118,7 +119,8 @@ public override void DeserializeBody(BinaryReader br) CachedPage = null; if ((Flags & 4096) != 0) - Attributes = (TLVector)ObjectUtils.DeserializeVector(br); + // manual edit: WebPageAttribute->TLWebPageAttributeTheme + Attributes = (TLVector)ObjectUtils.DeserializeVector (br); else Attributes = null; From 0b7664e5f241a3ee8b928c7825f0f57b7ce15471 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 16 Apr 2020 16:55:46 +0800 Subject: [PATCH 09/12] Rename TeleSharp.Generator->TgSharp.Generator For consistency. --- src/TeleSharp.Generator/Models/TlSchema.cs | 14 -------------- .../App.config | 0 .../Constructor.tmp | 0 .../ConstructorAbs.tmp | 0 .../Method.tmp | 0 .../Models/Constructor.cs} | 7 ++++--- .../Models/Function.cs} | 8 +++++--- .../Models/Param.cs} | 4 ++-- src/TgSharp.Generator/Models/Schema.cs | 14 ++++++++++++++ .../Program.cs | 17 +++++++++-------- .../Properties/AssemblyInfo.cs | 4 ++-- .../TgSharp.Generator.csproj} | 12 ++++++------ .../packages.config | 0 src/TgSharp.sln | 2 +- 14 files changed, 43 insertions(+), 39 deletions(-) delete mode 100644 src/TeleSharp.Generator/Models/TlSchema.cs rename src/{TeleSharp.Generator => TgSharp.Generator}/App.config (100%) rename src/{TeleSharp.Generator => TgSharp.Generator}/Constructor.tmp (100%) rename src/{TeleSharp.Generator => TgSharp.Generator}/ConstructorAbs.tmp (100%) rename src/{TeleSharp.Generator => TgSharp.Generator}/Method.tmp (100%) rename src/{TeleSharp.Generator/Models/TlConstructor.cs => TgSharp.Generator/Models/Constructor.cs} (73%) rename src/{TeleSharp.Generator/Models/TlMethod.cs => TgSharp.Generator/Models/Function.cs} (63%) rename src/{TeleSharp.Generator/Models/TlParam.cs => TgSharp.Generator/Models/Param.cs} (74%) create mode 100644 src/TgSharp.Generator/Models/Schema.cs rename src/{TeleSharp.Generator => TgSharp.Generator}/Program.cs (98%) rename src/{TeleSharp.Generator => TgSharp.Generator}/Properties/AssemblyInfo.cs (92%) rename src/{TeleSharp.Generator/TeleSharp.Generator.csproj => TgSharp.Generator/TgSharp.Generator.csproj} (91%) rename src/{TeleSharp.Generator => TgSharp.Generator}/packages.config (100%) diff --git a/src/TeleSharp.Generator/Models/TlSchema.cs b/src/TeleSharp.Generator/Models/TlSchema.cs deleted file mode 100644 index ca1d82e5..00000000 --- a/src/TeleSharp.Generator/Models/TlSchema.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace TeleSharp.Generator.Models -{ - internal class TlSchema - { - [JsonProperty("constructors")] - public List Constructors { get; set; } - - [JsonProperty("methods")] - public List Methods { get; set; } - } -} \ No newline at end of file diff --git a/src/TeleSharp.Generator/App.config b/src/TgSharp.Generator/App.config similarity index 100% rename from src/TeleSharp.Generator/App.config rename to src/TgSharp.Generator/App.config diff --git a/src/TeleSharp.Generator/Constructor.tmp b/src/TgSharp.Generator/Constructor.tmp similarity index 100% rename from src/TeleSharp.Generator/Constructor.tmp rename to src/TgSharp.Generator/Constructor.tmp diff --git a/src/TeleSharp.Generator/ConstructorAbs.tmp b/src/TgSharp.Generator/ConstructorAbs.tmp similarity index 100% rename from src/TeleSharp.Generator/ConstructorAbs.tmp rename to src/TgSharp.Generator/ConstructorAbs.tmp diff --git a/src/TeleSharp.Generator/Method.tmp b/src/TgSharp.Generator/Method.tmp similarity index 100% rename from src/TeleSharp.Generator/Method.tmp rename to src/TgSharp.Generator/Method.tmp diff --git a/src/TeleSharp.Generator/Models/TlConstructor.cs b/src/TgSharp.Generator/Models/Constructor.cs similarity index 73% rename from src/TeleSharp.Generator/Models/TlConstructor.cs rename to src/TgSharp.Generator/Models/Constructor.cs index 9c0ee4e7..f1b8058e 100644 --- a/src/TeleSharp.Generator/Models/TlConstructor.cs +++ b/src/TgSharp.Generator/Models/Constructor.cs @@ -1,9 +1,10 @@ using System.Collections.Generic; + using Newtonsoft.Json; -namespace TeleSharp.Generator.Models +namespace TgSharp.Generator.Models { - internal class TlConstructor + internal class Constructor { [JsonProperty("id")] public int Id { get; set; } @@ -12,7 +13,7 @@ internal class TlConstructor public string Predicate { get; set; } [JsonProperty("params")] - public List Params { get; set; } + public List Params { get; set; } [JsonProperty("type")] public string Type { get; set; } diff --git a/src/TeleSharp.Generator/Models/TlMethod.cs b/src/TgSharp.Generator/Models/Function.cs similarity index 63% rename from src/TeleSharp.Generator/Models/TlMethod.cs rename to src/TgSharp.Generator/Models/Function.cs index a1e4b66c..64588a49 100644 --- a/src/TeleSharp.Generator/Models/TlMethod.cs +++ b/src/TgSharp.Generator/Models/Function.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; + using Newtonsoft.Json; -namespace TeleSharp.Generator.Models +namespace TgSharp.Generator.Models { - internal class TlMethod + //called 'Function' because C# compiler doesn't let a property name == class + internal class Function { [JsonProperty("id")] public int Id { get; set; } @@ -12,7 +14,7 @@ internal class TlMethod public string Method { get; set; } [JsonProperty("params")] - public List Params { get; set; } + public List Params { get; set; } [JsonProperty("type")] public string Type { get; set; } diff --git a/src/TeleSharp.Generator/Models/TlParam.cs b/src/TgSharp.Generator/Models/Param.cs similarity index 74% rename from src/TeleSharp.Generator/Models/TlParam.cs rename to src/TgSharp.Generator/Models/Param.cs index 8cae783f..a919935a 100644 --- a/src/TeleSharp.Generator/Models/TlParam.cs +++ b/src/TgSharp.Generator/Models/Param.cs @@ -1,8 +1,8 @@ using Newtonsoft.Json; -namespace TeleSharp.Generator.Models +namespace TgSharp.Generator.Models { - internal class TlParam + internal class Param { [JsonProperty("name")] public string Name { get; set; } diff --git a/src/TgSharp.Generator/Models/Schema.cs b/src/TgSharp.Generator/Models/Schema.cs new file mode 100644 index 00000000..f21431cd --- /dev/null +++ b/src/TgSharp.Generator/Models/Schema.cs @@ -0,0 +1,14 @@ +using System.Collections.Generic; +using Newtonsoft.Json; + +namespace TgSharp.Generator.Models +{ + internal class Schema + { + [JsonProperty("constructors")] + public List Constructors { get; set; } + + [JsonProperty("methods")] + public List Methods { get; set; } + } +} \ No newline at end of file diff --git a/src/TeleSharp.Generator/Program.cs b/src/TgSharp.Generator/Program.cs similarity index 98% rename from src/TeleSharp.Generator/Program.cs rename to src/TgSharp.Generator/Program.cs index 71ffc024..2afa9df4 100644 --- a/src/TeleSharp.Generator/Program.cs +++ b/src/TgSharp.Generator/Program.cs @@ -3,9 +3,10 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using TeleSharp.Generator.Models; -namespace TeleSharp.Generator +using TgSharp.Generator.Models; + +namespace TgSharp.Generator { class Program { @@ -88,7 +89,7 @@ static void Main(string[] args) } FileStream file = File.OpenWrite("Result.cs"); StreamWriter sw = new StreamWriter(file); - TlSchema schema = JsonConvert.DeserializeObject(Json); + Schema schema = JsonConvert.DeserializeObject(Json); foreach (var c in schema.Constructors) { interfacesList.Add(c.Type); @@ -343,7 +344,7 @@ static void Main(string[] args) #endregion #region DeSerializeRespFunc var deserializeResp = ""; - TlParam p2 = new TlParam() { Name = "Response", Type = c.Type }; + var p2 = new Param() { Name = "Response", Type = c.Type }; deserializeResp += WriteReadCode(p2); temp = temp.Replace("/* DESERIALIZEResp */", deserializeResp); #endregion @@ -506,7 +507,7 @@ public static string LookTypeInLists(string src) return src; } - public static string WriteWriteCode(TlParam p, bool flag = false) + public static string WriteWriteCode(Param p, bool flag = false) { switch (p.Type.ToLower()) { @@ -534,7 +535,7 @@ public static string WriteWriteCode(TlParam p, bool flag = false) return $""; else { - TlParam p2 = new TlParam() { Name = p.Name, Type = p.Type.Split('?')[1] }; + Param p2 = new Param() { Name = p.Name, Type = p.Type.Split('?')[1] }; return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + Environment.NewLine + " " + WriteWriteCode(p2, true); @@ -542,7 +543,7 @@ public static string WriteWriteCode(TlParam p, bool flag = false) } } } - public static string WriteReadCode(TlParam p) + public static string WriteReadCode(Param p) { switch (p.Type.ToLower()) { @@ -575,7 +576,7 @@ public static string WriteReadCode(TlParam p) return $"{CheckForKeywordAndPascalCase(p.Name)} = (Flags & {GetBitMask(p.Type).ToString()}) != 0;"; else { - TlParam p2 = new TlParam() { Name = p.Name, Type = p.Type.Split('?')[1] }; + Param p2 = new Param() { Name = p.Name, Type = p.Type.Split('?')[1] }; return $"if ((Flags & {GetBitMask(p.Type).ToString()}) != 0)" + Environment.NewLine + " " + WriteReadCode(p2) + Environment.NewLine + " " + diff --git a/src/TeleSharp.Generator/Properties/AssemblyInfo.cs b/src/TgSharp.Generator/Properties/AssemblyInfo.cs similarity index 92% rename from src/TeleSharp.Generator/Properties/AssemblyInfo.cs rename to src/TgSharp.Generator/Properties/AssemblyInfo.cs index 7c4146a3..57c37c70 100644 --- a/src/TeleSharp.Generator/Properties/AssemblyInfo.cs +++ b/src/TgSharp.Generator/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("TeleSharp.Generator")] +[assembly: AssemblyTitle("TgSharp.Generator")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TeleSharp.Generator")] +[assembly: AssemblyProduct("TgSharp.Generator")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/TeleSharp.Generator/TeleSharp.Generator.csproj b/src/TgSharp.Generator/TgSharp.Generator.csproj similarity index 91% rename from src/TeleSharp.Generator/TeleSharp.Generator.csproj rename to src/TgSharp.Generator/TgSharp.Generator.csproj index ec8fd85c..1d651a52 100644 --- a/src/TeleSharp.Generator/TeleSharp.Generator.csproj +++ b/src/TgSharp.Generator/TgSharp.Generator.csproj @@ -7,8 +7,8 @@ {9BE3B9D4-9FF6-4DC8-B9CC-EB2E3F390129} Exe Properties - TeleSharp.Generator - TeleSharp.Generator + TgSharp.Generator + TgSharp.Generator v4.6 512 true @@ -48,12 +48,12 @@ - + - - - + + + diff --git a/src/TeleSharp.Generator/packages.config b/src/TgSharp.Generator/packages.config similarity index 100% rename from src/TeleSharp.Generator/packages.config rename to src/TgSharp.Generator/packages.config diff --git a/src/TgSharp.sln b/src/TgSharp.sln index 7b36be73..1b09fc71 100644 --- a/src/TgSharp.sln +++ b/src/TgSharp.sln @@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Core", "TgSharp.Cor EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeleSharp.TL", "TeleSharp.TL\TeleSharp.TL.csproj", "{D6144517-91D2-4880-86DF-E9FF5D7F383A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeleSharp.Generator", "TeleSharp.Generator\TeleSharp.Generator.csproj", "{9BE3B9D4-9FF6-4DC8-B9CC-EB2E3F390129}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Generator", "TgSharp.Generator\TgSharp.Generator.csproj", "{9BE3B9D4-9FF6-4DC8-B9CC-EB2E3F390129}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Tests", "TgSharp.Tests\TgSharp.Tests.csproj", "{DE5C0467-EE99-4734-95F2-EFF7A0B99924}" EndProject From 1bbfa08eda52b8abcca7a87bcc5ca624ec01c579 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 16 Apr 2020 17:20:26 +0800 Subject: [PATCH 10/12] Generator: start rename of TeleSharp.TL->TgSharp.TL assembly (1/3) --- src/TgSharp.Generator/Constructor.tmp | 2 +- src/TgSharp.Generator/ConstructorAbs.tmp | 2 +- src/TgSharp.Generator/Method.tmp | 2 +- src/TgSharp.Generator/Program.cs | 25 +++++++++++++----------- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/TgSharp.Generator/Constructor.tmp b/src/TgSharp.Generator/Constructor.tmp index ccf59038..a8d85c31 100644 --- a/src/TgSharp.Generator/Constructor.tmp +++ b/src/TgSharp.Generator/Constructor.tmp @@ -5,7 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; namespace /* NAMESPACE */ { diff --git a/src/TgSharp.Generator/ConstructorAbs.tmp b/src/TgSharp.Generator/ConstructorAbs.tmp index 93fa425c..7e1b12cf 100644 --- a/src/TgSharp.Generator/ConstructorAbs.tmp +++ b/src/TgSharp.Generator/ConstructorAbs.tmp @@ -5,7 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; namespace /* NAMESPACE */ { diff --git a/src/TgSharp.Generator/Method.tmp b/src/TgSharp.Generator/Method.tmp index f19c2c8d..0065ff53 100644 --- a/src/TgSharp.Generator/Method.tmp +++ b/src/TgSharp.Generator/Method.tmp @@ -5,7 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; namespace /* NAMESPACE */ { diff --git a/src/TgSharp.Generator/Program.cs b/src/TgSharp.Generator/Program.cs index 2afa9df4..278d4cee 100644 --- a/src/TgSharp.Generator/Program.cs +++ b/src/TgSharp.Generator/Program.cs @@ -18,6 +18,8 @@ class Program static string constructorTemplate = "Constructor.tmp"; static string methodTemplate = "Method.tmp"; + static string rootNamespace = "TgSharp"; + static List templateFiles = new List (new [] { constructorAbsTemplate, constructorTemplate, @@ -102,7 +104,7 @@ static void Main(string[] args) { string path = (GetNameSpace(c.Type) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "") + Path.DirectorySeparatorChar + GetNameofClass(c.Type, true) + ".cs") .Replace("\\\\", Path.DirectorySeparatorChar.ToString()); @@ -111,13 +113,13 @@ static void Main(string[] args) { string nspace = (GetNameSpace(c.Type) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "")) .Replace("\\\\", Path.DirectorySeparatorChar.ToString()) .Replace(Path.DirectorySeparatorChar, '.'); if (nspace.EndsWith(".")) nspace = nspace.Remove(nspace.Length - 1, 1); - string temp = absStyle.Replace("/* NAMESPACE */", "TeleSharp." + nspace); + string temp = absStyle.Replace("/* NAMESPACE */", rootNamespace + "." + nspace); temp = temp.Replace("/* NAME */", GetNameofClass(c.Type, true)); writer.Write(temp); writer.Close(); @@ -134,7 +136,7 @@ static void Main(string[] args) { string path = (GetNameSpace(c.Predicate) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "") + Path.DirectorySeparatorChar + GetNameofClass(c.Predicate, false) + ".cs") .Replace("\\\\", Path.DirectorySeparatorChar.ToString()); @@ -144,13 +146,13 @@ static void Main(string[] args) #region About Class string nspace = (GetNameSpace(c.Predicate) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "")) .Replace("\\\\", Path.DirectorySeparatorChar.ToString()) .Replace(Path.DirectorySeparatorChar, '.'); if (nspace.EndsWith(".")) nspace = nspace.Remove(nspace.Length - 1, 1); - string temp = normalStyle.Replace("/* NAMESPACE */", "TeleSharp." + nspace); + string temp = normalStyle.Replace("/* NAMESPACE */", rootNamespace + "." + nspace); temp = (c.Type == "himself") ? temp.Replace("/* PARENT */", "TLObject") : temp.Replace("/* PARENT */", GetNameofClass(c.Type, true)); temp = temp.Replace("/*Constructor*/", c.Id.ToString()); temp = temp.Replace("/* NAME */", GetNameofClass(c.Predicate, false)); @@ -241,7 +243,7 @@ static void Main(string[] args) { string path = (GetNameSpace(c.Method) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "") + Path.DirectorySeparatorChar + GetNameofClass(c.Method, false, true) + ".cs") .Replace("\\\\", Path.DirectorySeparatorChar.ToString()); @@ -251,13 +253,13 @@ static void Main(string[] args) #region About Class string nspace = (GetNameSpace(c.Method) - .Replace("TeleSharp.TL", "TL" + Path.DirectorySeparatorChar) + .Replace(rootNamespace + ".TL", "TL" + Path.DirectorySeparatorChar) .Replace(".", "")) .Replace("\\\\", Path.DirectorySeparatorChar.ToString()) .Replace(Path.DirectorySeparatorChar, '.'); if (nspace.EndsWith(".")) nspace = nspace.Remove(nspace.Length - 1, 1); - string temp = methodStyle.Replace("/* NAMESPACE */", "TeleSharp." + nspace); + string temp = methodStyle.Replace("/* NAMESPACE */", rootNamespace + "." + nspace); temp = temp.Replace("/* PARENT */", "TLMethod"); temp = temp.Replace("/*Constructor*/", c.Id.ToString()); temp = temp.Replace("/* NAME */", GetNameofClass(c.Method, false, true)); @@ -421,10 +423,11 @@ private static bool IsTrueFlag(string type) public static string GetNameSpace(string type) { + var baseNamespace = rootNamespace + ".TL"; if (type.IndexOf('.') != -1) - return "TeleSharp.TL" + FormatName(type.Split('.')[0]); + return baseNamespace + FormatName(type.Split('.')[0]); else - return "TeleSharp.TL"; + return baseNamespace; } public static string CheckForFlagBase(string type, string result) From e0a5df360d4a0b6f6a26ab6c3c40217a6a25fc22 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 16 Apr 2020 17:30:24 +0800 Subject: [PATCH 11/12] Rename TeleSharp.TL->TgSharp.TL (2/3) --- src/TgSharp.Core/TgSharp.Core.csproj | 2 +- src/TgSharp.Core/TgSharp.Core.nuspec | 2 +- src/{TeleSharp.TL => TgSharp.TL}/ObjectDeserializer.cs | 0 .../Properties/AssemblyInfo.cs | 4 ++-- .../TL/Account/TLAbsThemes.cs | 0 .../TL/Account/TLAbsWallPapers.cs | 0 .../TL/Account/TLAuthorizationForm.cs | 0 .../TL/Account/TLAuthorizations.cs | 0 .../TL/Account/TLAutoDownloadSettings.cs | 0 .../TL/Account/TLContentSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLPassword.cs | 0 .../TL/Account/TLPasswordInputSettings.cs | 0 .../TL/Account/TLPasswordSettings.cs | 0 .../TL/Account/TLPrivacyRules.cs | 0 .../TL/Account/TLRequestAcceptAuthorization.cs | 0 .../TL/Account/TLRequestCancelPasswordEmail.cs | 0 .../TL/Account/TLRequestChangePhone.cs | 0 .../TL/Account/TLRequestCheckUsername.cs | 0 .../TL/Account/TLRequestConfirmPasswordEmail.cs | 0 .../TL/Account/TLRequestConfirmPhone.cs | 0 .../TL/Account/TLRequestCreateTheme.cs | 0 .../TL/Account/TLRequestDeleteAccount.cs | 0 .../TL/Account/TLRequestDeleteSecureValue.cs | 0 .../TL/Account/TLRequestFinishTakeoutSession.cs | 0 .../TL/Account/TLRequestGetAccountTTL.cs | 0 .../TL/Account/TLRequestGetAllSecureValues.cs | 0 .../TL/Account/TLRequestGetAuthorizationForm.cs | 0 .../TL/Account/TLRequestGetAuthorizations.cs | 0 .../TL/Account/TLRequestGetAutoDownloadSettings.cs | 0 .../TL/Account/TLRequestGetContactSignUpNotification.cs | 0 .../TL/Account/TLRequestGetContentSettings.cs | 0 .../TL/Account/TLRequestGetMultiWallPapers.cs | 0 .../TL/Account/TLRequestGetNotifyExceptions.cs | 0 .../TL/Account/TLRequestGetNotifySettings.cs | 0 .../TL/Account/TLRequestGetPassword.cs | 0 .../TL/Account/TLRequestGetPasswordSettings.cs | 0 .../TL/Account/TLRequestGetPrivacy.cs | 0 .../TL/Account/TLRequestGetSecureValue.cs | 0 .../TL/Account/TLRequestGetTheme.cs | 0 .../TL/Account/TLRequestGetThemes.cs | 0 .../TL/Account/TLRequestGetTmpPassword.cs | 0 .../TL/Account/TLRequestGetWallPaper.cs | 0 .../TL/Account/TLRequestGetWallPapers.cs | 0 .../TL/Account/TLRequestGetWebAuthorizations.cs | 0 .../TL/Account/TLRequestInitTakeoutSession.cs | 0 .../TL/Account/TLRequestInstallTheme.cs | 0 .../TL/Account/TLRequestInstallWallPaper.cs | 0 .../TL/Account/TLRequestRegisterDevice.cs | 0 .../TL/Account/TLRequestReportPeer.cs | 0 .../TL/Account/TLRequestResendPasswordEmail.cs | 0 .../TL/Account/TLRequestResetAuthorization.cs | 0 .../TL/Account/TLRequestResetNotifySettings.cs | 0 .../TL/Account/TLRequestResetWallPapers.cs | 0 .../TL/Account/TLRequestResetWebAuthorization.cs | 0 .../TL/Account/TLRequestResetWebAuthorizations.cs | 0 .../TL/Account/TLRequestSaveAutoDownloadSettings.cs | 0 .../TL/Account/TLRequestSaveSecureValue.cs | 0 .../TL/Account/TLRequestSaveTheme.cs | 0 .../TL/Account/TLRequestSaveWallPaper.cs | 0 .../TL/Account/TLRequestSendChangePhoneCode.cs | 0 .../TL/Account/TLRequestSendConfirmPhoneCode.cs | 0 .../TL/Account/TLRequestSendVerifyEmailCode.cs | 0 .../TL/Account/TLRequestSendVerifyPhoneCode.cs | 0 .../TL/Account/TLRequestSetAccountTTL.cs | 0 .../TL/Account/TLRequestSetContactSignUpNotification.cs | 0 .../TL/Account/TLRequestSetContentSettings.cs | 0 .../TL/Account/TLRequestSetPrivacy.cs | 0 .../TL/Account/TLRequestUnregisterDevice.cs | 0 .../TL/Account/TLRequestUpdateDeviceLocked.cs | 0 .../TL/Account/TLRequestUpdateNotifySettings.cs | 0 .../TL/Account/TLRequestUpdatePasswordSettings.cs | 0 .../TL/Account/TLRequestUpdateProfile.cs | 0 .../TL/Account/TLRequestUpdateStatus.cs | 0 .../TL/Account/TLRequestUpdateTheme.cs | 0 .../TL/Account/TLRequestUpdateUsername.cs | 0 .../TL/Account/TLRequestUploadTheme.cs | 0 .../TL/Account/TLRequestUploadWallPaper.cs | 0 .../TL/Account/TLRequestVerifyEmail.cs | 0 .../TL/Account/TLRequestVerifyPhone.cs | 0 .../TL/Account/TLSentEmailCode.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLTakeout.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLThemes.cs | 0 .../TL/Account/TLThemesNotModified.cs | 0 .../TL/Account/TLTmpPassword.cs | 0 .../TL/Account/TLWallPapers.cs | 0 .../TL/Account/TLWallPapersNotModified.cs | 0 .../TL/Account/TLWebAuthorizations.cs | 0 .../TL/Auth/TLAbsAuthorization.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAbsCodeType.cs | 0 .../TL/Auth/TLAbsLoginToken.cs | 0 .../TL/Auth/TLAbsSentCodeType.cs | 0 .../TL/Auth/TLAuthorization.cs | 0 .../TL/Auth/TLAuthorizationSignUpRequired.cs | 0 .../TL/Auth/TLCodeTypeCall.cs | 0 .../TL/Auth/TLCodeTypeFlashCall.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLCodeTypeSms.cs | 0 .../TL/Auth/TLExportedAuthorization.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLLoginToken.cs | 0 .../TL/Auth/TLLoginTokenMigrateTo.cs | 0 .../TL/Auth/TLLoginTokenSuccess.cs | 0 .../TL/Auth/TLPasswordRecovery.cs | 0 .../TL/Auth/TLRequestAcceptLoginToken.cs | 0 .../TL/Auth/TLRequestBindTempAuthKey.cs | 0 .../TL/Auth/TLRequestCancelCode.cs | 0 .../TL/Auth/TLRequestCheckPassword.cs | 0 .../TL/Auth/TLRequestDropTempAuthKeys.cs | 0 .../TL/Auth/TLRequestExportAuthorization.cs | 0 .../TL/Auth/TLRequestExportLoginToken.cs | 0 .../TL/Auth/TLRequestImportAuthorization.cs | 0 .../TL/Auth/TLRequestImportBotAuthorization.cs | 0 .../TL/Auth/TLRequestImportLoginToken.cs | 0 .../TL/Auth/TLRequestLogOut.cs | 0 .../TL/Auth/TLRequestRecoverPassword.cs | 0 .../TL/Auth/TLRequestRequestPasswordRecovery.cs | 0 .../TL/Auth/TLRequestResendCode.cs | 0 .../TL/Auth/TLRequestResetAuthorizations.cs | 0 .../TL/Auth/TLRequestSendCode.cs | 0 .../TL/Auth/TLRequestSignIn.cs | 0 .../TL/Auth/TLRequestSignUp.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCode.cs | 0 .../TL/Auth/TLSentCodeTypeApp.cs | 0 .../TL/Auth/TLSentCodeTypeCall.cs | 0 .../TL/Auth/TLSentCodeTypeFlashCall.cs | 0 .../TL/Auth/TLSentCodeTypeSms.cs | 0 .../TL/Bots/TLRequestAnswerWebhookJSONQuery.cs | 0 .../TL/Bots/TLRequestSendCustomRequest.cs | 0 .../TL/Channels/TLAbsChannelParticipants.cs | 0 .../TL/Channels/TLAdminLogResults.cs | 0 .../TL/Channels/TLChannelParticipant.cs | 0 .../TL/Channels/TLChannelParticipants.cs | 0 .../TL/Channels/TLChannelParticipantsNotModified.cs | 0 .../TL/Channels/TLRequestCheckUsername.cs | 0 .../TL/Channels/TLRequestCreateChannel.cs | 0 .../TL/Channels/TLRequestDeleteChannel.cs | 0 .../TL/Channels/TLRequestDeleteHistory.cs | 0 .../TL/Channels/TLRequestDeleteMessages.cs | 0 .../TL/Channels/TLRequestDeleteUserHistory.cs | 0 .../TL/Channels/TLRequestEditAdmin.cs | 0 .../TL/Channels/TLRequestEditBanned.cs | 0 .../TL/Channels/TLRequestEditCreator.cs | 0 .../TL/Channels/TLRequestEditLocation.cs | 0 .../TL/Channels/TLRequestEditPhoto.cs | 0 .../TL/Channels/TLRequestEditTitle.cs | 0 .../TL/Channels/TLRequestExportMessageLink.cs | 0 .../TL/Channels/TLRequestGetAdminLog.cs | 0 .../TL/Channels/TLRequestGetAdminedPublicChannels.cs | 0 .../TL/Channels/TLRequestGetChannels.cs | 0 .../TL/Channels/TLRequestGetFullChannel.cs | 0 .../TL/Channels/TLRequestGetGroupsForDiscussion.cs | 0 .../TL/Channels/TLRequestGetInactiveChannels.cs | 0 .../TL/Channels/TLRequestGetLeftChannels.cs | 0 .../TL/Channels/TLRequestGetMessages.cs | 0 .../TL/Channels/TLRequestGetParticipant.cs | 0 .../TL/Channels/TLRequestGetParticipants.cs | 0 .../TL/Channels/TLRequestInviteToChannel.cs | 0 .../TL/Channels/TLRequestJoinChannel.cs | 0 .../TL/Channels/TLRequestLeaveChannel.cs | 0 .../TL/Channels/TLRequestReadHistory.cs | 0 .../TL/Channels/TLRequestReadMessageContents.cs | 0 .../TL/Channels/TLRequestReportSpam.cs | 0 .../TL/Channels/TLRequestSetDiscussionGroup.cs | 0 .../TL/Channels/TLRequestSetStickers.cs | 0 .../TL/Channels/TLRequestTogglePreHistoryHidden.cs | 0 .../TL/Channels/TLRequestToggleSignatures.cs | 0 .../TL/Channels/TLRequestToggleSlowMode.cs | 0 .../TL/Channels/TLRequestUpdateUsername.cs | 0 .../TL/Contacts/TLAbsBlocked.cs | 0 .../TL/Contacts/TLAbsContacts.cs | 0 .../TL/Contacts/TLAbsTopPeers.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLBlocked.cs | 0 .../TL/Contacts/TLBlockedSlice.cs | 0 .../TL/Contacts/TLContacts.cs | 0 .../TL/Contacts/TLContactsNotModified.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLFound.cs | 0 .../TL/Contacts/TLImportedContacts.cs | 0 .../TL/Contacts/TLRequestAcceptContact.cs | 0 .../TL/Contacts/TLRequestAddContact.cs | 0 .../TL/Contacts/TLRequestBlock.cs | 0 .../TL/Contacts/TLRequestDeleteByPhones.cs | 0 .../TL/Contacts/TLRequestDeleteContacts.cs | 0 .../TL/Contacts/TLRequestGetBlocked.cs | 0 .../TL/Contacts/TLRequestGetContactIDs.cs | 0 .../TL/Contacts/TLRequestGetContacts.cs | 0 .../TL/Contacts/TLRequestGetLocated.cs | 0 .../TL/Contacts/TLRequestGetSaved.cs | 0 .../TL/Contacts/TLRequestGetStatuses.cs | 0 .../TL/Contacts/TLRequestGetTopPeers.cs | 0 .../TL/Contacts/TLRequestImportContacts.cs | 0 .../TL/Contacts/TLRequestResetSaved.cs | 0 .../TL/Contacts/TLRequestResetTopPeerRating.cs | 0 .../TL/Contacts/TLRequestResolveUsername.cs | 0 .../TL/Contacts/TLRequestSearch.cs | 0 .../TL/Contacts/TLRequestToggleTopPeers.cs | 0 .../TL/Contacts/TLRequestUnblock.cs | 0 .../TL/Contacts/TLResolvedPeer.cs | 0 .../TL/Contacts/TLTopPeers.cs | 0 .../TL/Contacts/TLTopPeersDisabled.cs | 0 .../TL/Contacts/TLTopPeersNotModified.cs | 0 .../TL/Folders/TLRequestDeleteFolder.cs | 0 .../TL/Folders/TLRequestEditPeerFolders.cs | 0 .../TL/Help/TLAbsAppUpdate.cs | 0 .../TL/Help/TLAbsDeepLinkInfo.cs | 0 .../TL/Help/TLAbsPassportConfig.cs | 0 .../TL/Help/TLAbsProxyData.cs | 0 .../TL/Help/TLAbsTermsOfServiceUpdate.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsUserInfo.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAppUpdate.cs | 0 .../TL/Help/TLDeepLinkInfo.cs | 0 .../TL/Help/TLDeepLinkInfoEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLInviteText.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLNoAppUpdate.cs | 0 .../TL/Help/TLPassportConfig.cs | 0 .../TL/Help/TLPassportConfigNotModified.cs | 0 .../TL/Help/TLProxyDataEmpty.cs | 0 .../TL/Help/TLProxyDataPromo.cs | 0 .../TL/Help/TLRecentMeUrls.cs | 0 .../TL/Help/TLRequestAcceptTermsOfService.cs | 0 .../TL/Help/TLRequestEditUserInfo.cs | 0 .../TL/Help/TLRequestGetAppChangelog.cs | 0 .../TL/Help/TLRequestGetAppConfig.cs | 0 .../TL/Help/TLRequestGetAppUpdate.cs | 0 .../TL/Help/TLRequestGetCdnConfig.cs | 0 .../TL/Help/TLRequestGetConfig.cs | 0 .../TL/Help/TLRequestGetDeepLinkInfo.cs | 0 .../TL/Help/TLRequestGetInviteText.cs | 0 .../TL/Help/TLRequestGetNearestDc.cs | 0 .../TL/Help/TLRequestGetPassportConfig.cs | 0 .../TL/Help/TLRequestGetProxyData.cs | 0 .../TL/Help/TLRequestGetRecentMeUrls.cs | 0 .../TL/Help/TLRequestGetSupport.cs | 0 .../TL/Help/TLRequestGetSupportName.cs | 0 .../TL/Help/TLRequestGetTermsOfServiceUpdate.cs | 0 .../TL/Help/TLRequestGetUserInfo.cs | 0 .../TL/Help/TLRequestSaveAppLog.cs | 0 .../TL/Help/TLRequestSetBotUpdatesStatus.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLSupport.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLSupportName.cs | 0 .../TL/Help/TLTermsOfService.cs | 0 .../TL/Help/TLTermsOfServiceUpdate.cs | 0 .../TL/Help/TLTermsOfServiceUpdateEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLUserInfo.cs | 0 .../TL/Help/TLUserInfoEmpty.cs | 0 .../TL/Langpack/TLRequestGetDifference.cs | 0 .../TL/Langpack/TLRequestGetLangPack.cs | 0 .../TL/Langpack/TLRequestGetLanguage.cs | 0 .../TL/Langpack/TLRequestGetLanguages.cs | 0 .../TL/Langpack/TLRequestGetStrings.cs | 0 .../TL/Messages/TLAbsAllStickers.cs | 0 .../TL/Messages/TLAbsChats.cs | 0 .../TL/Messages/TLAbsDhConfig.cs | 0 .../TL/Messages/TLAbsDialogs.cs | 0 .../TL/Messages/TLAbsFavedStickers.cs | 0 .../TL/Messages/TLAbsFeaturedStickers.cs | 0 .../TL/Messages/TLAbsFoundStickerSets.cs | 0 .../TL/Messages/TLAbsMessages.cs | 0 .../TL/Messages/TLAbsRecentStickers.cs | 0 .../TL/Messages/TLAbsSavedGifs.cs | 0 .../TL/Messages/TLAbsSentEncryptedMessage.cs | 0 .../TL/Messages/TLAbsStickerSetInstallResult.cs | 0 .../TL/Messages/TLAbsStickers.cs | 0 .../TL/Messages/TLAffectedHistory.cs | 0 .../TL/Messages/TLAffectedMessages.cs | 0 .../TL/Messages/TLAllStickers.cs | 0 .../TL/Messages/TLAllStickersNotModified.cs | 0 .../TL/Messages/TLArchivedStickers.cs | 0 .../TL/Messages/TLBotCallbackAnswer.cs | 0 .../TL/Messages/TLBotResults.cs | 0 .../TL/Messages/TLChannelMessages.cs | 0 .../TL/Messages/TLChatFull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLChats.cs | 0 .../TL/Messages/TLChatsSlice.cs | 0 .../TL/Messages/TLDhConfig.cs | 0 .../TL/Messages/TLDhConfigNotModified.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDialogs.cs | 0 .../TL/Messages/TLDialogsNotModified.cs | 0 .../TL/Messages/TLDialogsSlice.cs | 0 .../TL/Messages/TLFavedStickers.cs | 0 .../TL/Messages/TLFavedStickersNotModified.cs | 0 .../TL/Messages/TLFeaturedStickers.cs | 0 .../TL/Messages/TLFeaturedStickersNotModified.cs | 0 .../TL/Messages/TLFoundGifs.cs | 0 .../TL/Messages/TLFoundStickerSets.cs | 0 .../TL/Messages/TLFoundStickerSetsNotModified.cs | 0 .../TL/Messages/TLHighScores.cs | 0 .../TL/Messages/TLInactiveChats.cs | 0 .../TL/Messages/TLMessageEditData.cs | 0 .../TL/Messages/TLMessages.cs | 0 .../TL/Messages/TLMessagesNotModified.cs | 0 .../TL/Messages/TLMessagesSlice.cs | 0 .../TL/Messages/TLPeerDialogs.cs | 0 .../TL/Messages/TLRecentStickers.cs | 0 .../TL/Messages/TLRecentStickersNotModified.cs | 0 .../TL/Messages/TLRequestAcceptEncryption.cs | 0 .../TL/Messages/TLRequestAcceptUrlAuth.cs | 0 .../TL/Messages/TLRequestAddChatUser.cs | 0 .../TL/Messages/TLRequestCheckChatInvite.cs | 0 .../TL/Messages/TLRequestClearAllDrafts.cs | 0 .../TL/Messages/TLRequestClearRecentStickers.cs | 0 .../TL/Messages/TLRequestCreateChat.cs | 0 .../TL/Messages/TLRequestDeleteChatUser.cs | 0 .../TL/Messages/TLRequestDeleteHistory.cs | 0 .../TL/Messages/TLRequestDeleteMessages.cs | 0 .../TL/Messages/TLRequestDeleteScheduledMessages.cs | 0 .../TL/Messages/TLRequestDiscardEncryption.cs | 0 .../TL/Messages/TLRequestEditChatAbout.cs | 0 .../TL/Messages/TLRequestEditChatAdmin.cs | 0 .../TL/Messages/TLRequestEditChatDefaultBannedRights.cs | 0 .../TL/Messages/TLRequestEditChatPhoto.cs | 0 .../TL/Messages/TLRequestEditChatTitle.cs | 0 .../TL/Messages/TLRequestEditInlineBotMessage.cs | 0 .../TL/Messages/TLRequestEditMessage.cs | 0 .../TL/Messages/TLRequestExportChatInvite.cs | 0 .../TL/Messages/TLRequestFaveSticker.cs | 0 .../TL/Messages/TLRequestForwardMessages.cs | 0 .../TL/Messages/TLRequestGetAllChats.cs | 0 .../TL/Messages/TLRequestGetAllDrafts.cs | 0 .../TL/Messages/TLRequestGetAllStickers.cs | 0 .../TL/Messages/TLRequestGetArchivedStickers.cs | 0 .../TL/Messages/TLRequestGetAttachedStickers.cs | 0 .../TL/Messages/TLRequestGetBotCallbackAnswer.cs | 0 .../TL/Messages/TLRequestGetChats.cs | 0 .../TL/Messages/TLRequestGetCommonChats.cs | 0 .../TL/Messages/TLRequestGetDhConfig.cs | 0 .../TL/Messages/TLRequestGetDialogUnreadMarks.cs | 0 .../TL/Messages/TLRequestGetDialogs.cs | 0 .../TL/Messages/TLRequestGetDocumentByHash.cs | 0 .../TL/Messages/TLRequestGetEmojiKeywords.cs | 0 .../TL/Messages/TLRequestGetEmojiKeywordsDifference.cs | 0 .../TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs | 0 .../TL/Messages/TLRequestGetEmojiURL.cs | 0 .../TL/Messages/TLRequestGetFavedStickers.cs | 0 .../TL/Messages/TLRequestGetFeaturedStickers.cs | 0 .../TL/Messages/TLRequestGetFullChat.cs | 0 .../TL/Messages/TLRequestGetGameHighScores.cs | 0 .../TL/Messages/TLRequestGetHistory.cs | 0 .../TL/Messages/TLRequestGetInlineBotResults.cs | 0 .../TL/Messages/TLRequestGetInlineGameHighScores.cs | 0 .../TL/Messages/TLRequestGetMaskStickers.cs | 0 .../TL/Messages/TLRequestGetMessageEditData.cs | 0 .../TL/Messages/TLRequestGetMessages.cs | 0 .../TL/Messages/TLRequestGetMessagesViews.cs | 0 .../TL/Messages/TLRequestGetOnlines.cs | 0 .../TL/Messages/TLRequestGetPeerDialogs.cs | 0 .../TL/Messages/TLRequestGetPeerSettings.cs | 0 .../TL/Messages/TLRequestGetPinnedDialogs.cs | 0 .../TL/Messages/TLRequestGetPollResults.cs | 0 .../TL/Messages/TLRequestGetRecentLocations.cs | 0 .../TL/Messages/TLRequestGetRecentStickers.cs | 0 .../TL/Messages/TLRequestGetSavedGifs.cs | 0 .../TL/Messages/TLRequestGetScheduledHistory.cs | 0 .../TL/Messages/TLRequestGetScheduledMessages.cs | 0 .../TL/Messages/TLRequestGetSearchCounters.cs | 0 .../TL/Messages/TLRequestGetSplitRanges.cs | 0 .../TL/Messages/TLRequestGetStatsURL.cs | 0 .../TL/Messages/TLRequestGetStickerSet.cs | 0 .../TL/Messages/TLRequestGetStickers.cs | 0 .../TL/Messages/TLRequestGetUnreadMentions.cs | 0 .../TL/Messages/TLRequestGetWebPage.cs | 0 .../TL/Messages/TLRequestGetWebPagePreview.cs | 0 .../TL/Messages/TLRequestHidePeerSettingsBar.cs | 0 .../TL/Messages/TLRequestImportChatInvite.cs | 0 .../TL/Messages/TLRequestInstallStickerSet.cs | 0 .../TL/Messages/TLRequestMarkDialogUnread.cs | 0 .../TL/Messages/TLRequestMigrateChat.cs | 0 .../TL/Messages/TLRequestReadEncryptedHistory.cs | 0 .../TL/Messages/TLRequestReadFeaturedStickers.cs | 0 .../TL/Messages/TLRequestReadHistory.cs | 0 .../TL/Messages/TLRequestReadMentions.cs | 0 .../TL/Messages/TLRequestReadMessageContents.cs | 0 .../TL/Messages/TLRequestReceivedMessages.cs | 0 .../TL/Messages/TLRequestReceivedQueue.cs | 0 .../TL/Messages/TLRequestReorderPinnedDialogs.cs | 0 .../TL/Messages/TLRequestReorderStickerSets.cs | 0 .../TL/Messages/TLRequestReport.cs | 0 .../TL/Messages/TLRequestReportEncryptedSpam.cs | 0 .../TL/Messages/TLRequestReportSpam.cs | 0 .../TL/Messages/TLRequestRequestEncryption.cs | 0 .../TL/Messages/TLRequestRequestUrlAuth.cs | 0 .../TL/Messages/TLRequestSaveDraft.cs | 0 .../TL/Messages/TLRequestSaveGif.cs | 0 .../TL/Messages/TLRequestSaveRecentSticker.cs | 0 .../TL/Messages/TLRequestSearch.cs | 0 .../TL/Messages/TLRequestSearchGifs.cs | 0 .../TL/Messages/TLRequestSearchGlobal.cs | 0 .../TL/Messages/TLRequestSearchStickerSets.cs | 0 .../TL/Messages/TLRequestSendEncrypted.cs | 0 .../TL/Messages/TLRequestSendEncryptedFile.cs | 0 .../TL/Messages/TLRequestSendEncryptedService.cs | 0 .../TL/Messages/TLRequestSendInlineBotResult.cs | 0 .../TL/Messages/TLRequestSendMedia.cs | 0 .../TL/Messages/TLRequestSendMessage.cs | 0 .../TL/Messages/TLRequestSendMultiMedia.cs | 0 .../TL/Messages/TLRequestSendScheduledMessages.cs | 0 .../TL/Messages/TLRequestSendScreenshotNotification.cs | 0 .../TL/Messages/TLRequestSendVote.cs | 0 .../TL/Messages/TLRequestSetBotCallbackAnswer.cs | 0 .../TL/Messages/TLRequestSetBotPrecheckoutResults.cs | 0 .../TL/Messages/TLRequestSetBotShippingResults.cs | 0 .../TL/Messages/TLRequestSetEncryptedTyping.cs | 0 .../TL/Messages/TLRequestSetGameScore.cs | 0 .../TL/Messages/TLRequestSetInlineBotResults.cs | 0 .../TL/Messages/TLRequestSetInlineGameScore.cs | 0 .../TL/Messages/TLRequestSetTyping.cs | 0 .../TL/Messages/TLRequestStartBot.cs | 0 .../TL/Messages/TLRequestToggleDialogPin.cs | 0 .../TL/Messages/TLRequestUninstallStickerSet.cs | 0 .../TL/Messages/TLRequestUpdatePinnedMessage.cs | 0 .../TL/Messages/TLRequestUploadEncryptedFile.cs | 0 .../TL/Messages/TLRequestUploadMedia.cs | 0 .../TL/Messages/TLSavedGifs.cs | 0 .../TL/Messages/TLSavedGifsNotModified.cs | 0 .../TL/Messages/TLSearchCounter.cs | 0 .../TL/Messages/TLSentEncryptedFile.cs | 0 .../TL/Messages/TLSentEncryptedMessage.cs | 0 .../TL/Messages/TLStickerSet.cs | 0 .../TL/Messages/TLStickerSetInstallResultArchive.cs | 0 .../TL/Messages/TLStickerSetInstallResultSuccess.cs | 0 .../TL/Messages/TLStickers.cs | 0 .../TL/Messages/TLStickersNotModified.cs | 0 .../TL/Payments/TLAbsPaymentResult.cs | 0 .../TL/Payments/TLPaymentForm.cs | 0 .../TL/Payments/TLPaymentReceipt.cs | 0 .../TL/Payments/TLPaymentResult.cs | 0 .../TL/Payments/TLPaymentVerificationNeeded.cs | 0 .../TL/Payments/TLRequestClearSavedInfo.cs | 0 .../TL/Payments/TLRequestGetPaymentForm.cs | 0 .../TL/Payments/TLRequestGetPaymentReceipt.cs | 0 .../TL/Payments/TLRequestGetSavedInfo.cs | 0 .../TL/Payments/TLRequestSendPaymentForm.cs | 0 .../TL/Payments/TLRequestValidateRequestedInfo.cs | 0 .../TL/Payments/TLSavedInfo.cs | 0 .../TL/Payments/TLValidatedRequestedInfo.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLPhoneCall.cs | 0 .../TL/Phone/TLRequestAcceptCall.cs | 0 .../TL/Phone/TLRequestConfirmCall.cs | 0 .../TL/Phone/TLRequestDiscardCall.cs | 0 .../TL/Phone/TLRequestGetCallConfig.cs | 0 .../TL/Phone/TLRequestReceivedCall.cs | 0 .../TL/Phone/TLRequestRequestCall.cs | 0 .../TL/Phone/TLRequestSaveCallDebug.cs | 0 .../TL/Phone/TLRequestSetCallRating.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLAbsPhotos.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLPhotos.cs | 0 .../TL/Photos/TLPhotosSlice.cs | 0 .../TL/Photos/TLRequestDeletePhotos.cs | 0 .../TL/Photos/TLRequestGetUserPhotos.cs | 0 .../TL/Photos/TLRequestUpdateProfilePhoto.cs | 0 .../TL/Photos/TLRequestUploadProfilePhoto.cs | 0 .../TL/Stickers/TLRequestAddStickerToSet.cs | 0 .../TL/Stickers/TLRequestChangeStickerPosition.cs | 0 .../TL/Stickers/TLRequestCreateStickerSet.cs | 0 .../TL/Stickers/TLRequestRemoveStickerFromSet.cs | 0 .../TL/Storage/TLAbsFileType.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileGif.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileJpeg.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMov.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMp3.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMp4.cs | 0 .../TL/Storage/TLFilePartial.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFilePdf.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFilePng.cs | 0 .../TL/Storage/TLFileUnknown.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileWebp.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBaseTheme.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBool.cs | 0 .../TL/TLAbsBotInlineMessage.cs | 0 .../TL/TLAbsBotInlineResult.cs | 0 .../TL/TLAbsChannelAdminLogEventAction.cs | 0 .../TL/TLAbsChannelLocation.cs | 0 .../TL/TLAbsChannelMessagesFilter.cs | 0 .../TL/TLAbsChannelParticipant.cs | 0 .../TL/TLAbsChannelParticipantsFilter.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatFull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatInvite.cs | 0 .../TL/TLAbsChatParticipant.cs | 0 .../TL/TLAbsChatParticipants.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDialog.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDialogPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDocument.cs | 0 .../TL/TLAbsDocumentAttribute.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDraftMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEmojiKeyword.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEncryptedChat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEncryptedFile.cs | 0 .../TL/TLAbsEncryptedMessage.cs | 0 .../TL/TLAbsExportedChatInvite.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsFoundGif.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsGeoPoint.cs | 0 .../TL/TLAbsInputBotInlineMessage.cs | 0 .../TL/TLAbsInputBotInlineResult.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputChannel.cs | 0 .../TL/TLAbsInputChatPhoto.cs | 0 .../TL/TLAbsInputCheckPasswordSRP.cs | 0 .../TL/TLAbsInputDialogPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputDocument.cs | 0 .../TL/TLAbsInputEncryptedFile.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputFile.cs | 0 .../TL/TLAbsInputFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputGame.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputGeoPoint.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputMedia.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputMessage.cs | 0 .../TL/TLAbsInputNotifyPeer.cs | 0 .../TL/TLAbsInputPaymentCredentials.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPhoto.cs | 0 .../TL/TLAbsInputPrivacyKey.cs | 0 .../TL/TLAbsInputPrivacyRule.cs | 0 .../TL/TLAbsInputSecureFile.cs | 0 .../TL/TLAbsInputStickerSet.cs | 0 .../TL/TLAbsInputStickeredMedia.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputTheme.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputUser.cs | 0 .../TL/TLAbsInputWallPaper.cs | 0 .../TL/TLAbsInputWebFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsJSONValue.cs | 0 .../TL/TLAbsKeyboardButton.cs | 0 .../TL/TLAbsLangPackString.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageAction.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageEntity.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageMedia.cs | 0 .../TL/TLAbsMessagesFilter.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsNotifyPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPageBlock.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPageListItem.cs | 0 .../TL/TLAbsPageListOrderedItem.cs | 0 .../TL/TLAbsPasswordKdfAlgo.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhoneCall.cs | 0 .../TL/TLAbsPhoneCallDiscardReason.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhotoSize.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPrivacyKey.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPrivacyRule.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsRecentMeUrl.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsReplyMarkup.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsReportReason.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsRichText.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecureFile.cs | 0 .../TL/TLAbsSecurePasswordKdfAlgo.cs | 0 .../TL/TLAbsSecurePlainData.cs | 0 .../TL/TLAbsSecureRequiredType.cs | 0 .../TL/TLAbsSecureValueError.cs | 0 .../TL/TLAbsSecureValueType.cs | 0 .../TL/TLAbsSendMessageAction.cs | 0 .../TL/TLAbsStickerSetCovered.cs | 0 .../TL/TLAbsTopPeerCategory.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUpdate.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUpdates.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUrlAuthResult.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUser.cs | 0 .../TL/TLAbsUserProfilePhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUserStatus.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWallPaper.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWebDocument.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWebPage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAccountDaysTTL.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLAuthorization.cs | 0 .../TL/TLAutoDownloadSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeArctic.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeClassic.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeDay.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeNight.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeTinted.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBoolFalse.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBoolTrue.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotCommand.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInfo.cs | 0 .../TL/TLBotInlineMediaResult.cs | 0 .../TL/TLBotInlineMessageMediaAuto.cs | 0 .../TL/TLBotInlineMessageMediaContact.cs | 0 .../TL/TLBotInlineMessageMediaGeo.cs | 0 .../TL/TLBotInlineMessageMediaVenue.cs | 0 .../TL/TLBotInlineMessageText.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineResult.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLCdnConfig.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLCdnPublicKey.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannel.cs | 0 .../TL/TLChannelAdminLogEvent.cs | 0 .../TL/TLChannelAdminLogEventActionChangeAbout.cs | 0 .../TL/TLChannelAdminLogEventActionChangeLinkedChat.cs | 0 .../TL/TLChannelAdminLogEventActionChangeLocation.cs | 0 .../TL/TLChannelAdminLogEventActionChangePhoto.cs | 0 .../TL/TLChannelAdminLogEventActionChangeStickerSet.cs | 0 .../TL/TLChannelAdminLogEventActionChangeTitle.cs | 0 .../TL/TLChannelAdminLogEventActionChangeUsername.cs | 0 .../TL/TLChannelAdminLogEventActionDefaultBannedRights.cs | 0 .../TL/TLChannelAdminLogEventActionDeleteMessage.cs | 0 .../TL/TLChannelAdminLogEventActionEditMessage.cs | 0 .../TL/TLChannelAdminLogEventActionParticipantInvite.cs | 0 .../TL/TLChannelAdminLogEventActionParticipantJoin.cs | 0 .../TL/TLChannelAdminLogEventActionParticipantLeave.cs | 0 .../TLChannelAdminLogEventActionParticipantToggleAdmin.cs | 0 .../TLChannelAdminLogEventActionParticipantToggleBan.cs | 0 .../TL/TLChannelAdminLogEventActionStopPoll.cs | 0 .../TL/TLChannelAdminLogEventActionToggleInvites.cs | 0 .../TLChannelAdminLogEventActionTogglePreHistoryHidden.cs | 0 .../TL/TLChannelAdminLogEventActionToggleSignatures.cs | 0 .../TL/TLChannelAdminLogEventActionToggleSlowMode.cs | 0 .../TL/TLChannelAdminLogEventActionUpdatePinned.cs | 0 .../TL/TLChannelAdminLogEventsFilter.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelForbidden.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelFull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelLocation.cs | 0 .../TL/TLChannelLocationEmpty.cs | 0 .../TL/TLChannelMessagesFilter.cs | 0 .../TL/TLChannelMessagesFilterEmpty.cs | 0 .../TL/TLChannelParticipant.cs | 0 .../TL/TLChannelParticipantAdmin.cs | 0 .../TL/TLChannelParticipantBanned.cs | 0 .../TL/TLChannelParticipantCreator.cs | 0 .../TL/TLChannelParticipantSelf.cs | 0 .../TL/TLChannelParticipantsAdmins.cs | 0 .../TL/TLChannelParticipantsBanned.cs | 0 .../TL/TLChannelParticipantsBots.cs | 0 .../TL/TLChannelParticipantsContacts.cs | 0 .../TL/TLChannelParticipantsKicked.cs | 0 .../TL/TLChannelParticipantsRecent.cs | 0 .../TL/TLChannelParticipantsSearch.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatAdminRights.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatBannedRights.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatForbidden.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatFull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInvite.cs | 0 .../TL/TLChatInviteAlready.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInviteEmpty.cs | 0 .../TL/TLChatInviteExported.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatOnlines.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipant.cs | 0 .../TL/TLChatParticipantAdmin.cs | 0 .../TL/TLChatParticipantCreator.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipants.cs | 0 .../TL/TLChatParticipantsForbidden.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatPhotoEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLCodeSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLConfig.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLContact.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLContactBlocked.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLContactStatus.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDataJSON.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDcOption.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialog.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogFolder.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogPeerFolder.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocument.cs | 0 .../TL/TLDocumentAttributeAnimated.cs | 0 .../TL/TLDocumentAttributeAudio.cs | 0 .../TL/TLDocumentAttributeFilename.cs | 0 .../TL/TLDocumentAttributeHasStickers.cs | 0 .../TL/TLDocumentAttributeImageSize.cs | 0 .../TL/TLDocumentAttributeSticker.cs | 0 .../TL/TLDocumentAttributeVideo.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLDraftMessage.cs | 0 .../TL/TLDraftMessageEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiKeyword.cs | 0 .../TL/TLEmojiKeywordDeleted.cs | 0 .../TL/TLEmojiKeywordsDifference.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiLanguage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiURL.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChat.cs | 0 .../TL/TLEncryptedChatDiscarded.cs | 0 .../TL/TLEncryptedChatEmpty.cs | 0 .../TL/TLEncryptedChatRequested.cs | 0 .../TL/TLEncryptedChatWaiting.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedFile.cs | 0 .../TL/TLEncryptedFileEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedMessage.cs | 0 .../TL/TLEncryptedMessageService.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLError.cs | 0 .../TL/TLExportedMessageLink.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLFileHash.cs | 0 .../TL/TLFileLocationToBeDeprecated.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLFolder.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLFolderPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLFoundGif.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLFoundGifCached.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLGame.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLGeoPoint.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLGeoPointEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLHighScore.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLImportedContact.cs | 0 .../TL/TLInlineBotSwitchPM.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputAppEvent.cs | 0 .../TL/TLInputBotInlineMessageGame.cs | 0 .../TL/TLInputBotInlineMessageID.cs | 0 .../TL/TLInputBotInlineMessageMediaAuto.cs | 0 .../TL/TLInputBotInlineMessageMediaContact.cs | 0 .../TL/TLInputBotInlineMessageMediaGeo.cs | 0 .../TL/TLInputBotInlineMessageMediaVenue.cs | 0 .../TL/TLInputBotInlineMessageText.cs | 0 .../TL/TLInputBotInlineResult.cs | 0 .../TL/TLInputBotInlineResultDocument.cs | 0 .../TL/TLInputBotInlineResultGame.cs | 0 .../TL/TLInputBotInlineResultPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChannel.cs | 0 .../TL/TLInputChannelEmpty.cs | 0 .../TL/TLInputChannelFromMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChatPhoto.cs | 0 .../TL/TLInputChatPhotoEmpty.cs | 0 .../TL/TLInputChatUploadedPhoto.cs | 0 .../TL/TLInputCheckPasswordEmpty.cs | 0 .../TL/TLInputCheckPasswordSRP.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputClientProxy.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDialogPeer.cs | 0 .../TL/TLInputDialogPeerFolder.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDocument.cs | 0 .../TL/TLInputDocumentEmpty.cs | 0 .../TL/TLInputDocumentFileLocation.cs | 0 .../TL/TLInputEncryptedChat.cs | 0 .../TL/TLInputEncryptedFile.cs | 0 .../TL/TLInputEncryptedFileBigUploaded.cs | 0 .../TL/TLInputEncryptedFileEmpty.cs | 0 .../TL/TLInputEncryptedFileLocation.cs | 0 .../TL/TLInputEncryptedFileUploaded.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFile.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFileBig.cs | 0 .../TL/TLInputFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFolderPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGameID.cs | 0 .../TL/TLInputGameShortName.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGeoPoint.cs | 0 .../TL/TLInputGeoPointEmpty.cs | 0 .../TL/TLInputKeyboardButtonUrlAuth.cs | 0 .../TL/TLInputMediaContact.cs | 0 .../TL/TLInputMediaDocument.cs | 0 .../TL/TLInputMediaDocumentExternal.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaGame.cs | 0 .../TL/TLInputMediaGeoLive.cs | 0 .../TL/TLInputMediaGeoPoint.cs | 0 .../TL/TLInputMediaGifExternal.cs | 0 .../TL/TLInputMediaInvoice.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaPhoto.cs | 0 .../TL/TLInputMediaPhotoExternal.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaPoll.cs | 0 .../TL/TLInputMediaUploadedDocument.cs | 0 .../TL/TLInputMediaUploadedPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaVenue.cs | 0 .../TL/TLInputMessageEntityMentionName.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessageID.cs | 0 .../TL/TLInputMessagePinned.cs | 0 .../TL/TLInputMessageReplyTo.cs | 0 .../TL/TLInputMessagesFilterChatPhotos.cs | 0 .../TL/TLInputMessagesFilterContacts.cs | 0 .../TL/TLInputMessagesFilterDocument.cs | 0 .../TL/TLInputMessagesFilterEmpty.cs | 0 .../TL/TLInputMessagesFilterGeo.cs | 0 .../TL/TLInputMessagesFilterGif.cs | 0 .../TL/TLInputMessagesFilterMusic.cs | 0 .../TL/TLInputMessagesFilterMyMentions.cs | 0 .../TL/TLInputMessagesFilterPhoneCalls.cs | 0 .../TL/TLInputMessagesFilterPhotoVideo.cs | 0 .../TL/TLInputMessagesFilterPhotos.cs | 0 .../TL/TLInputMessagesFilterRoundVideo.cs | 0 .../TL/TLInputMessagesFilterRoundVoice.cs | 0 .../TL/TLInputMessagesFilterUrl.cs | 0 .../TL/TLInputMessagesFilterVideo.cs | 0 .../TL/TLInputMessagesFilterVoice.cs | 0 .../TL/TLInputNotifyBroadcasts.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyChats.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyUsers.cs | 0 .../TL/TLInputPaymentCredentials.cs | 0 .../TL/TLInputPaymentCredentialsAndroidPay.cs | 0 .../TL/TLInputPaymentCredentialsApplePay.cs | 0 .../TL/TLInputPaymentCredentialsSaved.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerChannel.cs | 0 .../TL/TLInputPeerChannelFromMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerChat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerEmpty.cs | 0 .../TL/TLInputPeerNotifySettings.cs | 0 .../TL/TLInputPeerPhotoFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerSelf.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerUser.cs | 0 .../TL/TLInputPeerUserFromMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhoneCall.cs | 0 .../TL/TLInputPhoneContact.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhotoEmpty.cs | 0 .../TL/TLInputPhotoFileLocation.cs | 0 .../TL/TLInputPhotoLegacyFileLocation.cs | 0 .../TL/TLInputPrivacyKeyAddedByPhone.cs | 0 .../TL/TLInputPrivacyKeyChatInvite.cs | 0 .../TL/TLInputPrivacyKeyForwards.cs | 0 .../TL/TLInputPrivacyKeyPhoneCall.cs | 0 .../TL/TLInputPrivacyKeyPhoneNumber.cs | 0 .../TL/TLInputPrivacyKeyPhoneP2P.cs | 0 .../TL/TLInputPrivacyKeyProfilePhoto.cs | 0 .../TL/TLInputPrivacyKeyStatusTimestamp.cs | 0 .../TL/TLInputPrivacyValueAllowAll.cs | 0 .../TL/TLInputPrivacyValueAllowChatParticipants.cs | 0 .../TL/TLInputPrivacyValueAllowContacts.cs | 0 .../TL/TLInputPrivacyValueAllowUsers.cs | 0 .../TL/TLInputPrivacyValueDisallowAll.cs | 0 .../TL/TLInputPrivacyValueDisallowChatParticipants.cs | 0 .../TL/TLInputPrivacyValueDisallowContacts.cs | 0 .../TL/TLInputPrivacyValueDisallowUsers.cs | 0 .../TL/TLInputReportReasonChildAbuse.cs | 0 .../TL/TLInputReportReasonCopyright.cs | 0 .../TL/TLInputReportReasonGeoIrrelevant.cs | 0 .../TL/TLInputReportReasonOther.cs | 0 .../TL/TLInputReportReasonPornography.cs | 0 .../TL/TLInputReportReasonSpam.cs | 0 .../TL/TLInputReportReasonViolence.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureFile.cs | 0 .../TL/TLInputSecureFileLocation.cs | 0 .../TL/TLInputSecureFileUploaded.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureValue.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSingleMedia.cs | 0 .../TL/TLInputStickerSetAnimatedEmoji.cs | 0 .../TL/TLInputStickerSetEmpty.cs | 0 .../TL/TLInputStickerSetID.cs | 0 .../TL/TLInputStickerSetItem.cs | 0 .../TL/TLInputStickerSetShortName.cs | 0 .../TL/TLInputStickerSetThumb.cs | 0 .../TL/TLInputStickeredMediaDocument.cs | 0 .../TL/TLInputStickeredMediaPhoto.cs | 0 .../TL/TLInputTakeoutFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputTheme.cs | 0 .../TL/TLInputThemeSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputThemeSlug.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUser.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUserEmpty.cs | 0 .../TL/TLInputUserFromMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUserSelf.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWallPaper.cs | 0 .../TL/TLInputWallPaperNoFile.cs | 0 .../TL/TLInputWallPaperSlug.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWebDocument.cs | 0 .../TL/TLInputWebFileGeoPointLocation.cs | 0 .../TL/TLInputWebFileLocation.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLInvoice.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonArray.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonBool.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonNull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonNumber.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonObject.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonObjectValue.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonString.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButton.cs | 0 .../TL/TLKeyboardButtonBuy.cs | 0 .../TL/TLKeyboardButtonCallback.cs | 0 .../TL/TLKeyboardButtonGame.cs | 0 .../TL/TLKeyboardButtonRequestGeoLocation.cs | 0 .../TL/TLKeyboardButtonRequestPhone.cs | 0 .../TL/TLKeyboardButtonRow.cs | 0 .../TL/TLKeyboardButtonSwitchInline.cs | 0 .../TL/TLKeyboardButtonUrl.cs | 0 .../TL/TLKeyboardButtonUrlAuth.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLLabeledPrice.cs | 0 .../TL/TLLangPackDifference.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackLanguage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackString.cs | 0 .../TL/TLLangPackStringDeleted.cs | 0 .../TL/TLLangPackStringPluralized.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMaskCoords.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessage.cs | 0 .../TL/TLMessageActionBotAllowed.cs | 0 .../TL/TLMessageActionChannelCreate.cs | 0 .../TL/TLMessageActionChannelMigrateFrom.cs | 0 .../TL/TLMessageActionChatAddUser.cs | 0 .../TL/TLMessageActionChatCreate.cs | 0 .../TL/TLMessageActionChatDeletePhoto.cs | 0 .../TL/TLMessageActionChatDeleteUser.cs | 0 .../TL/TLMessageActionChatEditPhoto.cs | 0 .../TL/TLMessageActionChatEditTitle.cs | 0 .../TL/TLMessageActionChatJoinedByLink.cs | 0 .../TL/TLMessageActionChatMigrateTo.cs | 0 .../TL/TLMessageActionContactSignUp.cs | 0 .../TL/TLMessageActionCustomAction.cs | 0 .../TL/TLMessageActionEmpty.cs | 0 .../TL/TLMessageActionGameScore.cs | 0 .../TL/TLMessageActionHistoryClear.cs | 0 .../TL/TLMessageActionPaymentSent.cs | 0 .../TL/TLMessageActionPaymentSentMe.cs | 0 .../TL/TLMessageActionPhoneCall.cs | 0 .../TL/TLMessageActionPinMessage.cs | 0 .../TL/TLMessageActionScreenshotTaken.cs | 0 .../TL/TLMessageActionSecureValuesSent.cs | 0 .../TL/TLMessageActionSecureValuesSentMe.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEmpty.cs | 0 .../TL/TLMessageEntityBlockquote.cs | 0 .../TL/TLMessageEntityBold.cs | 0 .../TL/TLMessageEntityBotCommand.cs | 0 .../TL/TLMessageEntityCashtag.cs | 0 .../TL/TLMessageEntityCode.cs | 0 .../TL/TLMessageEntityEmail.cs | 0 .../TL/TLMessageEntityHashtag.cs | 0 .../TL/TLMessageEntityItalic.cs | 0 .../TL/TLMessageEntityMention.cs | 0 .../TL/TLMessageEntityMentionName.cs | 0 .../TL/TLMessageEntityPhone.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityPre.cs | 0 .../TL/TLMessageEntityStrike.cs | 0 .../TL/TLMessageEntityTextUrl.cs | 0 .../TL/TLMessageEntityUnderline.cs | 0 .../TL/TLMessageEntityUnknown.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityUrl.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageFwdHeader.cs | 0 .../TL/TLMessageMediaContact.cs | 0 .../TL/TLMessageMediaDocument.cs | 0 .../TL/TLMessageMediaEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaGame.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaGeo.cs | 0 .../TL/TLMessageMediaGeoLive.cs | 0 .../TL/TLMessageMediaInvoice.cs | 0 .../TL/TLMessageMediaPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaPoll.cs | 0 .../TL/TLMessageMediaUnsupported.cs | 0 .../TL/TLMessageMediaVenue.cs | 0 .../TL/TLMessageMediaWebPage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageRange.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageService.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNearestDc.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyBroadcasts.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyChats.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyPeer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyUsers.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLNull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockAnchor.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockAudio.cs | 0 .../TL/TLPageBlockAuthorDate.cs | 0 .../TL/TLPageBlockBlockquote.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockChannel.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockCollage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockCover.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockDetails.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockDivider.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockEmbed.cs | 0 .../TL/TLPageBlockEmbedPost.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockFooter.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockHeader.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockKicker.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockList.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockMap.cs | 0 .../TL/TLPageBlockOrderedList.cs | 0 .../TL/TLPageBlockParagraph.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockPhoto.cs | 0 .../TL/TLPageBlockPreformatted.cs | 0 .../TL/TLPageBlockPullquote.cs | 0 .../TL/TLPageBlockRelatedArticles.cs | 0 .../TL/TLPageBlockSlideshow.cs | 0 .../TL/TLPageBlockSubheader.cs | 0 .../TL/TLPageBlockSubtitle.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockTable.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockTitle.cs | 0 .../TL/TLPageBlockUnsupported.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockVideo.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageCaption.cs | 0 .../TL/TLPageListItemBlocks.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageListItemText.cs | 0 .../TL/TLPageListOrderedItemBlocks.cs | 0 .../TL/TLPageListOrderedItemText.cs | 0 .../TL/TLPageRelatedArticle.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageTableCell.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageTableRow.cs | 0 ...oSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs | 0 .../TL/TLPasswordKdfAlgoUnknown.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPaymentCharge.cs | 0 .../TL/TLPaymentRequestedInfo.cs | 0 .../TL/TLPaymentSavedCredentialsCard.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerChannel.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerChat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerLocated.cs | 0 .../TL/TLPeerNotifySettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerUser.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCall.cs | 0 .../TL/TLPhoneCallAccepted.cs | 0 .../TL/TLPhoneCallDiscardReasonBusy.cs | 0 .../TL/TLPhoneCallDiscardReasonDisconnect.cs | 0 .../TL/TLPhoneCallDiscardReasonHangup.cs | 0 .../TL/TLPhoneCallDiscardReasonMissed.cs | 0 .../TL/TLPhoneCallDiscarded.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallEmpty.cs | 0 .../TL/TLPhoneCallProtocol.cs | 0 .../TL/TLPhoneCallRequested.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallWaiting.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneConnection.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoto.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoCachedSize.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoSize.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoSizeEmpty.cs | 0 .../TL/TLPhotoStrippedSize.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPoll.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollAnswer.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollAnswerVoters.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollResults.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPopularContact.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLPostAddress.cs | 0 .../TL/TLPrivacyKeyAddedByPhone.cs | 0 .../TL/TLPrivacyKeyChatInvite.cs | 0 .../TL/TLPrivacyKeyForwards.cs | 0 .../TL/TLPrivacyKeyPhoneCall.cs | 0 .../TL/TLPrivacyKeyPhoneNumber.cs | 0 .../TL/TLPrivacyKeyPhoneP2P.cs | 0 .../TL/TLPrivacyKeyProfilePhoto.cs | 0 .../TL/TLPrivacyKeyStatusTimestamp.cs | 0 .../TL/TLPrivacyValueAllowAll.cs | 0 .../TL/TLPrivacyValueAllowChatParticipants.cs | 0 .../TL/TLPrivacyValueAllowContacts.cs | 0 .../TL/TLPrivacyValueAllowUsers.cs | 0 .../TL/TLPrivacyValueDisallowAll.cs | 0 .../TL/TLPrivacyValueDisallowChatParticipants.cs | 0 .../TL/TLPrivacyValueDisallowContacts.cs | 0 .../TL/TLPrivacyValueDisallowUsers.cs | 0 .../TL/TLReceivedNotifyMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlChat.cs | 0 .../TL/TLRecentMeUrlChatInvite.cs | 0 .../TL/TLRecentMeUrlStickerSet.cs | 0 .../TL/TLRecentMeUrlUnknown.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlUser.cs | 0 .../TL/TLReplyInlineMarkup.cs | 0 .../TL/TLReplyKeyboardForceReply.cs | 0 .../TL/TLReplyKeyboardHide.cs | 0 .../TL/TLReplyKeyboardMarkup.cs | 0 .../TL/TLRequestInitConnection.cs | 0 .../TL/TLRequestInvokeAfterMsg.cs | 0 .../TL/TLRequestInvokeAfterMsgs.cs | 0 .../TL/TLRequestInvokeWithLayer.cs | 0 .../TL/TLRequestInvokeWithMessagesRange.cs | 0 .../TL/TLRequestInvokeWithTakeout.cs | 0 .../TL/TLRequestInvokeWithoutUpdates.cs | 0 .../TL/TLRestrictionReason.cs | 0 .../TL/TLSavedPhoneContact.cs | 0 .../TL/TLSecureCredentialsEncrypted.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureData.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureFile.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureFileEmpty.cs | 0 .../TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs | 0 .../TL/TLSecurePasswordKdfAlgoSHA512.cs | 0 .../TL/TLSecurePasswordKdfAlgoUnknown.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePlainEmail.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePlainPhone.cs | 0 .../TL/TLSecureRequiredType.cs | 0 .../TL/TLSecureRequiredTypeOneOf.cs | 0 .../TL/TLSecureSecretSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValue.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueError.cs | 0 .../TL/TLSecureValueErrorData.cs | 0 .../TL/TLSecureValueErrorFile.cs | 0 .../TL/TLSecureValueErrorFiles.cs | 0 .../TL/TLSecureValueErrorFrontSide.cs | 0 .../TL/TLSecureValueErrorReverseSide.cs | 0 .../TL/TLSecureValueErrorSelfie.cs | 0 .../TL/TLSecureValueErrorTranslationFile.cs | 0 .../TL/TLSecureValueErrorTranslationFiles.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueHash.cs | 0 .../TL/TLSecureValueTypeAddress.cs | 0 .../TL/TLSecureValueTypeBankStatement.cs | 0 .../TL/TLSecureValueTypeDriverLicense.cs | 0 .../TL/TLSecureValueTypeEmail.cs | 0 .../TL/TLSecureValueTypeIdentityCard.cs | 0 .../TL/TLSecureValueTypeInternalPassport.cs | 0 .../TL/TLSecureValueTypePassport.cs | 0 .../TL/TLSecureValueTypePassportRegistration.cs | 0 .../TL/TLSecureValueTypePersonalDetails.cs | 0 .../TL/TLSecureValueTypePhone.cs | 0 .../TL/TLSecureValueTypeRentalAgreement.cs | 0 .../TL/TLSecureValueTypeTemporaryRegistration.cs | 0 .../TL/TLSecureValueTypeUtilityBill.cs | 0 .../TL/TLSendMessageCancelAction.cs | 0 .../TL/TLSendMessageChooseContactAction.cs | 0 .../TL/TLSendMessageGamePlayAction.cs | 0 .../TL/TLSendMessageGeoLocationAction.cs | 0 .../TL/TLSendMessageRecordAudioAction.cs | 0 .../TL/TLSendMessageRecordRoundAction.cs | 0 .../TL/TLSendMessageRecordVideoAction.cs | 0 .../TL/TLSendMessageTypingAction.cs | 0 .../TL/TLSendMessageUploadAudioAction.cs | 0 .../TL/TLSendMessageUploadDocumentAction.cs | 0 .../TL/TLSendMessageUploadPhotoAction.cs | 0 .../TL/TLSendMessageUploadRoundAction.cs | 0 .../TL/TLSendMessageUploadVideoAction.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLShippingOption.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLStatsURL.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerPack.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerSet.cs | 0 .../TL/TLStickerSetCovered.cs | 0 .../TL/TLStickerSetMultiCovered.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextAnchor.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextBold.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextConcat.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextEmail.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextFixed.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextImage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextItalic.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextMarked.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextPhone.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextPlain.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextStrike.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextSubscript.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextSuperscript.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextUnderline.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextUrl.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTheme.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLThemeSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeer.cs | 0 .../TL/TLTopPeerCategoryBotsInline.cs | 0 .../TL/TLTopPeerCategoryBotsPM.cs | 0 .../TL/TLTopPeerCategoryChannels.cs | 0 .../TL/TLTopPeerCategoryCorrespondents.cs | 0 .../TL/TLTopPeerCategoryForwardChats.cs | 0 .../TL/TLTopPeerCategoryForwardUsers.cs | 0 .../TL/TLTopPeerCategoryGroups.cs | 0 .../TL/TLTopPeerCategoryPeers.cs | 0 .../TL/TLTopPeerCategoryPhoneCalls.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLTrue.cs | 0 .../TL/TLUpdateBotCallbackQuery.cs | 0 .../TL/TLUpdateBotInlineQuery.cs | 0 .../TL/TLUpdateBotInlineSend.cs | 0 .../TL/TLUpdateBotPrecheckoutQuery.cs | 0 .../TL/TLUpdateBotShippingQuery.cs | 0 .../TL/TLUpdateBotWebhookJSON.cs | 0 .../TL/TLUpdateBotWebhookJSONQuery.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannel.cs | 0 .../TL/TLUpdateChannelAvailableMessages.cs | 0 .../TL/TLUpdateChannelMessageViews.cs | 0 .../TL/TLUpdateChannelPinnedMessage.cs | 0 .../TL/TLUpdateChannelReadMessagesContents.cs | 0 .../TL/TLUpdateChannelTooLong.cs | 0 .../TL/TLUpdateChannelWebPage.cs | 0 .../TL/TLUpdateChatDefaultBannedRights.cs | 0 .../TL/TLUpdateChatParticipantAdd.cs | 0 .../TL/TLUpdateChatParticipantAdmin.cs | 0 .../TL/TLUpdateChatParticipantDelete.cs | 0 .../TL/TLUpdateChatParticipants.cs | 0 .../TL/TLUpdateChatPinnedMessage.cs | 0 .../TL/TLUpdateChatUserTyping.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateConfig.cs | 0 .../TL/TLUpdateContactsReset.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDcOptions.cs | 0 .../TL/TLUpdateDeleteChannelMessages.cs | 0 .../TL/TLUpdateDeleteMessages.cs | 0 .../TL/TLUpdateDeleteScheduledMessages.cs | 0 .../TL/TLUpdateDialogPinned.cs | 0 .../TL/TLUpdateDialogUnreadMark.cs | 0 .../TL/TLUpdateDraftMessage.cs | 0 .../TL/TLUpdateEditChannelMessage.cs | 0 .../TL/TLUpdateEditMessage.cs | 0 .../TL/TLUpdateEncryptedChatTyping.cs | 0 .../TL/TLUpdateEncryptedMessagesRead.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEncryption.cs | 0 .../TL/TLUpdateFavedStickers.cs | 0 .../TL/TLUpdateFolderPeers.cs | 0 .../TL/TLUpdateGeoLiveViewed.cs | 0 .../TL/TLUpdateInlineBotCallbackQuery.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateLangPack.cs | 0 .../TL/TLUpdateLangPackTooLong.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateLoginToken.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateMessageID.cs | 0 .../TL/TLUpdateMessagePoll.cs | 0 .../TL/TLUpdateNewChannelMessage.cs | 0 .../TL/TLUpdateNewEncryptedMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewMessage.cs | 0 .../TL/TLUpdateNewScheduledMessage.cs | 0 .../TL/TLUpdateNewStickerSet.cs | 0 .../TL/TLUpdateNotifySettings.cs | 0 .../TL/TLUpdatePeerLocated.cs | 0 .../TL/TLUpdatePeerSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePhoneCall.cs | 0 .../TL/TLUpdatePinnedDialogs.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePrivacy.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePtsChanged.cs | 0 .../TL/TLUpdateReadChannelInbox.cs | 0 .../TL/TLUpdateReadChannelOutbox.cs | 0 .../TL/TLUpdateReadFeaturedStickers.cs | 0 .../TL/TLUpdateReadHistoryInbox.cs | 0 .../TL/TLUpdateReadHistoryOutbox.cs | 0 .../TL/TLUpdateReadMessagesContents.cs | 0 .../TL/TLUpdateRecentStickers.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateSavedGifs.cs | 0 .../TL/TLUpdateServiceNotification.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateShort.cs | 0 .../TL/TLUpdateShortChatMessage.cs | 0 .../TL/TLUpdateShortMessage.cs | 0 .../TL/TLUpdateShortSentMessage.cs | 0 .../TL/TLUpdateStickerSets.cs | 0 .../TL/TLUpdateStickerSetsOrder.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateTheme.cs | 0 .../TL/TLUpdateUserBlocked.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserName.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserPhone.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserPhoto.cs | 0 .../TL/TLUpdateUserPinnedMessage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserStatus.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserTyping.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateWebPage.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdates.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatesCombined.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatesTooLong.cs | 0 .../TL/TLUrlAuthResultAccepted.cs | 0 .../TL/TLUrlAuthResultDefault.cs | 0 .../TL/TLUrlAuthResultRequest.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUser.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserFull.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserProfilePhoto.cs | 0 .../TL/TLUserProfilePhotoEmpty.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusEmpty.cs | 0 .../TL/TLUserStatusLastMonth.cs | 0 .../TL/TLUserStatusLastWeek.cs | 0 .../TL/TLUserStatusOffline.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusOnline.cs | 0 .../TL/TLUserStatusRecently.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWallPaper.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWallPaperNoFile.cs | 0 .../TL/TLWallPaperSettings.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebAuthorization.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebDocument.cs | 0 .../TL/TLWebDocumentNoProxy.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPage.cs | 0 .../TL/TLWebPageAttributeTheme.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPageEmpty.cs | 0 .../TL/TLWebPageNotModified.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPagePending.cs | 0 .../TL/Updates/TLAbsChannelDifference.cs | 0 .../TL/Updates/TLAbsDifference.cs | 0 .../TL/Updates/TLChannelDifference.cs | 0 .../TL/Updates/TLChannelDifferenceEmpty.cs | 0 .../TL/Updates/TLChannelDifferenceTooLong.cs | 0 .../TL/Updates/TLDifference.cs | 0 .../TL/Updates/TLDifferenceEmpty.cs | 0 .../TL/Updates/TLDifferenceSlice.cs | 0 .../TL/Updates/TLDifferenceTooLong.cs | 0 .../TL/Updates/TLRequestGetChannelDifference.cs | 0 .../TL/Updates/TLRequestGetDifference.cs | 0 .../TL/Updates/TLRequestGetState.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLState.cs | 0 .../TL/Upload/TLAbsCdnFile.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLAbsFile.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLCdnFile.cs | 0 .../TL/Upload/TLCdnFileReuploadNeeded.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLFile.cs | 0 .../TL/Upload/TLFileCdnRedirect.cs | 0 .../TL/Upload/TLRequestGetCdnFile.cs | 0 .../TL/Upload/TLRequestGetCdnFileHashes.cs | 0 .../TL/Upload/TLRequestGetFile.cs | 0 .../TL/Upload/TLRequestGetFileHashes.cs | 0 .../TL/Upload/TLRequestGetWebFile.cs | 0 .../TL/Upload/TLRequestReuploadCdnFile.cs | 0 .../TL/Upload/TLRequestSaveBigFilePart.cs | 0 .../TL/Upload/TLRequestSaveFilePart.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLWebFile.cs | 0 .../TL/Users/TLRequestGetFullUser.cs | 0 .../TL/Users/TLRequestGetUsers.cs | 0 .../TL/Users/TLRequestSetSecureValueErrors.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TLContext.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TLMethod.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TLObject.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TLUtils.cs | 0 src/{TeleSharp.TL => TgSharp.TL}/TLVector.cs | 0 .../TeleSharp.TL.csproj => TgSharp.TL/TgSharp.TL.csproj} | 4 ++-- src/{TeleSharp.TL => TgSharp.TL}/packages.config | 0 src/TgSharp.Tests/TgSharp.Tests.csproj | 8 ++++---- src/TgSharp.Tests/TgSharpTests.cs | 4 ++-- src/TgSharp.sln | 2 +- 1269 files changed, 13 insertions(+), 13 deletions(-) rename src/{TeleSharp.TL => TgSharp.TL}/ObjectDeserializer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/Properties/AssemblyInfo.cs (93%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLAbsThemes.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLAbsWallPapers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLAuthorizationForm.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLAutoDownloadSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLContentSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLPasswordInputSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLPasswordSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLPrivacyRules.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestAcceptAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestCancelPasswordEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestChangePhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestCheckUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestConfirmPasswordEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestConfirmPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestCreateTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestDeleteAccount.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestDeleteSecureValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestFinishTakeoutSession.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetAccountTTL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetAllSecureValues.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetAuthorizationForm.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetAutoDownloadSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetContactSignUpNotification.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetContentSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetMultiWallPapers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetNotifyExceptions.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetPasswordSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetPrivacy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetSecureValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetThemes.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetTmpPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetWallPapers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestGetWebAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestInitTakeoutSession.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestInstallTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestInstallWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestRegisterDevice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestReportPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResendPasswordEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResetAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResetNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResetWallPapers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResetWebAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestResetWebAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSaveAutoDownloadSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSaveSecureValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSaveTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSaveWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSendChangePhoneCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSendConfirmPhoneCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSendVerifyEmailCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSendVerifyPhoneCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSetAccountTTL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSetContactSignUpNotification.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSetContentSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestSetPrivacy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUnregisterDevice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateDeviceLocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdatePasswordSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateProfile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateStatus.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUpdateUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUploadTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestUploadWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestVerifyEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLRequestVerifyPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLSentEmailCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLTakeout.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLThemes.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLThemesNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLTmpPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLWallPapers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLWallPapersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Account/TLWebAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAbsAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAbsCodeType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAbsLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAbsSentCodeType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLAuthorizationSignUpRequired.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLCodeTypeCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLCodeTypeFlashCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLCodeTypeSms.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLExportedAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLLoginTokenMigrateTo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLLoginTokenSuccess.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLPasswordRecovery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestAcceptLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestBindTempAuthKey.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestCancelCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestCheckPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestDropTempAuthKeys.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestExportAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestExportLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestImportAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestImportBotAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestImportLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestLogOut.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestRecoverPassword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestRequestPasswordRecovery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestResendCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestResetAuthorizations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestSendCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestSignIn.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLRequestSignUp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCodeTypeApp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCodeTypeCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCodeTypeFlashCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Auth/TLSentCodeTypeSms.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Bots/TLRequestSendCustomRequest.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLAbsChannelParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLAdminLogResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLChannelParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLChannelParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLChannelParticipantsNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestCheckUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestCreateChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestDeleteChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestDeleteHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestDeleteMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestDeleteUserHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditBanned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditCreator.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestEditTitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestExportMessageLink.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetAdminLog.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetAdminedPublicChannels.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetChannels.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetFullChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetGroupsForDiscussion.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetInactiveChannels.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetLeftChannels.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestGetParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestInviteToChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestJoinChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestLeaveChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestReadHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestReadMessageContents.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestReportSpam.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestSetDiscussionGroup.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestSetStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestTogglePreHistoryHidden.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestToggleSignatures.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestToggleSlowMode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Channels/TLRequestUpdateUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLAbsBlocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLAbsContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLAbsTopPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLBlocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLBlockedSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLContactsNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLFound.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLImportedContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestAcceptContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestAddContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestBlock.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestDeleteByPhones.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestDeleteContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetBlocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetContactIDs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetLocated.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetSaved.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetStatuses.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestGetTopPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestImportContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestResetSaved.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestResetTopPeerRating.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestResolveUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestSearch.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestToggleTopPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLRequestUnblock.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLResolvedPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLTopPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLTopPeersDisabled.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Contacts/TLTopPeersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Folders/TLRequestDeleteFolder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Folders/TLRequestEditPeerFolders.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsAppUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsDeepLinkInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsPassportConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsProxyData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsTermsOfServiceUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAbsUserInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLAppUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLDeepLinkInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLDeepLinkInfoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLInviteText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLNoAppUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLPassportConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLPassportConfigNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLProxyDataEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLProxyDataPromo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRecentMeUrls.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestAcceptTermsOfService.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestEditUserInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetAppChangelog.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetAppConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetAppUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetCdnConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetDeepLinkInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetInviteText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetNearestDc.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetPassportConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetProxyData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetRecentMeUrls.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetSupport.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetSupportName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetTermsOfServiceUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestGetUserInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestSaveAppLog.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLRequestSetBotUpdatesStatus.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLSupport.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLSupportName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLTermsOfService.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLTermsOfServiceUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLTermsOfServiceUpdateEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLUserInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Help/TLUserInfoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Langpack/TLRequestGetDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Langpack/TLRequestGetLangPack.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Langpack/TLRequestGetLanguage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Langpack/TLRequestGetLanguages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Langpack/TLRequestGetStrings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsAllStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsDhConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsFavedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsFeaturedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsFoundStickerSets.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsRecentStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsSavedGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsSentEncryptedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsStickerSetInstallResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAbsStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAffectedHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAffectedMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAllStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLAllStickersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLArchivedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLBotCallbackAnswer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLBotResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLChannelMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLChatFull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLChatsSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDhConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDhConfigNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDialogsNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLDialogsSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFavedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFavedStickersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFeaturedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFeaturedStickersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFoundGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFoundStickerSets.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLFoundStickerSetsNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLHighScores.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLInactiveChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLMessageEditData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLMessagesNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLMessagesSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLPeerDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRecentStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRecentStickersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestAcceptEncryption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestAcceptUrlAuth.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestAddChatUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestCheckChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestClearAllDrafts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestClearRecentStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestCreateChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestDeleteChatUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestDeleteHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestDeleteMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestDeleteScheduledMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestDiscardEncryption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditChatAbout.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditChatAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditChatDefaultBannedRights.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditChatPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditChatTitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditInlineBotMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestEditMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestExportChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestFaveSticker.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestForwardMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetAllChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetAllDrafts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetAllStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetArchivedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetAttachedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetBotCallbackAnswer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetCommonChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetDhConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetDialogUnreadMarks.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetDocumentByHash.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetEmojiKeywords.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetEmojiURL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetFavedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetFeaturedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetFullChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetGameHighScores.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetInlineBotResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetInlineGameHighScores.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetMaskStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetMessageEditData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetMessagesViews.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetOnlines.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetPeerDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetPeerSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetPinnedDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetPollResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetRecentLocations.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetRecentStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetSavedGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetScheduledHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetScheduledMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetSearchCounters.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetSplitRanges.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetStatsURL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetUnreadMentions.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestGetWebPagePreview.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestHidePeerSettingsBar.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestImportChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestInstallStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestMarkDialogUnread.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestMigrateChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReadEncryptedHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReadFeaturedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReadHistory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReadMentions.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReadMessageContents.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReceivedMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReceivedQueue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReorderPinnedDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReorderStickerSets.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReport.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReportEncryptedSpam.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestReportSpam.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestRequestEncryption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestRequestUrlAuth.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSaveDraft.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSaveGif.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSaveRecentSticker.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSearch.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSearchGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSearchGlobal.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSearchStickerSets.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendEncrypted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendEncryptedService.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendInlineBotResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendMultiMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendScheduledMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendScreenshotNotification.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSendVote.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetBotCallbackAnswer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetBotPrecheckoutResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetBotShippingResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetEncryptedTyping.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetGameScore.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetInlineBotResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetInlineGameScore.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestSetTyping.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestStartBot.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestToggleDialogPin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestUninstallStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestUpdatePinnedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestUploadEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLRequestUploadMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLSavedGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLSavedGifsNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLSearchCounter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLSentEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLSentEncryptedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLStickerSetInstallResultArchive.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLStickerSetInstallResultSuccess.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Messages/TLStickersNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLAbsPaymentResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLPaymentForm.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLPaymentReceipt.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLPaymentResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLPaymentVerificationNeeded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestClearSavedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestGetPaymentForm.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestGetPaymentReceipt.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestGetSavedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestSendPaymentForm.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLRequestValidateRequestedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLSavedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Payments/TLValidatedRequestedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestAcceptCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestConfirmCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestDiscardCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestGetCallConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestReceivedCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestRequestCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestSaveCallDebug.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Phone/TLRequestSetCallRating.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLAbsPhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLPhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLPhotosSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLRequestDeletePhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLRequestGetUserPhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLRequestUpdateProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Photos/TLRequestUploadProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Stickers/TLRequestAddStickerToSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Stickers/TLRequestChangeStickerPosition.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Stickers/TLRequestCreateStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Stickers/TLRequestRemoveStickerFromSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLAbsFileType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileGif.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileJpeg.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMov.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMp3.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileMp4.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFilePartial.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFilePdf.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFilePng.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileUnknown.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Storage/TLFileWebp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBaseTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBool.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBotInlineMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsBotInlineResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChannelAdminLogEventAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChannelLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChannelMessagesFilter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChannelParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChannelParticipantsFilter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatFull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsChatPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDialog.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDialogPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDocumentAttribute.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsDraftMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEmojiKeyword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEncryptedChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsEncryptedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsExportedChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsFoundGif.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsGeoPoint.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputBotInlineMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputBotInlineResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputChatPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputCheckPasswordSRP.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputDialogPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputGeoPoint.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputNotifyPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPaymentCredentials.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPrivacyKey.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputPrivacyRule.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputSecureFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputStickeredMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsInputWebFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsJSONValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsKeyboardButton.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsLangPackString.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageEntity.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessageMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsMessagesFilter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsNotifyPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPageBlock.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPageListItem.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPageListOrderedItem.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPasswordKdfAlgo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhoneCallDiscardReason.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPhotoSize.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPrivacyKey.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsPrivacyRule.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsRecentMeUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsReplyMarkup.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsReportReason.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsRichText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecureFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecurePasswordKdfAlgo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecurePlainData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecureRequiredType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecureValueError.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSecureValueType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsSendMessageAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsStickerSetCovered.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsTopPeerCategory.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUpdate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUpdates.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUrlAuthResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUserProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsUserStatus.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWebDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAbsWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAccountDaysTTL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLAutoDownloadSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeArctic.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeClassic.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeDay.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeNight.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBaseThemeTinted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBoolFalse.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBoolTrue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotCommand.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMediaResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMessageMediaAuto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMessageMediaContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMessageMediaGeo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMessageMediaVenue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineMessageText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLBotInlineResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLCdnConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLCdnPublicKey.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEvent.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeAbout.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeTitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionChangeUsername.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionDeleteMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionEditMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionParticipantInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionParticipantJoin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionParticipantLeave.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionStopPoll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionToggleInvites.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionToggleSignatures.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionToggleSlowMode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventActionUpdatePinned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelAdminLogEventsFilter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelForbidden.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelFull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelLocationEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelMessagesFilter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelMessagesFilterEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantBanned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantCreator.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantSelf.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsAdmins.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsBanned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsBots.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsKicked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsRecent.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChannelParticipantsSearch.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatAdminRights.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatBannedRights.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatForbidden.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatFull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInviteAlready.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInviteEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatInviteExported.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatOnlines.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipantAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipantCreator.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatParticipantsForbidden.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLChatPhotoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLCodeSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLContactBlocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLContactStatus.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDataJSON.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDcOption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialog.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogFolder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDialogPeerFolder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeAnimated.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeAudio.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeFilename.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeHasStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeImageSize.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeSticker.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentAttributeVideo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDocumentEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDraftMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLDraftMessageEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiKeyword.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiKeywordDeleted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiKeywordsDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiLanguage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEmojiURL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChatDiscarded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChatEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChatRequested.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedChatWaiting.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedFileEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLEncryptedMessageService.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLError.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLExportedMessageLink.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFileHash.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFileLocationToBeDeprecated.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFolder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFolderPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFoundGif.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLFoundGifCached.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLGeoPoint.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLGeoPointEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLHighScore.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLImportedContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInlineBotSwitchPM.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputAppEvent.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageID.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageMediaAuto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageMediaContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageMediaGeo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageMediaVenue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineMessageText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineResult.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineResultDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineResultGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputBotInlineResultPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChannelEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChannelFromMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChatPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChatPhotoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputChatUploadedPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputCheckPasswordEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputCheckPasswordSRP.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputClientProxy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDialogPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDialogPeerFolder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDocumentEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputDocumentFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedFileBigUploaded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedFileEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputEncryptedFileUploaded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFileBig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputFolderPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGameID.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGameShortName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGeoPoint.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputGeoPointEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputKeyboardButtonUrlAuth.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaDocumentExternal.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaGeoLive.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaGeoPoint.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaGifExternal.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaInvoice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaPhotoExternal.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaPoll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaUploadedDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaUploadedPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMediaVenue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessageEntityMentionName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessageID.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagePinned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessageReplyTo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterChatPhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterGeo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterGif.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterMusic.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterMyMentions.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterPhoneCalls.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterPhotoVideo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterPhotos.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterRoundVideo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterRoundVoice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterVideo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputMessagesFilterVoice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyBroadcasts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputNotifyUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPaymentCredentials.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPaymentCredentialsAndroidPay.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPaymentCredentialsApplePay.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPaymentCredentialsSaved.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerChannelFromMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerPhotoFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerSelf.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPeerUserFromMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhoneContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhotoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhotoFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPhotoLegacyFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyAddedByPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyForwards.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyPhoneNumber.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyPhoneP2P.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyKeyStatusTimestamp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueAllowAll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueAllowChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueAllowContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueAllowUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueDisallowAll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueDisallowChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueDisallowContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputPrivacyValueDisallowUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonChildAbuse.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonCopyright.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonGeoIrrelevant.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonOther.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonPornography.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonSpam.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputReportReasonViolence.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureFileUploaded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSecureValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputSingleMedia.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetAnimatedEmoji.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetID.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetItem.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetShortName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickerSetThumb.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickeredMediaDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputStickeredMediaPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputTakeoutFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputThemeSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputThemeSlug.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUserEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUserFromMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputUserSelf.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWallPaperNoFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWallPaperSlug.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWebDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWebFileGeoPointLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInputWebFileLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLInvoice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonArray.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonBool.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonNull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonNumber.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonObject.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonObjectValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLJsonString.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButton.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonBuy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonCallback.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonRequestGeoLocation.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonRequestPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonRow.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonSwitchInline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLKeyboardButtonUrlAuth.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLabeledPrice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackLanguage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackString.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackStringDeleted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLLangPackStringPluralized.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMaskCoords.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionBotAllowed.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChannelCreate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChannelMigrateFrom.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatAddUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatCreate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatDeletePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatDeleteUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatEditPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatEditTitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatJoinedByLink.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionChatMigrateTo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionContactSignUp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionCustomAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionGameScore.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionHistoryClear.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionPaymentSent.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionPaymentSentMe.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionPinMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionScreenshotTaken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionSecureValuesSent.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageActionSecureValuesSentMe.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityBlockquote.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityBold.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityBotCommand.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityCashtag.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityCode.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityHashtag.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityItalic.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityMention.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityMentionName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityPre.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityStrike.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityTextUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityUnderline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityUnknown.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageEntityUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageFwdHeader.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaGame.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaGeo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaGeoLive.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaInvoice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaPoll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaUnsupported.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaVenue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageMediaWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageRange.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLMessageService.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNearestDc.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyBroadcasts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNotifyUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLNull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockAnchor.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockAudio.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockAuthorDate.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockBlockquote.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockCollage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockCover.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockDetails.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockDivider.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockEmbed.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockEmbedPost.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockFooter.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockHeader.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockKicker.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockList.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockMap.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockOrderedList.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockParagraph.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockPreformatted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockPullquote.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockRelatedArticles.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockSlideshow.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockSubheader.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockSubtitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockTable.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockTitle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockUnsupported.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageBlockVideo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageCaption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageListItemBlocks.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageListItemText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageListOrderedItemBlocks.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageListOrderedItemText.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageRelatedArticle.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageTableCell.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPageTableRow.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPasswordKdfAlgoUnknown.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPaymentCharge.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPaymentRequestedInfo.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPaymentSavedCredentialsCard.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerLocated.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPeerUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallAccepted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallDiscardReasonBusy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallDiscardReasonDisconnect.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallDiscardReasonHangup.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallDiscardReasonMissed.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallDiscarded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallProtocol.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallRequested.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneCallWaiting.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoneConnection.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoCachedSize.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoSize.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoSizeEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPhotoStrippedSize.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPoll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollAnswer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollAnswerVoters.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPollResults.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPopularContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPostAddress.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyAddedByPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyForwards.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyPhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyPhoneNumber.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyPhoneP2P.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyKeyStatusTimestamp.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueAllowAll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueAllowChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueAllowContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueAllowUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueDisallowAll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueDisallowChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueDisallowContacts.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLPrivacyValueDisallowUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLReceivedNotifyMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlChat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlChatInvite.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlUnknown.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRecentMeUrlUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLReplyInlineMarkup.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLReplyKeyboardForceReply.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLReplyKeyboardHide.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLReplyKeyboardMarkup.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInitConnection.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeAfterMsg.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeAfterMsgs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeWithLayer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeWithMessagesRange.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeWithTakeout.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRequestInvokeWithoutUpdates.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLRestrictionReason.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSavedPhoneContact.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureCredentialsEncrypted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureFileEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePasswordKdfAlgoSHA512.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePasswordKdfAlgoUnknown.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePlainEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecurePlainPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureRequiredType.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureRequiredTypeOneOf.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureSecretSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueError.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorData.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorFiles.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorFrontSide.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorReverseSide.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorSelfie.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorTranslationFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueErrorTranslationFiles.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueHash.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeAddress.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeBankStatement.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeDriverLicense.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeIdentityCard.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeInternalPassport.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypePassport.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypePassportRegistration.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypePersonalDetails.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypePhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeRentalAgreement.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeTemporaryRegistration.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSecureValueTypeUtilityBill.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageCancelAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageChooseContactAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageGamePlayAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageGeoLocationAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageRecordAudioAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageRecordRoundAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageRecordVideoAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageTypingAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageUploadAudioAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageUploadDocumentAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageUploadPhotoAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageUploadRoundAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLSendMessageUploadVideoAction.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLShippingOption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLStatsURL.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerPack.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerSetCovered.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLStickerSetMultiCovered.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextAnchor.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextBold.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextConcat.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextEmail.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextFixed.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextImage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextItalic.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextMarked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextPlain.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextStrike.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextSubscript.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextSuperscript.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextUnderline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTextUrl.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLThemeSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeer.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryBotsInline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryBotsPM.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryChannels.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryCorrespondents.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryForwardChats.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryForwardUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryGroups.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTopPeerCategoryPhoneCalls.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLTrue.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotCallbackQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotInlineQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotInlineSend.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotPrecheckoutQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotShippingQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotWebhookJSON.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateBotWebhookJSONQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannel.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelAvailableMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelMessageViews.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelPinnedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelReadMessagesContents.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelTooLong.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChannelWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatDefaultBannedRights.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatParticipantAdd.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatParticipantAdmin.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatParticipantDelete.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatParticipants.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatPinnedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateChatUserTyping.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateConfig.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateContactsReset.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDcOptions.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDeleteChannelMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDeleteMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDeleteScheduledMessages.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDialogPinned.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDialogUnreadMark.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateDraftMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEditChannelMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEditMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEncryptedChatTyping.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEncryptedMessagesRead.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateEncryption.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateFavedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateFolderPeers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateGeoLiveViewed.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateInlineBotCallbackQuery.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateLangPack.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateLangPackTooLong.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateLoginToken.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateMessageID.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateMessagePoll.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewChannelMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewEncryptedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewScheduledMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNewStickerSet.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateNotifySettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePeerLocated.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePeerSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePhoneCall.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePinnedDialogs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePrivacy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatePtsChanged.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadChannelInbox.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadChannelOutbox.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadFeaturedStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadHistoryInbox.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadHistoryOutbox.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateReadMessagesContents.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateRecentStickers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateSavedGifs.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateServiceNotification.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateShort.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateShortChatMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateShortMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateShortSentMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateStickerSets.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateStickerSetsOrder.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserBlocked.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserName.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserPhone.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserPhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserPinnedMessage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserStatus.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateUserTyping.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdateWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdates.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatesCombined.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUpdatesTooLong.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUrlAuthResultAccepted.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUrlAuthResultDefault.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUrlAuthResultRequest.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserFull.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserProfilePhoto.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserProfilePhotoEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusLastMonth.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusLastWeek.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusOffline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusOnline.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLUserStatusRecently.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWallPaper.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWallPaperNoFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWallPaperSettings.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebAuthorization.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebDocument.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebDocumentNoProxy.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPage.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPageAttributeTheme.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPageEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPageNotModified.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/TLWebPagePending.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLAbsChannelDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLAbsDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLChannelDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLChannelDifferenceEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLChannelDifferenceTooLong.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLDifferenceEmpty.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLDifferenceSlice.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLDifferenceTooLong.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLRequestGetChannelDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLRequestGetDifference.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLRequestGetState.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Updates/TLState.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLAbsCdnFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLAbsFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLCdnFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLCdnFileReuploadNeeded.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLFileCdnRedirect.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestGetCdnFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestGetCdnFileHashes.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestGetFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestGetFileHashes.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestGetWebFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestReuploadCdnFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestSaveBigFilePart.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLRequestSaveFilePart.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Upload/TLWebFile.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Users/TLRequestGetFullUser.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Users/TLRequestGetUsers.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TL/Users/TLRequestSetSecureValueErrors.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TLContext.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TLMethod.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TLObject.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TLUtils.cs (100%) rename src/{TeleSharp.TL => TgSharp.TL}/TLVector.cs (100%) rename src/{TeleSharp.TL/TeleSharp.TL.csproj => TgSharp.TL/TgSharp.TL.csproj} (97%) rename src/{TeleSharp.TL => TgSharp.TL}/packages.config (100%) diff --git a/src/TgSharp.Core/TgSharp.Core.csproj b/src/TgSharp.Core/TgSharp.Core.csproj index da7dd3f0..18d23a78 100644 --- a/src/TgSharp.Core/TgSharp.Core.csproj +++ b/src/TgSharp.Core/TgSharp.Core.csproj @@ -81,7 +81,7 @@ - + {d6144517-91d2-4880-86df-e9ff5d7f383a} TeleSharp.TL diff --git a/src/TgSharp.Core/TgSharp.Core.nuspec b/src/TgSharp.Core/TgSharp.Core.nuspec index 5389902b..e5b03278 100644 --- a/src/TgSharp.Core/TgSharp.Core.nuspec +++ b/src/TgSharp.Core/TgSharp.Core.nuspec @@ -15,6 +15,6 @@ It's a perfect fit for any developer who would like to send data directly to Tel Copyright 2015-2020 - + diff --git a/src/TeleSharp.TL/ObjectDeserializer.cs b/src/TgSharp.TL/ObjectDeserializer.cs similarity index 100% rename from src/TeleSharp.TL/ObjectDeserializer.cs rename to src/TgSharp.TL/ObjectDeserializer.cs diff --git a/src/TeleSharp.TL/Properties/AssemblyInfo.cs b/src/TgSharp.TL/Properties/AssemblyInfo.cs similarity index 93% rename from src/TeleSharp.TL/Properties/AssemblyInfo.cs rename to src/TgSharp.TL/Properties/AssemblyInfo.cs index 3ff3c974..b690d86e 100644 --- a/src/TeleSharp.TL/Properties/AssemblyInfo.cs +++ b/src/TgSharp.TL/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("TeleSharp.TL")] +[assembly: AssemblyTitle("TgSharp.TL")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TeleSharp.TL")] +[assembly: AssemblyProduct("TgSharp.TL")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/TeleSharp.TL/TL/Account/TLAbsThemes.cs b/src/TgSharp.TL/TL/Account/TLAbsThemes.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLAbsThemes.cs rename to src/TgSharp.TL/TL/Account/TLAbsThemes.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs b/src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLAbsWallPapers.cs rename to src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs b/src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLAuthorizationForm.cs rename to src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLAuthorizations.cs rename to src/TgSharp.TL/TL/Account/TLAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLAutoDownloadSettings.cs rename to src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLContentSettings.cs b/src/TgSharp.TL/TL/Account/TLContentSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLContentSettings.cs rename to src/TgSharp.TL/TL/Account/TLContentSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLPassword.cs b/src/TgSharp.TL/TL/Account/TLPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLPassword.cs rename to src/TgSharp.TL/TL/Account/TLPassword.cs diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs b/src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLPasswordInputSettings.cs rename to src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLPasswordSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLPasswordSettings.cs rename to src/TgSharp.TL/TL/Account/TLPasswordSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs b/src/TgSharp.TL/TL/Account/TLPrivacyRules.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLPrivacyRules.cs rename to src/TgSharp.TL/TL/Account/TLPrivacyRules.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs rename to src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs rename to src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs b/src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestChangePhone.cs rename to src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs b/src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestCheckUsername.cs rename to src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs rename to src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs b/src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestConfirmPhone.cs rename to src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestCreateTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs b/src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestDeleteAccount.cs rename to src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs rename to src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs b/src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs rename to src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetAccountTTL.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetAuthorizations.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs b/src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetContentSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs b/src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetNotifySettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetPassword.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetPrivacy.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetSecureValue.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs b/src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetThemes.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs b/src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetTmpPassword.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetWallPaper.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetWallPapers.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs rename to src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs b/src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs rename to src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestInstallTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestInstallWallPaper.cs rename to src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs b/src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestRegisterDevice.cs rename to src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs b/src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestReportPeer.cs rename to src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs rename to src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResetAuthorization.cs rename to src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResetNotifySettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResetWallPapers.cs rename to src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs rename to src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs rename to src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSaveSecureValue.cs rename to src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSaveTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSaveWallPaper.cs rename to src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs rename to src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs rename to src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs rename to src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs rename to src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs b/src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs rename to src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs b/src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs rename to src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSetContentSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs b/src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestSetPrivacy.cs rename to src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs b/src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUnregisterDevice.cs rename to src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateProfile.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateStatus.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUpdateUsername.cs rename to src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUploadTheme.cs rename to src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestUploadWallPaper.cs rename to src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestVerifyEmail.cs rename to src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs diff --git a/src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs b/src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLRequestVerifyPhone.cs rename to src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs diff --git a/src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs b/src/TgSharp.TL/TL/Account/TLSentEmailCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLSentEmailCode.cs rename to src/TgSharp.TL/TL/Account/TLSentEmailCode.cs diff --git a/src/TeleSharp.TL/TL/Account/TLTakeout.cs b/src/TgSharp.TL/TL/Account/TLTakeout.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLTakeout.cs rename to src/TgSharp.TL/TL/Account/TLTakeout.cs diff --git a/src/TeleSharp.TL/TL/Account/TLThemes.cs b/src/TgSharp.TL/TL/Account/TLThemes.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLThemes.cs rename to src/TgSharp.TL/TL/Account/TLThemes.cs diff --git a/src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs b/src/TgSharp.TL/TL/Account/TLThemesNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLThemesNotModified.cs rename to src/TgSharp.TL/TL/Account/TLThemesNotModified.cs diff --git a/src/TeleSharp.TL/TL/Account/TLTmpPassword.cs b/src/TgSharp.TL/TL/Account/TLTmpPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLTmpPassword.cs rename to src/TgSharp.TL/TL/Account/TLTmpPassword.cs diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapers.cs b/src/TgSharp.TL/TL/Account/TLWallPapers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLWallPapers.cs rename to src/TgSharp.TL/TL/Account/TLWallPapers.cs diff --git a/src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs b/src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLWallPapersNotModified.cs rename to src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Account/TLWebAuthorizations.cs rename to src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAbsAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs b/src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAbsCodeType.cs rename to src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAbsLoginToken.cs rename to src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs b/src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAbsSentCodeType.cs rename to src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs b/src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs rename to src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLCodeTypeCall.cs rename to src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs rename to src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLCodeTypeSms.cs rename to src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLExportedAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLLoginToken.cs rename to src/TgSharp.TL/TL/Auth/TLLoginToken.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs b/src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs rename to src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs b/src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLLoginTokenSuccess.cs rename to src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs b/src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLPasswordRecovery.cs rename to src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs rename to src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs b/src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs rename to src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestCancelCode.cs rename to src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs b/src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestCheckPassword.cs rename to src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs b/src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs rename to src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestExportAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestExportLoginToken.cs rename to src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestImportAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs rename to src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestImportLoginToken.cs rename to src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs b/src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestLogOut.cs rename to src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs b/src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestRecoverPassword.cs rename to src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs b/src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs rename to src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestResendCode.cs rename to src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs b/src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs rename to src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestSendCode.cs rename to src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs b/src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestSignIn.cs rename to src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs b/src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLRequestSignUp.cs rename to src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCode.cs b/src/TgSharp.TL/TL/Auth/TLSentCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLSentCode.cs rename to src/TgSharp.TL/TL/Auth/TLSentCode.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLSentCodeTypeApp.cs rename to src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLSentCodeTypeCall.cs rename to src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs rename to src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs diff --git a/src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs similarity index 100% rename from src/TeleSharp.TL/TL/Auth/TLSentCodeTypeSms.cs rename to src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs diff --git a/src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs b/src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs rename to src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs diff --git a/src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs b/src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs similarity index 100% rename from src/TeleSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs rename to src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs b/src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLAbsChannelParticipants.cs rename to src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs b/src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLAdminLogResults.cs rename to src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs rename to src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLChannelParticipants.cs rename to src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs rename to src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs b/src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestCheckUsername.cs rename to src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestCreateChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestDeleteChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestDeleteHistory.cs rename to src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestDeleteMessages.cs rename to src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs rename to src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditAdmin.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditBanned.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditCreator.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditLocation.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditPhoto.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestEditTitle.cs rename to src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs b/src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestExportMessageLink.cs rename to src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetAdminLog.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetChannels.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetFullChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetMessages.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetParticipant.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestGetParticipants.cs rename to src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestInviteToChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestJoinChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestLeaveChannel.cs rename to src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestReadHistory.cs rename to src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs b/src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestReadMessageContents.cs rename to src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs b/src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestReportSpam.cs rename to src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs b/src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs rename to src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs b/src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestSetStickers.cs rename to src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs b/src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs rename to src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs b/src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestToggleSignatures.cs rename to src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs b/src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs rename to src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs diff --git a/src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs b/src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/Channels/TLRequestUpdateUsername.cs rename to src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLAbsBlocked.cs rename to src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs b/src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLAbsContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLAbsTopPeers.cs rename to src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLBlocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLBlocked.cs rename to src/TgSharp.TL/TL/Contacts/TLBlocked.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs b/src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLBlockedSlice.cs rename to src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLContacts.cs b/src/TgSharp.TL/TL/Contacts/TLContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs b/src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLContactsNotModified.cs rename to src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLFound.cs b/src/TgSharp.TL/TL/Contacts/TLFound.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLFound.cs rename to src/TgSharp.TL/TL/Contacts/TLFound.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs b/src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLImportedContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs b/src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestAcceptContact.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs b/src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestAddContact.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs b/src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestBlock.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetBlocked.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetLocated.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetSaved.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetStatuses.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestImportContacts.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestResetSaved.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestResolveUsername.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs b/src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestSearch.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs b/src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLRequestUnblock.cs rename to src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs b/src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLResolvedPeer.cs rename to src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLTopPeers.cs rename to src/TgSharp.TL/TL/Contacts/TLTopPeers.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLTopPeersDisabled.cs rename to src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs diff --git a/src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Contacts/TLTopPeersNotModified.cs rename to src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs b/src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs similarity index 100% rename from src/TeleSharp.TL/TL/Folders/TLRequestDeleteFolder.cs rename to src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs diff --git a/src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs b/src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs similarity index 100% rename from src/TeleSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs rename to src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsAppUpdate.cs rename to src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs rename to src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsPassportConfig.cs rename to src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs b/src/TgSharp.TL/TL/Help/TLAbsProxyData.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsProxyData.cs rename to src/TgSharp.TL/TL/Help/TLAbsProxyData.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs rename to src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs b/src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAbsUserInfo.cs rename to src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLAppUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLAppUpdate.cs rename to src/TgSharp.TL/TL/Help/TLAppUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLDeepLinkInfo.cs rename to src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs b/src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs rename to src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs diff --git a/src/TeleSharp.TL/TL/Help/TLInviteText.cs b/src/TgSharp.TL/TL/Help/TLInviteText.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLInviteText.cs rename to src/TgSharp.TL/TL/Help/TLInviteText.cs diff --git a/src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLNoAppUpdate.cs rename to src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLPassportConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLPassportConfig.cs rename to src/TgSharp.TL/TL/Help/TLPassportConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs b/src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLPassportConfigNotModified.cs rename to src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs b/src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLProxyDataEmpty.cs rename to src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs diff --git a/src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs b/src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLProxyDataPromo.cs rename to src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs b/src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRecentMeUrls.cs rename to src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs b/src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs rename to src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestEditUserInfo.cs rename to src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetAppChangelog.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetAppConfig.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetAppUpdate.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetCdnConfig.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetConfig.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs b/src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetInviteText.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs b/src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetNearestDc.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetPassportConfig.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs b/src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetProxyData.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs b/src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs b/src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetSupport.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs b/src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetSupportName.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestGetUserInfo.cs rename to src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs b/src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestSaveAppLog.cs rename to src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs diff --git a/src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs b/src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs rename to src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs diff --git a/src/TeleSharp.TL/TL/Help/TLSupport.cs b/src/TgSharp.TL/TL/Help/TLSupport.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLSupport.cs rename to src/TgSharp.TL/TL/Help/TLSupport.cs diff --git a/src/TeleSharp.TL/TL/Help/TLSupportName.cs b/src/TgSharp.TL/TL/Help/TLSupportName.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLSupportName.cs rename to src/TgSharp.TL/TL/Help/TLSupportName.cs diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfService.cs b/src/TgSharp.TL/TL/Help/TLTermsOfService.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLTermsOfService.cs rename to src/TgSharp.TL/TL/Help/TLTermsOfService.cs diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs rename to src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs diff --git a/src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs rename to src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfo.cs b/src/TgSharp.TL/TL/Help/TLUserInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLUserInfo.cs rename to src/TgSharp.TL/TL/Help/TLUserInfo.cs diff --git a/src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs b/src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Help/TLUserInfoEmpty.cs rename to src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Langpack/TLRequestGetDifference.cs rename to src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs similarity index 100% rename from src/TeleSharp.TL/TL/Langpack/TLRequestGetLangPack.cs rename to src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguage.cs rename to src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Langpack/TLRequestGetLanguages.cs rename to src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs diff --git a/src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Langpack/TLRequestGetStrings.cs rename to src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsChats.cs b/src/TgSharp.TL/TL/Messages/TLAbsChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsChats.cs rename to src/TgSharp.TL/TL/Messages/TLAbsChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsDhConfig.cs rename to src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs b/src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsFavedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs rename to src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs b/src/TgSharp.TL/TL/Messages/TLAbsMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsMessages.cs rename to src/TgSharp.TL/TL/Messages/TLAbsMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsRecentStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsSavedGifs.cs rename to src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs b/src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs rename to src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs b/src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs rename to src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAbsStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAbsStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs b/src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs rename to src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs b/src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAffectedMessages.cs rename to src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLAllStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAllStickers.cs rename to src/TgSharp.TL/TL/Messages/TLAllStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLAllStickersNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs b/src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLArchivedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLBotCallbackAnswer.cs rename to src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLBotResults.cs b/src/TgSharp.TL/TL/Messages/TLBotResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLBotResults.cs rename to src/TgSharp.TL/TL/Messages/TLBotResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs b/src/TgSharp.TL/TL/Messages/TLChannelMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLChannelMessages.cs rename to src/TgSharp.TL/TL/Messages/TLChannelMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLChatFull.cs b/src/TgSharp.TL/TL/Messages/TLChatFull.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLChatFull.cs rename to src/TgSharp.TL/TL/Messages/TLChatFull.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLChats.cs b/src/TgSharp.TL/TL/Messages/TLChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLChats.cs rename to src/TgSharp.TL/TL/Messages/TLChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs b/src/TgSharp.TL/TL/Messages/TLChatsSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLChatsSlice.cs rename to src/TgSharp.TL/TL/Messages/TLChatsSlice.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLDhConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLDhConfig.cs rename to src/TgSharp.TL/TL/Messages/TLDhConfig.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs b/src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLDhConfigNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogs.cs b/src/TgSharp.TL/TL/Messages/TLDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLDialogsNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs b/src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLDialogsSlice.cs rename to src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLFavedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFavedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLFavedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFavedStickersNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs b/src/TgSharp.TL/TL/Messages/TLFoundGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFoundGifs.cs rename to src/TgSharp.TL/TL/Messages/TLFoundGifs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFoundStickerSets.cs rename to src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLHighScores.cs b/src/TgSharp.TL/TL/Messages/TLHighScores.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLHighScores.cs rename to src/TgSharp.TL/TL/Messages/TLHighScores.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs b/src/TgSharp.TL/TL/Messages/TLInactiveChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLInactiveChats.cs rename to src/TgSharp.TL/TL/Messages/TLInactiveChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs b/src/TgSharp.TL/TL/Messages/TLMessageEditData.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLMessageEditData.cs rename to src/TgSharp.TL/TL/Messages/TLMessageEditData.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLMessages.cs b/src/TgSharp.TL/TL/Messages/TLMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLMessages.cs rename to src/TgSharp.TL/TL/Messages/TLMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs b/src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLMessagesNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs b/src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLMessagesSlice.cs rename to src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs b/src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLPeerDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRecentStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRecentStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRecentStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRecentStickersNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs rename to src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs b/src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs rename to src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs b/src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestAddChatUser.cs rename to src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs rename to src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs b/src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs rename to src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestCreateChat.cs rename to src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs rename to src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestDeleteHistory.cs rename to src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestDeleteMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs rename to src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditChatAbout.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditChatTitle.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestEditMessage.cs rename to src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestExportChatInvite.cs rename to src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs b/src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestFaveSticker.cs rename to src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestForwardMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetAllChats.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetChats.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetCommonChats.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetDhConfig.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetFullChat.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetHistory.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetOnlines.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetPollResults.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetStatsURL.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetStickerSet.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetWebPage.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs rename to src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs b/src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs rename to src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestImportChatInvite.cs rename to src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs rename to src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs b/src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs rename to src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestMigrateChat.cs rename to src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReadHistory.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReadMentions.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReadMessageContents.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReceivedMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs b/src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReceivedQueue.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReport.cs b/src/TgSharp.TL/TL/Messages/TLRequestReport.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReport.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReport.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs b/src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs b/src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestReportSpam.cs rename to src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestRequestEncryption.cs rename to src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs b/src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs rename to src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSaveDraft.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSaveGif.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearch.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSearch.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSearch.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSearchGifs.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSearchGlobal.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendEncrypted.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendMedia.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendMessage.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSendVote.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetGameScore.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestSetTyping.cs rename to src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs b/src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestStartBot.cs rename to src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs b/src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs rename to src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs rename to src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs rename to src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs rename to src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLRequestUploadMedia.cs rename to src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLSavedGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLSavedGifs.cs rename to src/TgSharp.TL/TL/Messages/TLSavedGifs.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLSavedGifsNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs b/src/TgSharp.TL/TL/Messages/TLSearchCounter.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLSearchCounter.cs rename to src/TgSharp.TL/TL/Messages/TLSearchCounter.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLSentEncryptedFile.cs rename to src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs b/src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLSentEncryptedMessage.cs rename to src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLStickerSet.cs rename to src/TgSharp.TL/TL/Messages/TLStickerSet.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs rename to src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs rename to src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLStickers.cs b/src/TgSharp.TL/TL/Messages/TLStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLStickers.cs rename to src/TgSharp.TL/TL/Messages/TLStickers.cs diff --git a/src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/Messages/TLStickersNotModified.cs rename to src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs b/src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLAbsPaymentResult.cs rename to src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLPaymentForm.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLPaymentForm.cs rename to src/TgSharp.TL/TL/Payments/TLPaymentForm.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs b/src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLPaymentReceipt.cs rename to src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs b/src/TgSharp.TL/TL/Payments/TLPaymentResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLPaymentResult.cs rename to src/TgSharp.TL/TL/Payments/TLPaymentResult.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs b/src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs rename to src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs rename to src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs rename to src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs rename to src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs rename to src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs rename to src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs rename to src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLSavedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLSavedInfo.cs rename to src/TgSharp.TL/TL/Payments/TLSavedInfo.cs diff --git a/src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs b/src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs rename to src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs b/src/TgSharp.TL/TL/Phone/TLPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLPhoneCall.cs rename to src/TgSharp.TL/TL/Phone/TLPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestAcceptCall.cs rename to src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestConfirmCall.cs rename to src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestDiscardCall.cs rename to src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs b/src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestGetCallConfig.cs rename to src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestReceivedCall.cs rename to src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestRequestCall.cs rename to src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs b/src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs rename to src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs diff --git a/src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs b/src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs similarity index 100% rename from src/TeleSharp.TL/TL/Phone/TLRequestSetCallRating.cs rename to src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs b/src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLAbsPhotos.cs rename to src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLPhoto.cs b/src/TgSharp.TL/TL/Photos/TLPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLPhoto.cs rename to src/TgSharp.TL/TL/Photos/TLPhoto.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLPhotos.cs b/src/TgSharp.TL/TL/Photos/TLPhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLPhotos.cs rename to src/TgSharp.TL/TL/Photos/TLPhotos.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs b/src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs rename to src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs b/src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLRequestDeletePhotos.cs rename to src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs b/src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs rename to src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs b/src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs rename to src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs b/src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs rename to src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs rename to src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs b/src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs similarity index 100% rename from src/TeleSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs rename to src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs rename to src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs diff --git a/src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs rename to src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs b/src/TgSharp.TL/TL/Storage/TLAbsFileType.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLAbsFileType.cs rename to src/TgSharp.TL/TL/Storage/TLAbsFileType.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileGif.cs b/src/TgSharp.TL/TL/Storage/TLFileGif.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileGif.cs rename to src/TgSharp.TL/TL/Storage/TLFileGif.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs b/src/TgSharp.TL/TL/Storage/TLFileJpeg.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileJpeg.cs rename to src/TgSharp.TL/TL/Storage/TLFileJpeg.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMov.cs b/src/TgSharp.TL/TL/Storage/TLFileMov.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileMov.cs rename to src/TgSharp.TL/TL/Storage/TLFileMov.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMp3.cs b/src/TgSharp.TL/TL/Storage/TLFileMp3.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileMp3.cs rename to src/TgSharp.TL/TL/Storage/TLFileMp3.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileMp4.cs b/src/TgSharp.TL/TL/Storage/TLFileMp4.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileMp4.cs rename to src/TgSharp.TL/TL/Storage/TLFileMp4.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePartial.cs b/src/TgSharp.TL/TL/Storage/TLFilePartial.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFilePartial.cs rename to src/TgSharp.TL/TL/Storage/TLFilePartial.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePdf.cs b/src/TgSharp.TL/TL/Storage/TLFilePdf.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFilePdf.cs rename to src/TgSharp.TL/TL/Storage/TLFilePdf.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFilePng.cs b/src/TgSharp.TL/TL/Storage/TLFilePng.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFilePng.cs rename to src/TgSharp.TL/TL/Storage/TLFilePng.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs b/src/TgSharp.TL/TL/Storage/TLFileUnknown.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileUnknown.cs rename to src/TgSharp.TL/TL/Storage/TLFileUnknown.cs diff --git a/src/TeleSharp.TL/TL/Storage/TLFileWebp.cs b/src/TgSharp.TL/TL/Storage/TLFileWebp.cs similarity index 100% rename from src/TeleSharp.TL/TL/Storage/TLFileWebp.cs rename to src/TgSharp.TL/TL/Storage/TLFileWebp.cs diff --git a/src/TeleSharp.TL/TL/TLAbsBaseTheme.cs b/src/TgSharp.TL/TL/TLAbsBaseTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsBaseTheme.cs rename to src/TgSharp.TL/TL/TLAbsBaseTheme.cs diff --git a/src/TeleSharp.TL/TL/TLAbsBool.cs b/src/TgSharp.TL/TL/TLAbsBool.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsBool.cs rename to src/TgSharp.TL/TL/TLAbsBool.cs diff --git a/src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs b/src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsBotInlineMessage.cs rename to src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs b/src/TgSharp.TL/TL/TLAbsBotInlineResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsBotInlineResult.cs rename to src/TgSharp.TL/TL/TLAbsBotInlineResult.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs b/src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs rename to src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChannelLocation.cs b/src/TgSharp.TL/TL/TLAbsChannelLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChannelLocation.cs rename to src/TgSharp.TL/TL/TLAbsChannelLocation.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs b/src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChannelMessagesFilter.cs rename to src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs b/src/TgSharp.TL/TL/TLAbsChannelParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChannelParticipant.cs rename to src/TgSharp.TL/TL/TLAbsChannelParticipant.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs b/src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChannelParticipantsFilter.cs rename to src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChat.cs b/src/TgSharp.TL/TL/TLAbsChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChat.cs rename to src/TgSharp.TL/TL/TLAbsChat.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChatFull.cs b/src/TgSharp.TL/TL/TLAbsChatFull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChatFull.cs rename to src/TgSharp.TL/TL/TLAbsChatFull.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChatInvite.cs b/src/TgSharp.TL/TL/TLAbsChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChatInvite.cs rename to src/TgSharp.TL/TL/TLAbsChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChatParticipant.cs b/src/TgSharp.TL/TL/TLAbsChatParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChatParticipant.cs rename to src/TgSharp.TL/TL/TLAbsChatParticipant.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChatParticipants.cs b/src/TgSharp.TL/TL/TLAbsChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChatParticipants.cs rename to src/TgSharp.TL/TL/TLAbsChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLAbsChatPhoto.cs b/src/TgSharp.TL/TL/TLAbsChatPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsChatPhoto.cs rename to src/TgSharp.TL/TL/TLAbsChatPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLAbsDialog.cs b/src/TgSharp.TL/TL/TLAbsDialog.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsDialog.cs rename to src/TgSharp.TL/TL/TLAbsDialog.cs diff --git a/src/TeleSharp.TL/TL/TLAbsDialogPeer.cs b/src/TgSharp.TL/TL/TLAbsDialogPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsDialogPeer.cs rename to src/TgSharp.TL/TL/TLAbsDialogPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsDocument.cs b/src/TgSharp.TL/TL/TLAbsDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsDocument.cs rename to src/TgSharp.TL/TL/TLAbsDocument.cs diff --git a/src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs b/src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsDocumentAttribute.cs rename to src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs diff --git a/src/TeleSharp.TL/TL/TLAbsDraftMessage.cs b/src/TgSharp.TL/TL/TLAbsDraftMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsDraftMessage.cs rename to src/TgSharp.TL/TL/TLAbsDraftMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs b/src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsEmojiKeyword.cs rename to src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs b/src/TgSharp.TL/TL/TLAbsEncryptedChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsEncryptedChat.cs rename to src/TgSharp.TL/TL/TLAbsEncryptedChat.cs diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs b/src/TgSharp.TL/TL/TLAbsEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsEncryptedFile.cs rename to src/TgSharp.TL/TL/TLAbsEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs b/src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsEncryptedMessage.cs rename to src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs b/src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsExportedChatInvite.cs rename to src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLAbsFoundGif.cs b/src/TgSharp.TL/TL/TLAbsFoundGif.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsFoundGif.cs rename to src/TgSharp.TL/TL/TLAbsFoundGif.cs diff --git a/src/TeleSharp.TL/TL/TLAbsGeoPoint.cs b/src/TgSharp.TL/TL/TLAbsGeoPoint.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsGeoPoint.cs rename to src/TgSharp.TL/TL/TLAbsGeoPoint.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs b/src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputBotInlineMessage.cs rename to src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs b/src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputBotInlineResult.cs rename to src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputChannel.cs b/src/TgSharp.TL/TL/TLAbsInputChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputChannel.cs rename to src/TgSharp.TL/TL/TLAbsInputChannel.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs b/src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputChatPhoto.cs rename to src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs b/src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs rename to src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs b/src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputDialogPeer.cs rename to src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputDocument.cs b/src/TgSharp.TL/TL/TLAbsInputDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputDocument.cs rename to src/TgSharp.TL/TL/TLAbsInputDocument.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs b/src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputEncryptedFile.cs rename to src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputFile.cs b/src/TgSharp.TL/TL/TLAbsInputFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputFile.cs rename to src/TgSharp.TL/TL/TLAbsInputFile.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs b/src/TgSharp.TL/TL/TLAbsInputFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputFileLocation.cs rename to src/TgSharp.TL/TL/TLAbsInputFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputGame.cs b/src/TgSharp.TL/TL/TLAbsInputGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputGame.cs rename to src/TgSharp.TL/TL/TLAbsInputGame.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs b/src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputGeoPoint.cs rename to src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputMedia.cs b/src/TgSharp.TL/TL/TLAbsInputMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputMedia.cs rename to src/TgSharp.TL/TL/TLAbsInputMedia.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputMessage.cs b/src/TgSharp.TL/TL/TLAbsInputMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputMessage.cs rename to src/TgSharp.TL/TL/TLAbsInputMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs b/src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputNotifyPeer.cs rename to src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs b/src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputPaymentCredentials.cs rename to src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputPeer.cs b/src/TgSharp.TL/TL/TLAbsInputPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputPeer.cs rename to src/TgSharp.TL/TL/TLAbsInputPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputPhoto.cs b/src/TgSharp.TL/TL/TLAbsInputPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputPhoto.cs rename to src/TgSharp.TL/TL/TLAbsInputPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs b/src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputPrivacyKey.cs rename to src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs b/src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputPrivacyRule.cs rename to src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs b/src/TgSharp.TL/TL/TLAbsInputSecureFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputSecureFile.cs rename to src/TgSharp.TL/TL/TLAbsInputSecureFile.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs b/src/TgSharp.TL/TL/TLAbsInputStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputStickerSet.cs rename to src/TgSharp.TL/TL/TLAbsInputStickerSet.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs b/src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputStickeredMedia.cs rename to src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputTheme.cs b/src/TgSharp.TL/TL/TLAbsInputTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputTheme.cs rename to src/TgSharp.TL/TL/TLAbsInputTheme.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputUser.cs b/src/TgSharp.TL/TL/TLAbsInputUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputUser.cs rename to src/TgSharp.TL/TL/TLAbsInputUser.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs b/src/TgSharp.TL/TL/TLAbsInputWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputWallPaper.cs rename to src/TgSharp.TL/TL/TLAbsInputWallPaper.cs diff --git a/src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs b/src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsInputWebFileLocation.cs rename to src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLAbsJSONValue.cs b/src/TgSharp.TL/TL/TLAbsJSONValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsJSONValue.cs rename to src/TgSharp.TL/TL/TLAbsJSONValue.cs diff --git a/src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs b/src/TgSharp.TL/TL/TLAbsKeyboardButton.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsKeyboardButton.cs rename to src/TgSharp.TL/TL/TLAbsKeyboardButton.cs diff --git a/src/TeleSharp.TL/TL/TLAbsLangPackString.cs b/src/TgSharp.TL/TL/TLAbsLangPackString.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsLangPackString.cs rename to src/TgSharp.TL/TL/TLAbsLangPackString.cs diff --git a/src/TeleSharp.TL/TL/TLAbsMessage.cs b/src/TgSharp.TL/TL/TLAbsMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsMessage.cs rename to src/TgSharp.TL/TL/TLAbsMessage.cs diff --git a/src/TeleSharp.TL/TL/TLAbsMessageAction.cs b/src/TgSharp.TL/TL/TLAbsMessageAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsMessageAction.cs rename to src/TgSharp.TL/TL/TLAbsMessageAction.cs diff --git a/src/TeleSharp.TL/TL/TLAbsMessageEntity.cs b/src/TgSharp.TL/TL/TLAbsMessageEntity.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsMessageEntity.cs rename to src/TgSharp.TL/TL/TLAbsMessageEntity.cs diff --git a/src/TeleSharp.TL/TL/TLAbsMessageMedia.cs b/src/TgSharp.TL/TL/TLAbsMessageMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsMessageMedia.cs rename to src/TgSharp.TL/TL/TLAbsMessageMedia.cs diff --git a/src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs b/src/TgSharp.TL/TL/TLAbsMessagesFilter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsMessagesFilter.cs rename to src/TgSharp.TL/TL/TLAbsMessagesFilter.cs diff --git a/src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs b/src/TgSharp.TL/TL/TLAbsNotifyPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsNotifyPeer.cs rename to src/TgSharp.TL/TL/TLAbsNotifyPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPageBlock.cs b/src/TgSharp.TL/TL/TLAbsPageBlock.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPageBlock.cs rename to src/TgSharp.TL/TL/TLAbsPageBlock.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPageListItem.cs b/src/TgSharp.TL/TL/TLAbsPageListItem.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPageListItem.cs rename to src/TgSharp.TL/TL/TLAbsPageListItem.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs b/src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPageListOrderedItem.cs rename to src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs b/src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPasswordKdfAlgo.cs rename to src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPeer.cs b/src/TgSharp.TL/TL/TLAbsPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPeer.cs rename to src/TgSharp.TL/TL/TLAbsPeer.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPhoneCall.cs b/src/TgSharp.TL/TL/TLAbsPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPhoneCall.cs rename to src/TgSharp.TL/TL/TLAbsPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs b/src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs rename to src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPhoto.cs b/src/TgSharp.TL/TL/TLAbsPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPhoto.cs rename to src/TgSharp.TL/TL/TLAbsPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPhotoSize.cs b/src/TgSharp.TL/TL/TLAbsPhotoSize.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPhotoSize.cs rename to src/TgSharp.TL/TL/TLAbsPhotoSize.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs b/src/TgSharp.TL/TL/TLAbsPrivacyKey.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPrivacyKey.cs rename to src/TgSharp.TL/TL/TLAbsPrivacyKey.cs diff --git a/src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs b/src/TgSharp.TL/TL/TLAbsPrivacyRule.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsPrivacyRule.cs rename to src/TgSharp.TL/TL/TLAbsPrivacyRule.cs diff --git a/src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs b/src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsRecentMeUrl.cs rename to src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs diff --git a/src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs b/src/TgSharp.TL/TL/TLAbsReplyMarkup.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsReplyMarkup.cs rename to src/TgSharp.TL/TL/TLAbsReplyMarkup.cs diff --git a/src/TeleSharp.TL/TL/TLAbsReportReason.cs b/src/TgSharp.TL/TL/TLAbsReportReason.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsReportReason.cs rename to src/TgSharp.TL/TL/TLAbsReportReason.cs diff --git a/src/TeleSharp.TL/TL/TLAbsRichText.cs b/src/TgSharp.TL/TL/TLAbsRichText.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsRichText.cs rename to src/TgSharp.TL/TL/TLAbsRichText.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecureFile.cs b/src/TgSharp.TL/TL/TLAbsSecureFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecureFile.cs rename to src/TgSharp.TL/TL/TLAbsSecureFile.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs b/src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs rename to src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs b/src/TgSharp.TL/TL/TLAbsSecurePlainData.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecurePlainData.cs rename to src/TgSharp.TL/TL/TLAbsSecurePlainData.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs b/src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecureRequiredType.cs rename to src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueError.cs b/src/TgSharp.TL/TL/TLAbsSecureValueError.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecureValueError.cs rename to src/TgSharp.TL/TL/TLAbsSecureValueError.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSecureValueType.cs b/src/TgSharp.TL/TL/TLAbsSecureValueType.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSecureValueType.cs rename to src/TgSharp.TL/TL/TLAbsSecureValueType.cs diff --git a/src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs b/src/TgSharp.TL/TL/TLAbsSendMessageAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsSendMessageAction.cs rename to src/TgSharp.TL/TL/TLAbsSendMessageAction.cs diff --git a/src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs b/src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsStickerSetCovered.cs rename to src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs diff --git a/src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs b/src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsTopPeerCategory.cs rename to src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUpdate.cs b/src/TgSharp.TL/TL/TLAbsUpdate.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUpdate.cs rename to src/TgSharp.TL/TL/TLAbsUpdate.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUpdates.cs b/src/TgSharp.TL/TL/TLAbsUpdates.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUpdates.cs rename to src/TgSharp.TL/TL/TLAbsUpdates.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs b/src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUrlAuthResult.cs rename to src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUser.cs b/src/TgSharp.TL/TL/TLAbsUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUser.cs rename to src/TgSharp.TL/TL/TLAbsUser.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs b/src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUserProfilePhoto.cs rename to src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLAbsUserStatus.cs b/src/TgSharp.TL/TL/TLAbsUserStatus.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsUserStatus.cs rename to src/TgSharp.TL/TL/TLAbsUserStatus.cs diff --git a/src/TeleSharp.TL/TL/TLAbsWallPaper.cs b/src/TgSharp.TL/TL/TLAbsWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsWallPaper.cs rename to src/TgSharp.TL/TL/TLAbsWallPaper.cs diff --git a/src/TeleSharp.TL/TL/TLAbsWebDocument.cs b/src/TgSharp.TL/TL/TLAbsWebDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsWebDocument.cs rename to src/TgSharp.TL/TL/TLAbsWebDocument.cs diff --git a/src/TeleSharp.TL/TL/TLAbsWebPage.cs b/src/TgSharp.TL/TL/TLAbsWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAbsWebPage.cs rename to src/TgSharp.TL/TL/TLAbsWebPage.cs diff --git a/src/TeleSharp.TL/TL/TLAccountDaysTTL.cs b/src/TgSharp.TL/TL/TLAccountDaysTTL.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAccountDaysTTL.cs rename to src/TgSharp.TL/TL/TLAccountDaysTTL.cs diff --git a/src/TeleSharp.TL/TL/TLAuthorization.cs b/src/TgSharp.TL/TL/TLAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAuthorization.cs rename to src/TgSharp.TL/TL/TLAuthorization.cs diff --git a/src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs b/src/TgSharp.TL/TL/TLAutoDownloadSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLAutoDownloadSettings.cs rename to src/TgSharp.TL/TL/TLAutoDownloadSettings.cs diff --git a/src/TeleSharp.TL/TL/TLBaseThemeArctic.cs b/src/TgSharp.TL/TL/TLBaseThemeArctic.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBaseThemeArctic.cs rename to src/TgSharp.TL/TL/TLBaseThemeArctic.cs diff --git a/src/TeleSharp.TL/TL/TLBaseThemeClassic.cs b/src/TgSharp.TL/TL/TLBaseThemeClassic.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBaseThemeClassic.cs rename to src/TgSharp.TL/TL/TLBaseThemeClassic.cs diff --git a/src/TeleSharp.TL/TL/TLBaseThemeDay.cs b/src/TgSharp.TL/TL/TLBaseThemeDay.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBaseThemeDay.cs rename to src/TgSharp.TL/TL/TLBaseThemeDay.cs diff --git a/src/TeleSharp.TL/TL/TLBaseThemeNight.cs b/src/TgSharp.TL/TL/TLBaseThemeNight.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBaseThemeNight.cs rename to src/TgSharp.TL/TL/TLBaseThemeNight.cs diff --git a/src/TeleSharp.TL/TL/TLBaseThemeTinted.cs b/src/TgSharp.TL/TL/TLBaseThemeTinted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBaseThemeTinted.cs rename to src/TgSharp.TL/TL/TLBaseThemeTinted.cs diff --git a/src/TeleSharp.TL/TL/TLBoolFalse.cs b/src/TgSharp.TL/TL/TLBoolFalse.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBoolFalse.cs rename to src/TgSharp.TL/TL/TLBoolFalse.cs diff --git a/src/TeleSharp.TL/TL/TLBoolTrue.cs b/src/TgSharp.TL/TL/TLBoolTrue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBoolTrue.cs rename to src/TgSharp.TL/TL/TLBoolTrue.cs diff --git a/src/TeleSharp.TL/TL/TLBotCommand.cs b/src/TgSharp.TL/TL/TLBotCommand.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotCommand.cs rename to src/TgSharp.TL/TL/TLBotCommand.cs diff --git a/src/TeleSharp.TL/TL/TLBotInfo.cs b/src/TgSharp.TL/TL/TLBotInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInfo.cs rename to src/TgSharp.TL/TL/TLBotInfo.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs b/src/TgSharp.TL/TL/TLBotInlineMediaResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMediaResult.cs rename to src/TgSharp.TL/TL/TLBotInlineMediaResult.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMessageMediaAuto.cs rename to src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMessageMediaContact.cs rename to src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMessageMediaGeo.cs rename to src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMessageMediaVenue.cs rename to src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineMessageText.cs b/src/TgSharp.TL/TL/TLBotInlineMessageText.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineMessageText.cs rename to src/TgSharp.TL/TL/TLBotInlineMessageText.cs diff --git a/src/TeleSharp.TL/TL/TLBotInlineResult.cs b/src/TgSharp.TL/TL/TLBotInlineResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLBotInlineResult.cs rename to src/TgSharp.TL/TL/TLBotInlineResult.cs diff --git a/src/TeleSharp.TL/TL/TLCdnConfig.cs b/src/TgSharp.TL/TL/TLCdnConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLCdnConfig.cs rename to src/TgSharp.TL/TL/TLCdnConfig.cs diff --git a/src/TeleSharp.TL/TL/TLCdnPublicKey.cs b/src/TgSharp.TL/TL/TLCdnPublicKey.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLCdnPublicKey.cs rename to src/TgSharp.TL/TL/TLCdnPublicKey.cs diff --git a/src/TeleSharp.TL/TL/TLChannel.cs b/src/TgSharp.TL/TL/TLChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannel.cs rename to src/TgSharp.TL/TL/TLChannel.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEvent.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs diff --git a/src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelAdminLogEventsFilter.cs rename to src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs diff --git a/src/TeleSharp.TL/TL/TLChannelForbidden.cs b/src/TgSharp.TL/TL/TLChannelForbidden.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelForbidden.cs rename to src/TgSharp.TL/TL/TLChannelForbidden.cs diff --git a/src/TeleSharp.TL/TL/TLChannelFull.cs b/src/TgSharp.TL/TL/TLChannelFull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelFull.cs rename to src/TgSharp.TL/TL/TLChannelFull.cs diff --git a/src/TeleSharp.TL/TL/TLChannelLocation.cs b/src/TgSharp.TL/TL/TLChannelLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelLocation.cs rename to src/TgSharp.TL/TL/TLChannelLocation.cs diff --git a/src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs b/src/TgSharp.TL/TL/TLChannelLocationEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelLocationEmpty.cs rename to src/TgSharp.TL/TL/TLChannelLocationEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs b/src/TgSharp.TL/TL/TLChannelMessagesFilter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelMessagesFilter.cs rename to src/TgSharp.TL/TL/TLChannelMessagesFilter.cs diff --git a/src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs b/src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelMessagesFilterEmpty.cs rename to src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipant.cs b/src/TgSharp.TL/TL/TLChannelParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipant.cs rename to src/TgSharp.TL/TL/TLChannelParticipant.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs b/src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantAdmin.cs rename to src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs b/src/TgSharp.TL/TL/TLChannelParticipantBanned.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantBanned.cs rename to src/TgSharp.TL/TL/TLChannelParticipantBanned.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs b/src/TgSharp.TL/TL/TLChannelParticipantCreator.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantCreator.cs rename to src/TgSharp.TL/TL/TLChannelParticipantCreator.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs b/src/TgSharp.TL/TL/TLChannelParticipantSelf.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantSelf.cs rename to src/TgSharp.TL/TL/TLChannelParticipantSelf.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs b/src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsAdmins.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs b/src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsBanned.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs b/src/TgSharp.TL/TL/TLChannelParticipantsBots.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsBots.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsBots.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs b/src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsContacts.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs b/src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsKicked.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs b/src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsRecent.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs diff --git a/src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs b/src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChannelParticipantsSearch.cs rename to src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs diff --git a/src/TeleSharp.TL/TL/TLChat.cs b/src/TgSharp.TL/TL/TLChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChat.cs rename to src/TgSharp.TL/TL/TLChat.cs diff --git a/src/TeleSharp.TL/TL/TLChatAdminRights.cs b/src/TgSharp.TL/TL/TLChatAdminRights.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatAdminRights.cs rename to src/TgSharp.TL/TL/TLChatAdminRights.cs diff --git a/src/TeleSharp.TL/TL/TLChatBannedRights.cs b/src/TgSharp.TL/TL/TLChatBannedRights.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatBannedRights.cs rename to src/TgSharp.TL/TL/TLChatBannedRights.cs diff --git a/src/TeleSharp.TL/TL/TLChatEmpty.cs b/src/TgSharp.TL/TL/TLChatEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatEmpty.cs rename to src/TgSharp.TL/TL/TLChatEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLChatForbidden.cs b/src/TgSharp.TL/TL/TLChatForbidden.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatForbidden.cs rename to src/TgSharp.TL/TL/TLChatForbidden.cs diff --git a/src/TeleSharp.TL/TL/TLChatFull.cs b/src/TgSharp.TL/TL/TLChatFull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatFull.cs rename to src/TgSharp.TL/TL/TLChatFull.cs diff --git a/src/TeleSharp.TL/TL/TLChatInvite.cs b/src/TgSharp.TL/TL/TLChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatInvite.cs rename to src/TgSharp.TL/TL/TLChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLChatInviteAlready.cs b/src/TgSharp.TL/TL/TLChatInviteAlready.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatInviteAlready.cs rename to src/TgSharp.TL/TL/TLChatInviteAlready.cs diff --git a/src/TeleSharp.TL/TL/TLChatInviteEmpty.cs b/src/TgSharp.TL/TL/TLChatInviteEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatInviteEmpty.cs rename to src/TgSharp.TL/TL/TLChatInviteEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLChatInviteExported.cs b/src/TgSharp.TL/TL/TLChatInviteExported.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatInviteExported.cs rename to src/TgSharp.TL/TL/TLChatInviteExported.cs diff --git a/src/TeleSharp.TL/TL/TLChatOnlines.cs b/src/TgSharp.TL/TL/TLChatOnlines.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatOnlines.cs rename to src/TgSharp.TL/TL/TLChatOnlines.cs diff --git a/src/TeleSharp.TL/TL/TLChatParticipant.cs b/src/TgSharp.TL/TL/TLChatParticipant.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatParticipant.cs rename to src/TgSharp.TL/TL/TLChatParticipant.cs diff --git a/src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs b/src/TgSharp.TL/TL/TLChatParticipantAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatParticipantAdmin.cs rename to src/TgSharp.TL/TL/TLChatParticipantAdmin.cs diff --git a/src/TeleSharp.TL/TL/TLChatParticipantCreator.cs b/src/TgSharp.TL/TL/TLChatParticipantCreator.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatParticipantCreator.cs rename to src/TgSharp.TL/TL/TLChatParticipantCreator.cs diff --git a/src/TeleSharp.TL/TL/TLChatParticipants.cs b/src/TgSharp.TL/TL/TLChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatParticipants.cs rename to src/TgSharp.TL/TL/TLChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs b/src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatParticipantsForbidden.cs rename to src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs diff --git a/src/TeleSharp.TL/TL/TLChatPhoto.cs b/src/TgSharp.TL/TL/TLChatPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatPhoto.cs rename to src/TgSharp.TL/TL/TLChatPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs b/src/TgSharp.TL/TL/TLChatPhotoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLChatPhotoEmpty.cs rename to src/TgSharp.TL/TL/TLChatPhotoEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLCodeSettings.cs b/src/TgSharp.TL/TL/TLCodeSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLCodeSettings.cs rename to src/TgSharp.TL/TL/TLCodeSettings.cs diff --git a/src/TeleSharp.TL/TL/TLConfig.cs b/src/TgSharp.TL/TL/TLConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLConfig.cs rename to src/TgSharp.TL/TL/TLConfig.cs diff --git a/src/TeleSharp.TL/TL/TLContact.cs b/src/TgSharp.TL/TL/TLContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLContact.cs rename to src/TgSharp.TL/TL/TLContact.cs diff --git a/src/TeleSharp.TL/TL/TLContactBlocked.cs b/src/TgSharp.TL/TL/TLContactBlocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLContactBlocked.cs rename to src/TgSharp.TL/TL/TLContactBlocked.cs diff --git a/src/TeleSharp.TL/TL/TLContactStatus.cs b/src/TgSharp.TL/TL/TLContactStatus.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLContactStatus.cs rename to src/TgSharp.TL/TL/TLContactStatus.cs diff --git a/src/TeleSharp.TL/TL/TLDataJSON.cs b/src/TgSharp.TL/TL/TLDataJSON.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDataJSON.cs rename to src/TgSharp.TL/TL/TLDataJSON.cs diff --git a/src/TeleSharp.TL/TL/TLDcOption.cs b/src/TgSharp.TL/TL/TLDcOption.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDcOption.cs rename to src/TgSharp.TL/TL/TLDcOption.cs diff --git a/src/TeleSharp.TL/TL/TLDialog.cs b/src/TgSharp.TL/TL/TLDialog.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDialog.cs rename to src/TgSharp.TL/TL/TLDialog.cs diff --git a/src/TeleSharp.TL/TL/TLDialogFolder.cs b/src/TgSharp.TL/TL/TLDialogFolder.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDialogFolder.cs rename to src/TgSharp.TL/TL/TLDialogFolder.cs diff --git a/src/TeleSharp.TL/TL/TLDialogPeer.cs b/src/TgSharp.TL/TL/TLDialogPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDialogPeer.cs rename to src/TgSharp.TL/TL/TLDialogPeer.cs diff --git a/src/TeleSharp.TL/TL/TLDialogPeerFolder.cs b/src/TgSharp.TL/TL/TLDialogPeerFolder.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDialogPeerFolder.cs rename to src/TgSharp.TL/TL/TLDialogPeerFolder.cs diff --git a/src/TeleSharp.TL/TL/TLDocument.cs b/src/TgSharp.TL/TL/TLDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocument.cs rename to src/TgSharp.TL/TL/TLDocument.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs b/src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeAnimated.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs b/src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeAudio.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs b/src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeFilename.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs b/src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeHasStickers.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs b/src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeImageSize.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs b/src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeSticker.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs b/src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentAttributeVideo.cs rename to src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs diff --git a/src/TeleSharp.TL/TL/TLDocumentEmpty.cs b/src/TgSharp.TL/TL/TLDocumentEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDocumentEmpty.cs rename to src/TgSharp.TL/TL/TLDocumentEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLDraftMessage.cs b/src/TgSharp.TL/TL/TLDraftMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDraftMessage.cs rename to src/TgSharp.TL/TL/TLDraftMessage.cs diff --git a/src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs b/src/TgSharp.TL/TL/TLDraftMessageEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLDraftMessageEmpty.cs rename to src/TgSharp.TL/TL/TLDraftMessageEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLEmojiKeyword.cs b/src/TgSharp.TL/TL/TLEmojiKeyword.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEmojiKeyword.cs rename to src/TgSharp.TL/TL/TLEmojiKeyword.cs diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs b/src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEmojiKeywordDeleted.cs rename to src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs diff --git a/src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs b/src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEmojiKeywordsDifference.cs rename to src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs diff --git a/src/TeleSharp.TL/TL/TLEmojiLanguage.cs b/src/TgSharp.TL/TL/TLEmojiLanguage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEmojiLanguage.cs rename to src/TgSharp.TL/TL/TLEmojiLanguage.cs diff --git a/src/TeleSharp.TL/TL/TLEmojiURL.cs b/src/TgSharp.TL/TL/TLEmojiURL.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEmojiURL.cs rename to src/TgSharp.TL/TL/TLEmojiURL.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedChat.cs b/src/TgSharp.TL/TL/TLEncryptedChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedChat.cs rename to src/TgSharp.TL/TL/TLEncryptedChat.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs b/src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedChatDiscarded.cs rename to src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs b/src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedChatEmpty.cs rename to src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs b/src/TgSharp.TL/TL/TLEncryptedChatRequested.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedChatRequested.cs rename to src/TgSharp.TL/TL/TLEncryptedChatRequested.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs b/src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedChatWaiting.cs rename to src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedFile.cs b/src/TgSharp.TL/TL/TLEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedFile.cs rename to src/TgSharp.TL/TL/TLEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs b/src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedFileEmpty.cs rename to src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedMessage.cs b/src/TgSharp.TL/TL/TLEncryptedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedMessage.cs rename to src/TgSharp.TL/TL/TLEncryptedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLEncryptedMessageService.cs b/src/TgSharp.TL/TL/TLEncryptedMessageService.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLEncryptedMessageService.cs rename to src/TgSharp.TL/TL/TLEncryptedMessageService.cs diff --git a/src/TeleSharp.TL/TL/TLError.cs b/src/TgSharp.TL/TL/TLError.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLError.cs rename to src/TgSharp.TL/TL/TLError.cs diff --git a/src/TeleSharp.TL/TL/TLExportedMessageLink.cs b/src/TgSharp.TL/TL/TLExportedMessageLink.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLExportedMessageLink.cs rename to src/TgSharp.TL/TL/TLExportedMessageLink.cs diff --git a/src/TeleSharp.TL/TL/TLFileHash.cs b/src/TgSharp.TL/TL/TLFileHash.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFileHash.cs rename to src/TgSharp.TL/TL/TLFileHash.cs diff --git a/src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs b/src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFileLocationToBeDeprecated.cs rename to src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs diff --git a/src/TeleSharp.TL/TL/TLFolder.cs b/src/TgSharp.TL/TL/TLFolder.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFolder.cs rename to src/TgSharp.TL/TL/TLFolder.cs diff --git a/src/TeleSharp.TL/TL/TLFolderPeer.cs b/src/TgSharp.TL/TL/TLFolderPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFolderPeer.cs rename to src/TgSharp.TL/TL/TLFolderPeer.cs diff --git a/src/TeleSharp.TL/TL/TLFoundGif.cs b/src/TgSharp.TL/TL/TLFoundGif.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFoundGif.cs rename to src/TgSharp.TL/TL/TLFoundGif.cs diff --git a/src/TeleSharp.TL/TL/TLFoundGifCached.cs b/src/TgSharp.TL/TL/TLFoundGifCached.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLFoundGifCached.cs rename to src/TgSharp.TL/TL/TLFoundGifCached.cs diff --git a/src/TeleSharp.TL/TL/TLGame.cs b/src/TgSharp.TL/TL/TLGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLGame.cs rename to src/TgSharp.TL/TL/TLGame.cs diff --git a/src/TeleSharp.TL/TL/TLGeoPoint.cs b/src/TgSharp.TL/TL/TLGeoPoint.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLGeoPoint.cs rename to src/TgSharp.TL/TL/TLGeoPoint.cs diff --git a/src/TeleSharp.TL/TL/TLGeoPointEmpty.cs b/src/TgSharp.TL/TL/TLGeoPointEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLGeoPointEmpty.cs rename to src/TgSharp.TL/TL/TLGeoPointEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLHighScore.cs b/src/TgSharp.TL/TL/TLHighScore.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLHighScore.cs rename to src/TgSharp.TL/TL/TLHighScore.cs diff --git a/src/TeleSharp.TL/TL/TLImportedContact.cs b/src/TgSharp.TL/TL/TLImportedContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLImportedContact.cs rename to src/TgSharp.TL/TL/TLImportedContact.cs diff --git a/src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs b/src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInlineBotSwitchPM.cs rename to src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs diff --git a/src/TeleSharp.TL/TL/TLInputAppEvent.cs b/src/TgSharp.TL/TL/TLInputAppEvent.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputAppEvent.cs rename to src/TgSharp.TL/TL/TLInputAppEvent.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageGame.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageID.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineMessageText.cs rename to src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResult.cs b/src/TgSharp.TL/TL/TLInputBotInlineResult.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineResult.cs rename to src/TgSharp.TL/TL/TLInputBotInlineResult.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineResultDocument.cs rename to src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs rename to src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs diff --git a/src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputBotInlineResultPhoto.cs rename to src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputChannel.cs b/src/TgSharp.TL/TL/TLInputChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChannel.cs rename to src/TgSharp.TL/TL/TLInputChannel.cs diff --git a/src/TeleSharp.TL/TL/TLInputChannelEmpty.cs b/src/TgSharp.TL/TL/TLInputChannelEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChannelEmpty.cs rename to src/TgSharp.TL/TL/TLInputChannelEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs b/src/TgSharp.TL/TL/TLInputChannelFromMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChannelFromMessage.cs rename to src/TgSharp.TL/TL/TLInputChannelFromMessage.cs diff --git a/src/TeleSharp.TL/TL/TLInputChatPhoto.cs b/src/TgSharp.TL/TL/TLInputChatPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChatPhoto.cs rename to src/TgSharp.TL/TL/TLInputChatPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs b/src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChatPhotoEmpty.cs rename to src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs b/src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputChatUploadedPhoto.cs rename to src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs b/src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputCheckPasswordEmpty.cs rename to src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs b/src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputCheckPasswordSRP.cs rename to src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs diff --git a/src/TeleSharp.TL/TL/TLInputClientProxy.cs b/src/TgSharp.TL/TL/TLInputClientProxy.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputClientProxy.cs rename to src/TgSharp.TL/TL/TLInputClientProxy.cs diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeer.cs b/src/TgSharp.TL/TL/TLInputDialogPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputDialogPeer.cs rename to src/TgSharp.TL/TL/TLInputDialogPeer.cs diff --git a/src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs b/src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputDialogPeerFolder.cs rename to src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs diff --git a/src/TeleSharp.TL/TL/TLInputDocument.cs b/src/TgSharp.TL/TL/TLInputDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputDocument.cs rename to src/TgSharp.TL/TL/TLInputDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs b/src/TgSharp.TL/TL/TLInputDocumentEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputDocumentEmpty.cs rename to src/TgSharp.TL/TL/TLInputDocumentEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs b/src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs rename to src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedChat.cs b/src/TgSharp.TL/TL/TLInputEncryptedChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedChat.cs rename to src/TgSharp.TL/TL/TLInputEncryptedChat.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFile.cs b/src/TgSharp.TL/TL/TLInputEncryptedFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedFile.cs rename to src/TgSharp.TL/TL/TLInputEncryptedFile.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs rename to src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedFileEmpty.cs rename to src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedFileLocation.cs rename to src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputEncryptedFileUploaded.cs rename to src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs diff --git a/src/TeleSharp.TL/TL/TLInputFile.cs b/src/TgSharp.TL/TL/TLInputFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputFile.cs rename to src/TgSharp.TL/TL/TLInputFile.cs diff --git a/src/TeleSharp.TL/TL/TLInputFileBig.cs b/src/TgSharp.TL/TL/TLInputFileBig.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputFileBig.cs rename to src/TgSharp.TL/TL/TLInputFileBig.cs diff --git a/src/TeleSharp.TL/TL/TLInputFileLocation.cs b/src/TgSharp.TL/TL/TLInputFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputFileLocation.cs rename to src/TgSharp.TL/TL/TLInputFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputFolderPeer.cs b/src/TgSharp.TL/TL/TLInputFolderPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputFolderPeer.cs rename to src/TgSharp.TL/TL/TLInputFolderPeer.cs diff --git a/src/TeleSharp.TL/TL/TLInputGameID.cs b/src/TgSharp.TL/TL/TLInputGameID.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputGameID.cs rename to src/TgSharp.TL/TL/TLInputGameID.cs diff --git a/src/TeleSharp.TL/TL/TLInputGameShortName.cs b/src/TgSharp.TL/TL/TLInputGameShortName.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputGameShortName.cs rename to src/TgSharp.TL/TL/TLInputGameShortName.cs diff --git a/src/TeleSharp.TL/TL/TLInputGeoPoint.cs b/src/TgSharp.TL/TL/TLInputGeoPoint.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputGeoPoint.cs rename to src/TgSharp.TL/TL/TLInputGeoPoint.cs diff --git a/src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs b/src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputGeoPointEmpty.cs rename to src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs b/src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs rename to src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaContact.cs b/src/TgSharp.TL/TL/TLInputMediaContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaContact.cs rename to src/TgSharp.TL/TL/TLInputMediaContact.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocument.cs b/src/TgSharp.TL/TL/TLInputMediaDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaDocument.cs rename to src/TgSharp.TL/TL/TLInputMediaDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs b/src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaDocumentExternal.cs rename to src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaEmpty.cs b/src/TgSharp.TL/TL/TLInputMediaEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaEmpty.cs rename to src/TgSharp.TL/TL/TLInputMediaEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaGame.cs b/src/TgSharp.TL/TL/TLInputMediaGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaGame.cs rename to src/TgSharp.TL/TL/TLInputMediaGame.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs b/src/TgSharp.TL/TL/TLInputMediaGeoLive.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaGeoLive.cs rename to src/TgSharp.TL/TL/TLInputMediaGeoLive.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs b/src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaGeoPoint.cs rename to src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs b/src/TgSharp.TL/TL/TLInputMediaGifExternal.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaGifExternal.cs rename to src/TgSharp.TL/TL/TLInputMediaGifExternal.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaInvoice.cs b/src/TgSharp.TL/TL/TLInputMediaInvoice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaInvoice.cs rename to src/TgSharp.TL/TL/TLInputMediaInvoice.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhoto.cs b/src/TgSharp.TL/TL/TLInputMediaPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaPhoto.cs rename to src/TgSharp.TL/TL/TLInputMediaPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs b/src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaPhotoExternal.cs rename to src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaPoll.cs b/src/TgSharp.TL/TL/TLInputMediaPoll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaPoll.cs rename to src/TgSharp.TL/TL/TLInputMediaPoll.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs b/src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaUploadedDocument.cs rename to src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs b/src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaUploadedPhoto.cs rename to src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputMediaVenue.cs b/src/TgSharp.TL/TL/TLInputMediaVenue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMediaVenue.cs rename to src/TgSharp.TL/TL/TLInputMediaVenue.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs b/src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessageEntityMentionName.cs rename to src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessageID.cs b/src/TgSharp.TL/TL/TLInputMessageID.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessageID.cs rename to src/TgSharp.TL/TL/TLInputMessageID.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagePinned.cs b/src/TgSharp.TL/TL/TLInputMessagePinned.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagePinned.cs rename to src/TgSharp.TL/TL/TLInputMessagePinned.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs b/src/TgSharp.TL/TL/TLInputMessageReplyTo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessageReplyTo.cs rename to src/TgSharp.TL/TL/TLInputMessageReplyTo.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterContacts.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterDocument.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterEmpty.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterGeo.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterGif.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterMusic.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterMyMentions.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterPhotos.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterUrl.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterVideo.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs diff --git a/src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputMessagesFilterVoice.cs rename to src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs diff --git a/src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs b/src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputNotifyBroadcasts.cs rename to src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs diff --git a/src/TeleSharp.TL/TL/TLInputNotifyChats.cs b/src/TgSharp.TL/TL/TLInputNotifyChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputNotifyChats.cs rename to src/TgSharp.TL/TL/TLInputNotifyChats.cs diff --git a/src/TeleSharp.TL/TL/TLInputNotifyPeer.cs b/src/TgSharp.TL/TL/TLInputNotifyPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputNotifyPeer.cs rename to src/TgSharp.TL/TL/TLInputNotifyPeer.cs diff --git a/src/TeleSharp.TL/TL/TLInputNotifyUsers.cs b/src/TgSharp.TL/TL/TLInputNotifyUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputNotifyUsers.cs rename to src/TgSharp.TL/TL/TLInputNotifyUsers.cs diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentials.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPaymentCredentials.cs rename to src/TgSharp.TL/TL/TLInputPaymentCredentials.cs diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs rename to src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs rename to src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs diff --git a/src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPaymentCredentialsSaved.cs rename to src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerChannel.cs b/src/TgSharp.TL/TL/TLInputPeerChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerChannel.cs rename to src/TgSharp.TL/TL/TLInputPeerChannel.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs b/src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerChannelFromMessage.cs rename to src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerChat.cs b/src/TgSharp.TL/TL/TLInputPeerChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerChat.cs rename to src/TgSharp.TL/TL/TLInputPeerChat.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerEmpty.cs b/src/TgSharp.TL/TL/TLInputPeerEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerEmpty.cs rename to src/TgSharp.TL/TL/TLInputPeerEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs b/src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerNotifySettings.cs rename to src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs b/src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerPhotoFileLocation.cs rename to src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerSelf.cs b/src/TgSharp.TL/TL/TLInputPeerSelf.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerSelf.cs rename to src/TgSharp.TL/TL/TLInputPeerSelf.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerUser.cs b/src/TgSharp.TL/TL/TLInputPeerUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerUser.cs rename to src/TgSharp.TL/TL/TLInputPeerUser.cs diff --git a/src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs b/src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPeerUserFromMessage.cs rename to src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhoneCall.cs b/src/TgSharp.TL/TL/TLInputPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhoneCall.cs rename to src/TgSharp.TL/TL/TLInputPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhoneContact.cs b/src/TgSharp.TL/TL/TLInputPhoneContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhoneContact.cs rename to src/TgSharp.TL/TL/TLInputPhoneContact.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhoto.cs b/src/TgSharp.TL/TL/TLInputPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhoto.cs rename to src/TgSharp.TL/TL/TLInputPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs b/src/TgSharp.TL/TL/TLInputPhotoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhotoEmpty.cs rename to src/TgSharp.TL/TL/TLInputPhotoEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs b/src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhotoFileLocation.cs rename to src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs b/src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs rename to src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyForwards.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs rename to src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueAllowAll.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs diff --git a/src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs rename to src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs b/src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonChildAbuse.cs rename to src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs b/src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonCopyright.cs rename to src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs b/src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs rename to src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonOther.cs b/src/TgSharp.TL/TL/TLInputReportReasonOther.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonOther.cs rename to src/TgSharp.TL/TL/TLInputReportReasonOther.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs b/src/TgSharp.TL/TL/TLInputReportReasonPornography.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonPornography.cs rename to src/TgSharp.TL/TL/TLInputReportReasonPornography.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs b/src/TgSharp.TL/TL/TLInputReportReasonSpam.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonSpam.cs rename to src/TgSharp.TL/TL/TLInputReportReasonSpam.cs diff --git a/src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs b/src/TgSharp.TL/TL/TLInputReportReasonViolence.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputReportReasonViolence.cs rename to src/TgSharp.TL/TL/TLInputReportReasonViolence.cs diff --git a/src/TeleSharp.TL/TL/TLInputSecureFile.cs b/src/TgSharp.TL/TL/TLInputSecureFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputSecureFile.cs rename to src/TgSharp.TL/TL/TLInputSecureFile.cs diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs b/src/TgSharp.TL/TL/TLInputSecureFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputSecureFileLocation.cs rename to src/TgSharp.TL/TL/TLInputSecureFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs b/src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputSecureFileUploaded.cs rename to src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs diff --git a/src/TeleSharp.TL/TL/TLInputSecureValue.cs b/src/TgSharp.TL/TL/TLInputSecureValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputSecureValue.cs rename to src/TgSharp.TL/TL/TLInputSecureValue.cs diff --git a/src/TeleSharp.TL/TL/TLInputSingleMedia.cs b/src/TgSharp.TL/TL/TLInputSingleMedia.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputSingleMedia.cs rename to src/TgSharp.TL/TL/TLInputSingleMedia.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs b/src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs rename to src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs b/src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetEmpty.cs rename to src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetID.cs b/src/TgSharp.TL/TL/TLInputStickerSetID.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetID.cs rename to src/TgSharp.TL/TL/TLInputStickerSetID.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetItem.cs b/src/TgSharp.TL/TL/TLInputStickerSetItem.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetItem.cs rename to src/TgSharp.TL/TL/TLInputStickerSetItem.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs b/src/TgSharp.TL/TL/TLInputStickerSetShortName.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetShortName.cs rename to src/TgSharp.TL/TL/TLInputStickerSetShortName.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs b/src/TgSharp.TL/TL/TLInputStickerSetThumb.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickerSetThumb.cs rename to src/TgSharp.TL/TL/TLInputStickerSetThumb.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs b/src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickeredMediaDocument.cs rename to src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs b/src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputStickeredMediaPhoto.cs rename to src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs b/src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputTakeoutFileLocation.cs rename to src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputTheme.cs b/src/TgSharp.TL/TL/TLInputTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputTheme.cs rename to src/TgSharp.TL/TL/TLInputTheme.cs diff --git a/src/TeleSharp.TL/TL/TLInputThemeSettings.cs b/src/TgSharp.TL/TL/TLInputThemeSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputThemeSettings.cs rename to src/TgSharp.TL/TL/TLInputThemeSettings.cs diff --git a/src/TeleSharp.TL/TL/TLInputThemeSlug.cs b/src/TgSharp.TL/TL/TLInputThemeSlug.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputThemeSlug.cs rename to src/TgSharp.TL/TL/TLInputThemeSlug.cs diff --git a/src/TeleSharp.TL/TL/TLInputUser.cs b/src/TgSharp.TL/TL/TLInputUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputUser.cs rename to src/TgSharp.TL/TL/TLInputUser.cs diff --git a/src/TeleSharp.TL/TL/TLInputUserEmpty.cs b/src/TgSharp.TL/TL/TLInputUserEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputUserEmpty.cs rename to src/TgSharp.TL/TL/TLInputUserEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLInputUserFromMessage.cs b/src/TgSharp.TL/TL/TLInputUserFromMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputUserFromMessage.cs rename to src/TgSharp.TL/TL/TLInputUserFromMessage.cs diff --git a/src/TeleSharp.TL/TL/TLInputUserSelf.cs b/src/TgSharp.TL/TL/TLInputUserSelf.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputUserSelf.cs rename to src/TgSharp.TL/TL/TLInputUserSelf.cs diff --git a/src/TeleSharp.TL/TL/TLInputWallPaper.cs b/src/TgSharp.TL/TL/TLInputWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWallPaper.cs rename to src/TgSharp.TL/TL/TLInputWallPaper.cs diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs b/src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWallPaperNoFile.cs rename to src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs diff --git a/src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs b/src/TgSharp.TL/TL/TLInputWallPaperSlug.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWallPaperSlug.cs rename to src/TgSharp.TL/TL/TLInputWallPaperSlug.cs diff --git a/src/TeleSharp.TL/TL/TLInputWebDocument.cs b/src/TgSharp.TL/TL/TLInputWebDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWebDocument.cs rename to src/TgSharp.TL/TL/TLInputWebDocument.cs diff --git a/src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs b/src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWebFileGeoPointLocation.cs rename to src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInputWebFileLocation.cs b/src/TgSharp.TL/TL/TLInputWebFileLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInputWebFileLocation.cs rename to src/TgSharp.TL/TL/TLInputWebFileLocation.cs diff --git a/src/TeleSharp.TL/TL/TLInvoice.cs b/src/TgSharp.TL/TL/TLInvoice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLInvoice.cs rename to src/TgSharp.TL/TL/TLInvoice.cs diff --git a/src/TeleSharp.TL/TL/TLJsonArray.cs b/src/TgSharp.TL/TL/TLJsonArray.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonArray.cs rename to src/TgSharp.TL/TL/TLJsonArray.cs diff --git a/src/TeleSharp.TL/TL/TLJsonBool.cs b/src/TgSharp.TL/TL/TLJsonBool.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonBool.cs rename to src/TgSharp.TL/TL/TLJsonBool.cs diff --git a/src/TeleSharp.TL/TL/TLJsonNull.cs b/src/TgSharp.TL/TL/TLJsonNull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonNull.cs rename to src/TgSharp.TL/TL/TLJsonNull.cs diff --git a/src/TeleSharp.TL/TL/TLJsonNumber.cs b/src/TgSharp.TL/TL/TLJsonNumber.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonNumber.cs rename to src/TgSharp.TL/TL/TLJsonNumber.cs diff --git a/src/TeleSharp.TL/TL/TLJsonObject.cs b/src/TgSharp.TL/TL/TLJsonObject.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonObject.cs rename to src/TgSharp.TL/TL/TLJsonObject.cs diff --git a/src/TeleSharp.TL/TL/TLJsonObjectValue.cs b/src/TgSharp.TL/TL/TLJsonObjectValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonObjectValue.cs rename to src/TgSharp.TL/TL/TLJsonObjectValue.cs diff --git a/src/TeleSharp.TL/TL/TLJsonString.cs b/src/TgSharp.TL/TL/TLJsonString.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLJsonString.cs rename to src/TgSharp.TL/TL/TLJsonString.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButton.cs b/src/TgSharp.TL/TL/TLKeyboardButton.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButton.cs rename to src/TgSharp.TL/TL/TLKeyboardButton.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs b/src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonBuy.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs b/src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs b/src/TgSharp.TL/TL/TLKeyboardButtonGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonGame.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonGame.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonRequestPhone.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRow.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonRow.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonRow.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs b/src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonSwitchInline.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs b/src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonUrl.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs diff --git a/src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs b/src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLKeyboardButtonUrlAuth.cs rename to src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs diff --git a/src/TeleSharp.TL/TL/TLLabeledPrice.cs b/src/TgSharp.TL/TL/TLLabeledPrice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLabeledPrice.cs rename to src/TgSharp.TL/TL/TLLabeledPrice.cs diff --git a/src/TeleSharp.TL/TL/TLLangPackDifference.cs b/src/TgSharp.TL/TL/TLLangPackDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLangPackDifference.cs rename to src/TgSharp.TL/TL/TLLangPackDifference.cs diff --git a/src/TeleSharp.TL/TL/TLLangPackLanguage.cs b/src/TgSharp.TL/TL/TLLangPackLanguage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLangPackLanguage.cs rename to src/TgSharp.TL/TL/TLLangPackLanguage.cs diff --git a/src/TeleSharp.TL/TL/TLLangPackString.cs b/src/TgSharp.TL/TL/TLLangPackString.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLangPackString.cs rename to src/TgSharp.TL/TL/TLLangPackString.cs diff --git a/src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs b/src/TgSharp.TL/TL/TLLangPackStringDeleted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLangPackStringDeleted.cs rename to src/TgSharp.TL/TL/TLLangPackStringDeleted.cs diff --git a/src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs b/src/TgSharp.TL/TL/TLLangPackStringPluralized.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLLangPackStringPluralized.cs rename to src/TgSharp.TL/TL/TLLangPackStringPluralized.cs diff --git a/src/TeleSharp.TL/TL/TLMaskCoords.cs b/src/TgSharp.TL/TL/TLMaskCoords.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMaskCoords.cs rename to src/TgSharp.TL/TL/TLMaskCoords.cs diff --git a/src/TeleSharp.TL/TL/TLMessage.cs b/src/TgSharp.TL/TL/TLMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessage.cs rename to src/TgSharp.TL/TL/TLMessage.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs b/src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionBotAllowed.cs rename to src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs b/src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChannelCreate.cs rename to src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs b/src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs rename to src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs b/src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatAddUser.cs rename to src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs b/src/TgSharp.TL/TL/TLMessageActionChatCreate.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatCreate.cs rename to src/TgSharp.TL/TL/TLMessageActionChatCreate.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs b/src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatDeletePhoto.cs rename to src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs b/src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatDeleteUser.cs rename to src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs b/src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatEditPhoto.cs rename to src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs b/src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatEditTitle.cs rename to src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs b/src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatJoinedByLink.cs rename to src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs b/src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionChatMigrateTo.cs rename to src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs b/src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionContactSignUp.cs rename to src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs b/src/TgSharp.TL/TL/TLMessageActionCustomAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionCustomAction.cs rename to src/TgSharp.TL/TL/TLMessageActionCustomAction.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionEmpty.cs b/src/TgSharp.TL/TL/TLMessageActionEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionEmpty.cs rename to src/TgSharp.TL/TL/TLMessageActionEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionGameScore.cs b/src/TgSharp.TL/TL/TLMessageActionGameScore.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionGameScore.cs rename to src/TgSharp.TL/TL/TLMessageActionGameScore.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs b/src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionHistoryClear.cs rename to src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs b/src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionPaymentSent.cs rename to src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs b/src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs rename to src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs b/src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionPhoneCall.cs rename to src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs b/src/TgSharp.TL/TL/TLMessageActionPinMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionPinMessage.cs rename to src/TgSharp.TL/TL/TLMessageActionPinMessage.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs b/src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionScreenshotTaken.cs rename to src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionSecureValuesSent.cs rename to src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs diff --git a/src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs rename to src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEmpty.cs b/src/TgSharp.TL/TL/TLMessageEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEmpty.cs rename to src/TgSharp.TL/TL/TLMessageEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs b/src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityBlockquote.cs rename to src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBold.cs b/src/TgSharp.TL/TL/TLMessageEntityBold.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityBold.cs rename to src/TgSharp.TL/TL/TLMessageEntityBold.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs b/src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityBotCommand.cs rename to src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs b/src/TgSharp.TL/TL/TLMessageEntityCashtag.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityCashtag.cs rename to src/TgSharp.TL/TL/TLMessageEntityCashtag.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityCode.cs b/src/TgSharp.TL/TL/TLMessageEntityCode.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityCode.cs rename to src/TgSharp.TL/TL/TLMessageEntityCode.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityEmail.cs b/src/TgSharp.TL/TL/TLMessageEntityEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityEmail.cs rename to src/TgSharp.TL/TL/TLMessageEntityEmail.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs b/src/TgSharp.TL/TL/TLMessageEntityHashtag.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityHashtag.cs rename to src/TgSharp.TL/TL/TLMessageEntityHashtag.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityItalic.cs b/src/TgSharp.TL/TL/TLMessageEntityItalic.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityItalic.cs rename to src/TgSharp.TL/TL/TLMessageEntityItalic.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityMention.cs b/src/TgSharp.TL/TL/TLMessageEntityMention.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityMention.cs rename to src/TgSharp.TL/TL/TLMessageEntityMention.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs b/src/TgSharp.TL/TL/TLMessageEntityMentionName.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityMentionName.cs rename to src/TgSharp.TL/TL/TLMessageEntityMentionName.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityPhone.cs b/src/TgSharp.TL/TL/TLMessageEntityPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityPhone.cs rename to src/TgSharp.TL/TL/TLMessageEntityPhone.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityPre.cs b/src/TgSharp.TL/TL/TLMessageEntityPre.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityPre.cs rename to src/TgSharp.TL/TL/TLMessageEntityPre.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityStrike.cs b/src/TgSharp.TL/TL/TLMessageEntityStrike.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityStrike.cs rename to src/TgSharp.TL/TL/TLMessageEntityStrike.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs b/src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityTextUrl.cs rename to src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs b/src/TgSharp.TL/TL/TLMessageEntityUnderline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityUnderline.cs rename to src/TgSharp.TL/TL/TLMessageEntityUnderline.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs b/src/TgSharp.TL/TL/TLMessageEntityUnknown.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityUnknown.cs rename to src/TgSharp.TL/TL/TLMessageEntityUnknown.cs diff --git a/src/TeleSharp.TL/TL/TLMessageEntityUrl.cs b/src/TgSharp.TL/TL/TLMessageEntityUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageEntityUrl.cs rename to src/TgSharp.TL/TL/TLMessageEntityUrl.cs diff --git a/src/TeleSharp.TL/TL/TLMessageFwdHeader.cs b/src/TgSharp.TL/TL/TLMessageFwdHeader.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageFwdHeader.cs rename to src/TgSharp.TL/TL/TLMessageFwdHeader.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaContact.cs b/src/TgSharp.TL/TL/TLMessageMediaContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaContact.cs rename to src/TgSharp.TL/TL/TLMessageMediaContact.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaDocument.cs b/src/TgSharp.TL/TL/TLMessageMediaDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaDocument.cs rename to src/TgSharp.TL/TL/TLMessageMediaDocument.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs b/src/TgSharp.TL/TL/TLMessageMediaEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaEmpty.cs rename to src/TgSharp.TL/TL/TLMessageMediaEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGame.cs b/src/TgSharp.TL/TL/TLMessageMediaGame.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaGame.cs rename to src/TgSharp.TL/TL/TLMessageMediaGame.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLMessageMediaGeo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaGeo.cs rename to src/TgSharp.TL/TL/TLMessageMediaGeo.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs b/src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaGeoLive.cs rename to src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs b/src/TgSharp.TL/TL/TLMessageMediaInvoice.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaInvoice.cs rename to src/TgSharp.TL/TL/TLMessageMediaInvoice.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs b/src/TgSharp.TL/TL/TLMessageMediaPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaPhoto.cs rename to src/TgSharp.TL/TL/TLMessageMediaPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaPoll.cs b/src/TgSharp.TL/TL/TLMessageMediaPoll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaPoll.cs rename to src/TgSharp.TL/TL/TLMessageMediaPoll.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs b/src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaUnsupported.cs rename to src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLMessageMediaVenue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaVenue.cs rename to src/TgSharp.TL/TL/TLMessageMediaVenue.cs diff --git a/src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs b/src/TgSharp.TL/TL/TLMessageMediaWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageMediaWebPage.cs rename to src/TgSharp.TL/TL/TLMessageMediaWebPage.cs diff --git a/src/TeleSharp.TL/TL/TLMessageRange.cs b/src/TgSharp.TL/TL/TLMessageRange.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageRange.cs rename to src/TgSharp.TL/TL/TLMessageRange.cs diff --git a/src/TeleSharp.TL/TL/TLMessageService.cs b/src/TgSharp.TL/TL/TLMessageService.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLMessageService.cs rename to src/TgSharp.TL/TL/TLMessageService.cs diff --git a/src/TeleSharp.TL/TL/TLNearestDc.cs b/src/TgSharp.TL/TL/TLNearestDc.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNearestDc.cs rename to src/TgSharp.TL/TL/TLNearestDc.cs diff --git a/src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs b/src/TgSharp.TL/TL/TLNotifyBroadcasts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNotifyBroadcasts.cs rename to src/TgSharp.TL/TL/TLNotifyBroadcasts.cs diff --git a/src/TeleSharp.TL/TL/TLNotifyChats.cs b/src/TgSharp.TL/TL/TLNotifyChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNotifyChats.cs rename to src/TgSharp.TL/TL/TLNotifyChats.cs diff --git a/src/TeleSharp.TL/TL/TLNotifyPeer.cs b/src/TgSharp.TL/TL/TLNotifyPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNotifyPeer.cs rename to src/TgSharp.TL/TL/TLNotifyPeer.cs diff --git a/src/TeleSharp.TL/TL/TLNotifyUsers.cs b/src/TgSharp.TL/TL/TLNotifyUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNotifyUsers.cs rename to src/TgSharp.TL/TL/TLNotifyUsers.cs diff --git a/src/TeleSharp.TL/TL/TLNull.cs b/src/TgSharp.TL/TL/TLNull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLNull.cs rename to src/TgSharp.TL/TL/TLNull.cs diff --git a/src/TeleSharp.TL/TL/TLPage.cs b/src/TgSharp.TL/TL/TLPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPage.cs rename to src/TgSharp.TL/TL/TLPage.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockAnchor.cs b/src/TgSharp.TL/TL/TLPageBlockAnchor.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockAnchor.cs rename to src/TgSharp.TL/TL/TLPageBlockAnchor.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockAudio.cs b/src/TgSharp.TL/TL/TLPageBlockAudio.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockAudio.cs rename to src/TgSharp.TL/TL/TLPageBlockAudio.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs b/src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockAuthorDate.cs rename to src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs b/src/TgSharp.TL/TL/TLPageBlockBlockquote.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockBlockquote.cs rename to src/TgSharp.TL/TL/TLPageBlockBlockquote.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockChannel.cs b/src/TgSharp.TL/TL/TLPageBlockChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockChannel.cs rename to src/TgSharp.TL/TL/TLPageBlockChannel.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockCollage.cs b/src/TgSharp.TL/TL/TLPageBlockCollage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockCollage.cs rename to src/TgSharp.TL/TL/TLPageBlockCollage.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockCover.cs b/src/TgSharp.TL/TL/TLPageBlockCover.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockCover.cs rename to src/TgSharp.TL/TL/TLPageBlockCover.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockDetails.cs b/src/TgSharp.TL/TL/TLPageBlockDetails.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockDetails.cs rename to src/TgSharp.TL/TL/TLPageBlockDetails.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockDivider.cs b/src/TgSharp.TL/TL/TLPageBlockDivider.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockDivider.cs rename to src/TgSharp.TL/TL/TLPageBlockDivider.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbed.cs b/src/TgSharp.TL/TL/TLPageBlockEmbed.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockEmbed.cs rename to src/TgSharp.TL/TL/TLPageBlockEmbed.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs b/src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockEmbedPost.cs rename to src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockFooter.cs b/src/TgSharp.TL/TL/TLPageBlockFooter.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockFooter.cs rename to src/TgSharp.TL/TL/TLPageBlockFooter.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockHeader.cs b/src/TgSharp.TL/TL/TLPageBlockHeader.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockHeader.cs rename to src/TgSharp.TL/TL/TLPageBlockHeader.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockKicker.cs b/src/TgSharp.TL/TL/TLPageBlockKicker.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockKicker.cs rename to src/TgSharp.TL/TL/TLPageBlockKicker.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockList.cs b/src/TgSharp.TL/TL/TLPageBlockList.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockList.cs rename to src/TgSharp.TL/TL/TLPageBlockList.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockMap.cs b/src/TgSharp.TL/TL/TLPageBlockMap.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockMap.cs rename to src/TgSharp.TL/TL/TLPageBlockMap.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs b/src/TgSharp.TL/TL/TLPageBlockOrderedList.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockOrderedList.cs rename to src/TgSharp.TL/TL/TLPageBlockOrderedList.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockParagraph.cs b/src/TgSharp.TL/TL/TLPageBlockParagraph.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockParagraph.cs rename to src/TgSharp.TL/TL/TLPageBlockParagraph.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockPhoto.cs b/src/TgSharp.TL/TL/TLPageBlockPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockPhoto.cs rename to src/TgSharp.TL/TL/TLPageBlockPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs b/src/TgSharp.TL/TL/TLPageBlockPreformatted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockPreformatted.cs rename to src/TgSharp.TL/TL/TLPageBlockPreformatted.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockPullquote.cs b/src/TgSharp.TL/TL/TLPageBlockPullquote.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockPullquote.cs rename to src/TgSharp.TL/TL/TLPageBlockPullquote.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs b/src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockRelatedArticles.cs rename to src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs b/src/TgSharp.TL/TL/TLPageBlockSlideshow.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockSlideshow.cs rename to src/TgSharp.TL/TL/TLPageBlockSlideshow.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockSubheader.cs b/src/TgSharp.TL/TL/TLPageBlockSubheader.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockSubheader.cs rename to src/TgSharp.TL/TL/TLPageBlockSubheader.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs b/src/TgSharp.TL/TL/TLPageBlockSubtitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockSubtitle.cs rename to src/TgSharp.TL/TL/TLPageBlockSubtitle.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockTable.cs b/src/TgSharp.TL/TL/TLPageBlockTable.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockTable.cs rename to src/TgSharp.TL/TL/TLPageBlockTable.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockTitle.cs b/src/TgSharp.TL/TL/TLPageBlockTitle.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockTitle.cs rename to src/TgSharp.TL/TL/TLPageBlockTitle.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs b/src/TgSharp.TL/TL/TLPageBlockUnsupported.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockUnsupported.cs rename to src/TgSharp.TL/TL/TLPageBlockUnsupported.cs diff --git a/src/TeleSharp.TL/TL/TLPageBlockVideo.cs b/src/TgSharp.TL/TL/TLPageBlockVideo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageBlockVideo.cs rename to src/TgSharp.TL/TL/TLPageBlockVideo.cs diff --git a/src/TeleSharp.TL/TL/TLPageCaption.cs b/src/TgSharp.TL/TL/TLPageCaption.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageCaption.cs rename to src/TgSharp.TL/TL/TLPageCaption.cs diff --git a/src/TeleSharp.TL/TL/TLPageListItemBlocks.cs b/src/TgSharp.TL/TL/TLPageListItemBlocks.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageListItemBlocks.cs rename to src/TgSharp.TL/TL/TLPageListItemBlocks.cs diff --git a/src/TeleSharp.TL/TL/TLPageListItemText.cs b/src/TgSharp.TL/TL/TLPageListItemText.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageListItemText.cs rename to src/TgSharp.TL/TL/TLPageListItemText.cs diff --git a/src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs b/src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageListOrderedItemBlocks.cs rename to src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs diff --git a/src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs b/src/TgSharp.TL/TL/TLPageListOrderedItemText.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageListOrderedItemText.cs rename to src/TgSharp.TL/TL/TLPageListOrderedItemText.cs diff --git a/src/TeleSharp.TL/TL/TLPageRelatedArticle.cs b/src/TgSharp.TL/TL/TLPageRelatedArticle.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageRelatedArticle.cs rename to src/TgSharp.TL/TL/TLPageRelatedArticle.cs diff --git a/src/TeleSharp.TL/TL/TLPageTableCell.cs b/src/TgSharp.TL/TL/TLPageTableCell.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageTableCell.cs rename to src/TgSharp.TL/TL/TLPageTableCell.cs diff --git a/src/TeleSharp.TL/TL/TLPageTableRow.cs b/src/TgSharp.TL/TL/TLPageTableRow.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPageTableRow.cs rename to src/TgSharp.TL/TL/TLPageTableRow.cs diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs b/src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs rename to src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs diff --git a/src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs b/src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs rename to src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs diff --git a/src/TeleSharp.TL/TL/TLPaymentCharge.cs b/src/TgSharp.TL/TL/TLPaymentCharge.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPaymentCharge.cs rename to src/TgSharp.TL/TL/TLPaymentCharge.cs diff --git a/src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs b/src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPaymentRequestedInfo.cs rename to src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs diff --git a/src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs b/src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPaymentSavedCredentialsCard.cs rename to src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs diff --git a/src/TeleSharp.TL/TL/TLPeerChannel.cs b/src/TgSharp.TL/TL/TLPeerChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerChannel.cs rename to src/TgSharp.TL/TL/TLPeerChannel.cs diff --git a/src/TeleSharp.TL/TL/TLPeerChat.cs b/src/TgSharp.TL/TL/TLPeerChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerChat.cs rename to src/TgSharp.TL/TL/TLPeerChat.cs diff --git a/src/TeleSharp.TL/TL/TLPeerLocated.cs b/src/TgSharp.TL/TL/TLPeerLocated.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerLocated.cs rename to src/TgSharp.TL/TL/TLPeerLocated.cs diff --git a/src/TeleSharp.TL/TL/TLPeerNotifySettings.cs b/src/TgSharp.TL/TL/TLPeerNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerNotifySettings.cs rename to src/TgSharp.TL/TL/TLPeerNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/TLPeerSettings.cs b/src/TgSharp.TL/TL/TLPeerSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerSettings.cs rename to src/TgSharp.TL/TL/TLPeerSettings.cs diff --git a/src/TeleSharp.TL/TL/TLPeerUser.cs b/src/TgSharp.TL/TL/TLPeerUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPeerUser.cs rename to src/TgSharp.TL/TL/TLPeerUser.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCall.cs b/src/TgSharp.TL/TL/TLPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCall.cs rename to src/TgSharp.TL/TL/TLPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs b/src/TgSharp.TL/TL/TLPhoneCallAccepted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallAccepted.cs rename to src/TgSharp.TL/TL/TLPhoneCallAccepted.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs rename to src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs rename to src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs rename to src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs rename to src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallDiscarded.cs rename to src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs b/src/TgSharp.TL/TL/TLPhoneCallEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallEmpty.cs rename to src/TgSharp.TL/TL/TLPhoneCallEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs b/src/TgSharp.TL/TL/TLPhoneCallProtocol.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallProtocol.cs rename to src/TgSharp.TL/TL/TLPhoneCallProtocol.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallRequested.cs b/src/TgSharp.TL/TL/TLPhoneCallRequested.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallRequested.cs rename to src/TgSharp.TL/TL/TLPhoneCallRequested.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs b/src/TgSharp.TL/TL/TLPhoneCallWaiting.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneCallWaiting.cs rename to src/TgSharp.TL/TL/TLPhoneCallWaiting.cs diff --git a/src/TeleSharp.TL/TL/TLPhoneConnection.cs b/src/TgSharp.TL/TL/TLPhoneConnection.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoneConnection.cs rename to src/TgSharp.TL/TL/TLPhoneConnection.cs diff --git a/src/TeleSharp.TL/TL/TLPhoto.cs b/src/TgSharp.TL/TL/TLPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhoto.cs rename to src/TgSharp.TL/TL/TLPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLPhotoCachedSize.cs b/src/TgSharp.TL/TL/TLPhotoCachedSize.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhotoCachedSize.cs rename to src/TgSharp.TL/TL/TLPhotoCachedSize.cs diff --git a/src/TeleSharp.TL/TL/TLPhotoEmpty.cs b/src/TgSharp.TL/TL/TLPhotoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhotoEmpty.cs rename to src/TgSharp.TL/TL/TLPhotoEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLPhotoSize.cs b/src/TgSharp.TL/TL/TLPhotoSize.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhotoSize.cs rename to src/TgSharp.TL/TL/TLPhotoSize.cs diff --git a/src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs b/src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhotoSizeEmpty.cs rename to src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs b/src/TgSharp.TL/TL/TLPhotoStrippedSize.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPhotoStrippedSize.cs rename to src/TgSharp.TL/TL/TLPhotoStrippedSize.cs diff --git a/src/TeleSharp.TL/TL/TLPoll.cs b/src/TgSharp.TL/TL/TLPoll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPoll.cs rename to src/TgSharp.TL/TL/TLPoll.cs diff --git a/src/TeleSharp.TL/TL/TLPollAnswer.cs b/src/TgSharp.TL/TL/TLPollAnswer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPollAnswer.cs rename to src/TgSharp.TL/TL/TLPollAnswer.cs diff --git a/src/TeleSharp.TL/TL/TLPollAnswerVoters.cs b/src/TgSharp.TL/TL/TLPollAnswerVoters.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPollAnswerVoters.cs rename to src/TgSharp.TL/TL/TLPollAnswerVoters.cs diff --git a/src/TeleSharp.TL/TL/TLPollResults.cs b/src/TgSharp.TL/TL/TLPollResults.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPollResults.cs rename to src/TgSharp.TL/TL/TLPollResults.cs diff --git a/src/TeleSharp.TL/TL/TLPopularContact.cs b/src/TgSharp.TL/TL/TLPopularContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPopularContact.cs rename to src/TgSharp.TL/TL/TLPopularContact.cs diff --git a/src/TeleSharp.TL/TL/TLPostAddress.cs b/src/TgSharp.TL/TL/TLPostAddress.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPostAddress.cs rename to src/TgSharp.TL/TL/TLPostAddress.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs b/src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs b/src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyChatInvite.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs b/src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyForwards.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyPhoneCall.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs b/src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs b/src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs rename to src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueAllowAll.cs rename to src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs rename to src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueAllowContacts.cs rename to src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueAllowUsers.cs rename to src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueDisallowAll.cs rename to src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs rename to src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueDisallowContacts.cs rename to src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs diff --git a/src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLPrivacyValueDisallowUsers.cs rename to src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs diff --git a/src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs b/src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLReceivedNotifyMessage.cs rename to src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs b/src/TgSharp.TL/TL/TLRecentMeUrlChat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRecentMeUrlChat.cs rename to src/TgSharp.TL/TL/TLRecentMeUrlChat.cs diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs b/src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRecentMeUrlChatInvite.cs rename to src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs b/src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRecentMeUrlStickerSet.cs rename to src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs b/src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRecentMeUrlUnknown.cs rename to src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs diff --git a/src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs b/src/TgSharp.TL/TL/TLRecentMeUrlUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRecentMeUrlUser.cs rename to src/TgSharp.TL/TL/TLRecentMeUrlUser.cs diff --git a/src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs b/src/TgSharp.TL/TL/TLReplyInlineMarkup.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLReplyInlineMarkup.cs rename to src/TgSharp.TL/TL/TLReplyInlineMarkup.cs diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs b/src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs rename to src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs b/src/TgSharp.TL/TL/TLReplyKeyboardHide.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLReplyKeyboardHide.cs rename to src/TgSharp.TL/TL/TLReplyKeyboardHide.cs diff --git a/src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs b/src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLReplyKeyboardMarkup.cs rename to src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInitConnection.cs b/src/TgSharp.TL/TL/TLRequestInitConnection.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInitConnection.cs rename to src/TgSharp.TL/TL/TLRequestInitConnection.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeAfterMsg.cs rename to src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeAfterMsgs.cs rename to src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeWithLayer.cs rename to src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs rename to src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeWithTakeout.cs rename to src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs diff --git a/src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs rename to src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs diff --git a/src/TeleSharp.TL/TL/TLRestrictionReason.cs b/src/TgSharp.TL/TL/TLRestrictionReason.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLRestrictionReason.cs rename to src/TgSharp.TL/TL/TLRestrictionReason.cs diff --git a/src/TeleSharp.TL/TL/TLSavedPhoneContact.cs b/src/TgSharp.TL/TL/TLSavedPhoneContact.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSavedPhoneContact.cs rename to src/TgSharp.TL/TL/TLSavedPhoneContact.cs diff --git a/src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs b/src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureCredentialsEncrypted.cs rename to src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs diff --git a/src/TeleSharp.TL/TL/TLSecureData.cs b/src/TgSharp.TL/TL/TLSecureData.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureData.cs rename to src/TgSharp.TL/TL/TLSecureData.cs diff --git a/src/TeleSharp.TL/TL/TLSecureFile.cs b/src/TgSharp.TL/TL/TLSecureFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureFile.cs rename to src/TgSharp.TL/TL/TLSecureFile.cs diff --git a/src/TeleSharp.TL/TL/TLSecureFileEmpty.cs b/src/TgSharp.TL/TL/TLSecureFileEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureFileEmpty.cs rename to src/TgSharp.TL/TL/TLSecureFileEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs rename to src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs rename to src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs diff --git a/src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs rename to src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs diff --git a/src/TeleSharp.TL/TL/TLSecurePlainEmail.cs b/src/TgSharp.TL/TL/TLSecurePlainEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecurePlainEmail.cs rename to src/TgSharp.TL/TL/TLSecurePlainEmail.cs diff --git a/src/TeleSharp.TL/TL/TLSecurePlainPhone.cs b/src/TgSharp.TL/TL/TLSecurePlainPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecurePlainPhone.cs rename to src/TgSharp.TL/TL/TLSecurePlainPhone.cs diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredType.cs b/src/TgSharp.TL/TL/TLSecureRequiredType.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureRequiredType.cs rename to src/TgSharp.TL/TL/TLSecureRequiredType.cs diff --git a/src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs b/src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureRequiredTypeOneOf.cs rename to src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs diff --git a/src/TeleSharp.TL/TL/TLSecureSecretSettings.cs b/src/TgSharp.TL/TL/TLSecureSecretSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureSecretSettings.cs rename to src/TgSharp.TL/TL/TLSecureSecretSettings.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValue.cs b/src/TgSharp.TL/TL/TLSecureValue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValue.cs rename to src/TgSharp.TL/TL/TLSecureValue.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueError.cs b/src/TgSharp.TL/TL/TLSecureValueError.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueError.cs rename to src/TgSharp.TL/TL/TLSecureValueError.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorData.cs b/src/TgSharp.TL/TL/TLSecureValueErrorData.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorData.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorData.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorFile.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorFile.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorFiles.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorFrontSide.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs b/src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorReverseSide.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs b/src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorSelfie.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFile.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs rename to src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueHash.cs b/src/TgSharp.TL/TL/TLSecureValueHash.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueHash.cs rename to src/TgSharp.TL/TL/TLSecureValueHash.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs b/src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeAddress.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs b/src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeBankStatement.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs b/src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeDriverLicense.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs b/src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeEmail.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs b/src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeIdentityCard.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs b/src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeInternalPassport.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs b/src/TgSharp.TL/TL/TLSecureValueTypePassport.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypePassport.cs rename to src/TgSharp.TL/TL/TLSecureValueTypePassport.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs b/src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypePassportRegistration.cs rename to src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs b/src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypePersonalDetails.cs rename to src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs b/src/TgSharp.TL/TL/TLSecureValueTypePhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypePhone.cs rename to src/TgSharp.TL/TL/TLSecureValueTypePhone.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs b/src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs b/src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs diff --git a/src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs b/src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSecureValueTypeUtilityBill.cs rename to src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs b/src/TgSharp.TL/TL/TLSendMessageCancelAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageCancelAction.cs rename to src/TgSharp.TL/TL/TLSendMessageCancelAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs b/src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageChooseContactAction.cs rename to src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs b/src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageGamePlayAction.cs rename to src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs b/src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageGeoLocationAction.cs rename to src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageRecordAudioAction.cs rename to src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageRecordRoundAction.cs rename to src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageRecordVideoAction.cs rename to src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs b/src/TgSharp.TL/TL/TLSendMessageTypingAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageTypingAction.cs rename to src/TgSharp.TL/TL/TLSendMessageTypingAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageUploadAudioAction.cs rename to src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageUploadDocumentAction.cs rename to src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageUploadPhotoAction.cs rename to src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageUploadRoundAction.cs rename to src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs diff --git a/src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLSendMessageUploadVideoAction.cs rename to src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs diff --git a/src/TeleSharp.TL/TL/TLShippingOption.cs b/src/TgSharp.TL/TL/TLShippingOption.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLShippingOption.cs rename to src/TgSharp.TL/TL/TLShippingOption.cs diff --git a/src/TeleSharp.TL/TL/TLStatsURL.cs b/src/TgSharp.TL/TL/TLStatsURL.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLStatsURL.cs rename to src/TgSharp.TL/TL/TLStatsURL.cs diff --git a/src/TeleSharp.TL/TL/TLStickerPack.cs b/src/TgSharp.TL/TL/TLStickerPack.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLStickerPack.cs rename to src/TgSharp.TL/TL/TLStickerPack.cs diff --git a/src/TeleSharp.TL/TL/TLStickerSet.cs b/src/TgSharp.TL/TL/TLStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLStickerSet.cs rename to src/TgSharp.TL/TL/TLStickerSet.cs diff --git a/src/TeleSharp.TL/TL/TLStickerSetCovered.cs b/src/TgSharp.TL/TL/TLStickerSetCovered.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLStickerSetCovered.cs rename to src/TgSharp.TL/TL/TLStickerSetCovered.cs diff --git a/src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs b/src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLStickerSetMultiCovered.cs rename to src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs diff --git a/src/TeleSharp.TL/TL/TLTextAnchor.cs b/src/TgSharp.TL/TL/TLTextAnchor.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextAnchor.cs rename to src/TgSharp.TL/TL/TLTextAnchor.cs diff --git a/src/TeleSharp.TL/TL/TLTextBold.cs b/src/TgSharp.TL/TL/TLTextBold.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextBold.cs rename to src/TgSharp.TL/TL/TLTextBold.cs diff --git a/src/TeleSharp.TL/TL/TLTextConcat.cs b/src/TgSharp.TL/TL/TLTextConcat.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextConcat.cs rename to src/TgSharp.TL/TL/TLTextConcat.cs diff --git a/src/TeleSharp.TL/TL/TLTextEmail.cs b/src/TgSharp.TL/TL/TLTextEmail.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextEmail.cs rename to src/TgSharp.TL/TL/TLTextEmail.cs diff --git a/src/TeleSharp.TL/TL/TLTextEmpty.cs b/src/TgSharp.TL/TL/TLTextEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextEmpty.cs rename to src/TgSharp.TL/TL/TLTextEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLTextFixed.cs b/src/TgSharp.TL/TL/TLTextFixed.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextFixed.cs rename to src/TgSharp.TL/TL/TLTextFixed.cs diff --git a/src/TeleSharp.TL/TL/TLTextImage.cs b/src/TgSharp.TL/TL/TLTextImage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextImage.cs rename to src/TgSharp.TL/TL/TLTextImage.cs diff --git a/src/TeleSharp.TL/TL/TLTextItalic.cs b/src/TgSharp.TL/TL/TLTextItalic.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextItalic.cs rename to src/TgSharp.TL/TL/TLTextItalic.cs diff --git a/src/TeleSharp.TL/TL/TLTextMarked.cs b/src/TgSharp.TL/TL/TLTextMarked.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextMarked.cs rename to src/TgSharp.TL/TL/TLTextMarked.cs diff --git a/src/TeleSharp.TL/TL/TLTextPhone.cs b/src/TgSharp.TL/TL/TLTextPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextPhone.cs rename to src/TgSharp.TL/TL/TLTextPhone.cs diff --git a/src/TeleSharp.TL/TL/TLTextPlain.cs b/src/TgSharp.TL/TL/TLTextPlain.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextPlain.cs rename to src/TgSharp.TL/TL/TLTextPlain.cs diff --git a/src/TeleSharp.TL/TL/TLTextStrike.cs b/src/TgSharp.TL/TL/TLTextStrike.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextStrike.cs rename to src/TgSharp.TL/TL/TLTextStrike.cs diff --git a/src/TeleSharp.TL/TL/TLTextSubscript.cs b/src/TgSharp.TL/TL/TLTextSubscript.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextSubscript.cs rename to src/TgSharp.TL/TL/TLTextSubscript.cs diff --git a/src/TeleSharp.TL/TL/TLTextSuperscript.cs b/src/TgSharp.TL/TL/TLTextSuperscript.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextSuperscript.cs rename to src/TgSharp.TL/TL/TLTextSuperscript.cs diff --git a/src/TeleSharp.TL/TL/TLTextUnderline.cs b/src/TgSharp.TL/TL/TLTextUnderline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextUnderline.cs rename to src/TgSharp.TL/TL/TLTextUnderline.cs diff --git a/src/TeleSharp.TL/TL/TLTextUrl.cs b/src/TgSharp.TL/TL/TLTextUrl.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTextUrl.cs rename to src/TgSharp.TL/TL/TLTextUrl.cs diff --git a/src/TeleSharp.TL/TL/TLTheme.cs b/src/TgSharp.TL/TL/TLTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTheme.cs rename to src/TgSharp.TL/TL/TLTheme.cs diff --git a/src/TeleSharp.TL/TL/TLThemeSettings.cs b/src/TgSharp.TL/TL/TLThemeSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLThemeSettings.cs rename to src/TgSharp.TL/TL/TLThemeSettings.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeer.cs b/src/TgSharp.TL/TL/TLTopPeer.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeer.cs rename to src/TgSharp.TL/TL/TLTopPeer.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryBotsInline.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryBotsPM.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryChannels.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryForwardChats.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryGroups.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryPeers.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs diff --git a/src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs rename to src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs diff --git a/src/TeleSharp.TL/TL/TLTrue.cs b/src/TgSharp.TL/TL/TLTrue.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLTrue.cs rename to src/TgSharp.TL/TL/TLTrue.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotCallbackQuery.cs rename to src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotInlineQuery.cs rename to src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs b/src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotInlineSend.cs rename to src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs rename to src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotShippingQuery.cs rename to src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotWebhookJSON.cs rename to src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs rename to src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannel.cs b/src/TgSharp.TL/TL/TLUpdateChannel.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannel.cs rename to src/TgSharp.TL/TL/TLUpdateChannel.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs b/src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelAvailableMessages.cs rename to src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs b/src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelMessageViews.cs rename to src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelPinnedMessage.cs rename to src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs b/src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs rename to src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs b/src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelTooLong.cs rename to src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs b/src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChannelWebPage.cs rename to src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs b/src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs rename to src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatParticipantAdd.cs rename to src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatParticipantAdmin.cs rename to src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatParticipantDelete.cs rename to src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipants.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatParticipants.cs rename to src/TgSharp.TL/TL/TLUpdateChatParticipants.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatPinnedMessage.cs rename to src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs b/src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateChatUserTyping.cs rename to src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateConfig.cs b/src/TgSharp.TL/TL/TLUpdateConfig.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateConfig.cs rename to src/TgSharp.TL/TL/TLUpdateConfig.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateContactsReset.cs b/src/TgSharp.TL/TL/TLUpdateContactsReset.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateContactsReset.cs rename to src/TgSharp.TL/TL/TLUpdateContactsReset.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDcOptions.cs b/src/TgSharp.TL/TL/TLUpdateDcOptions.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDcOptions.cs rename to src/TgSharp.TL/TL/TLUpdateDcOptions.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDeleteChannelMessages.cs rename to src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDeleteMessages.cs rename to src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs rename to src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs b/src/TgSharp.TL/TL/TLUpdateDialogPinned.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDialogPinned.cs rename to src/TgSharp.TL/TL/TLUpdateDialogPinned.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs b/src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDialogUnreadMark.cs rename to src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs b/src/TgSharp.TL/TL/TLUpdateDraftMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateDraftMessage.cs rename to src/TgSharp.TL/TL/TLUpdateDraftMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs b/src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateEditChannelMessage.cs rename to src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateEditMessage.cs b/src/TgSharp.TL/TL/TLUpdateEditMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateEditMessage.cs rename to src/TgSharp.TL/TL/TLUpdateEditMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs b/src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateEncryptedChatTyping.cs rename to src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs b/src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs rename to src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateEncryption.cs b/src/TgSharp.TL/TL/TLUpdateEncryption.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateEncryption.cs rename to src/TgSharp.TL/TL/TLUpdateEncryption.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs b/src/TgSharp.TL/TL/TLUpdateFavedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateFavedStickers.cs rename to src/TgSharp.TL/TL/TLUpdateFavedStickers.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs b/src/TgSharp.TL/TL/TLUpdateFolderPeers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateFolderPeers.cs rename to src/TgSharp.TL/TL/TLUpdateFolderPeers.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs b/src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateGeoLiveViewed.cs rename to src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs b/src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs rename to src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPack.cs b/src/TgSharp.TL/TL/TLUpdateLangPack.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateLangPack.cs rename to src/TgSharp.TL/TL/TLUpdateLangPack.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs b/src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateLangPackTooLong.cs rename to src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateLoginToken.cs b/src/TgSharp.TL/TL/TLUpdateLoginToken.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateLoginToken.cs rename to src/TgSharp.TL/TL/TLUpdateLoginToken.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateMessageID.cs b/src/TgSharp.TL/TL/TLUpdateMessageID.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateMessageID.cs rename to src/TgSharp.TL/TL/TLUpdateMessageID.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs b/src/TgSharp.TL/TL/TLUpdateMessagePoll.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateMessagePoll.cs rename to src/TgSharp.TL/TL/TLUpdateMessagePoll.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNewChannelMessage.cs rename to src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNewEncryptedMessage.cs rename to src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNewMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNewMessage.cs rename to src/TgSharp.TL/TL/TLUpdateNewMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNewScheduledMessage.cs rename to src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs b/src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNewStickerSet.cs rename to src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs b/src/TgSharp.TL/TL/TLUpdateNotifySettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateNotifySettings.cs rename to src/TgSharp.TL/TL/TLUpdateNotifySettings.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs b/src/TgSharp.TL/TL/TLUpdatePeerLocated.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePeerLocated.cs rename to src/TgSharp.TL/TL/TLUpdatePeerLocated.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs b/src/TgSharp.TL/TL/TLUpdatePeerSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePeerSettings.cs rename to src/TgSharp.TL/TL/TLUpdatePeerSettings.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs b/src/TgSharp.TL/TL/TLUpdatePhoneCall.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePhoneCall.cs rename to src/TgSharp.TL/TL/TLUpdatePhoneCall.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs b/src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePinnedDialogs.cs rename to src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePrivacy.cs b/src/TgSharp.TL/TL/TLUpdatePrivacy.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePrivacy.cs rename to src/TgSharp.TL/TL/TLUpdatePrivacy.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs b/src/TgSharp.TL/TL/TLUpdatePtsChanged.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatePtsChanged.cs rename to src/TgSharp.TL/TL/TLUpdatePtsChanged.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs b/src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadChannelInbox.cs rename to src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs b/src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadChannelOutbox.cs rename to src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs b/src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadFeaturedStickers.cs rename to src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs b/src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs rename to src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs b/src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadHistoryOutbox.cs rename to src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs b/src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs rename to src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs b/src/TgSharp.TL/TL/TLUpdateRecentStickers.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateRecentStickers.cs rename to src/TgSharp.TL/TL/TLUpdateRecentStickers.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs b/src/TgSharp.TL/TL/TLUpdateSavedGifs.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateSavedGifs.cs rename to src/TgSharp.TL/TL/TLUpdateSavedGifs.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs b/src/TgSharp.TL/TL/TLUpdateServiceNotification.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateServiceNotification.cs rename to src/TgSharp.TL/TL/TLUpdateServiceNotification.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateShort.cs b/src/TgSharp.TL/TL/TLUpdateShort.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateShort.cs rename to src/TgSharp.TL/TL/TLUpdateShort.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateShortChatMessage.cs rename to src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateShortMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateShortMessage.cs rename to src/TgSharp.TL/TL/TLUpdateShortMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateShortSentMessage.cs rename to src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateStickerSets.cs b/src/TgSharp.TL/TL/TLUpdateStickerSets.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateStickerSets.cs rename to src/TgSharp.TL/TL/TLUpdateStickerSets.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs b/src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateStickerSetsOrder.cs rename to src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateTheme.cs b/src/TgSharp.TL/TL/TLUpdateTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateTheme.cs rename to src/TgSharp.TL/TL/TLUpdateTheme.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs b/src/TgSharp.TL/TL/TLUpdateUserBlocked.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserBlocked.cs rename to src/TgSharp.TL/TL/TLUpdateUserBlocked.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserName.cs b/src/TgSharp.TL/TL/TLUpdateUserName.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserName.cs rename to src/TgSharp.TL/TL/TLUpdateUserName.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPhone.cs b/src/TgSharp.TL/TL/TLUpdateUserPhone.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserPhone.cs rename to src/TgSharp.TL/TL/TLUpdateUserPhone.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs b/src/TgSharp.TL/TL/TLUpdateUserPhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserPhoto.cs rename to src/TgSharp.TL/TL/TLUpdateUserPhoto.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserPinnedMessage.cs rename to src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserStatus.cs b/src/TgSharp.TL/TL/TLUpdateUserStatus.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserStatus.cs rename to src/TgSharp.TL/TL/TLUpdateUserStatus.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateUserTyping.cs b/src/TgSharp.TL/TL/TLUpdateUserTyping.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateUserTyping.cs rename to src/TgSharp.TL/TL/TLUpdateUserTyping.cs diff --git a/src/TeleSharp.TL/TL/TLUpdateWebPage.cs b/src/TgSharp.TL/TL/TLUpdateWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdateWebPage.cs rename to src/TgSharp.TL/TL/TLUpdateWebPage.cs diff --git a/src/TeleSharp.TL/TL/TLUpdates.cs b/src/TgSharp.TL/TL/TLUpdates.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdates.cs rename to src/TgSharp.TL/TL/TLUpdates.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatesCombined.cs b/src/TgSharp.TL/TL/TLUpdatesCombined.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatesCombined.cs rename to src/TgSharp.TL/TL/TLUpdatesCombined.cs diff --git a/src/TeleSharp.TL/TL/TLUpdatesTooLong.cs b/src/TgSharp.TL/TL/TLUpdatesTooLong.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUpdatesTooLong.cs rename to src/TgSharp.TL/TL/TLUpdatesTooLong.cs diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs b/src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUrlAuthResultAccepted.cs rename to src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs b/src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUrlAuthResultDefault.cs rename to src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs diff --git a/src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs b/src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUrlAuthResultRequest.cs rename to src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs diff --git a/src/TeleSharp.TL/TL/TLUser.cs b/src/TgSharp.TL/TL/TLUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUser.cs rename to src/TgSharp.TL/TL/TLUser.cs diff --git a/src/TeleSharp.TL/TL/TLUserEmpty.cs b/src/TgSharp.TL/TL/TLUserEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserEmpty.cs rename to src/TgSharp.TL/TL/TLUserEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLUserFull.cs b/src/TgSharp.TL/TL/TLUserFull.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserFull.cs rename to src/TgSharp.TL/TL/TLUserFull.cs diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhoto.cs b/src/TgSharp.TL/TL/TLUserProfilePhoto.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserProfilePhoto.cs rename to src/TgSharp.TL/TL/TLUserProfilePhoto.cs diff --git a/src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs b/src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserProfilePhotoEmpty.cs rename to src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusEmpty.cs b/src/TgSharp.TL/TL/TLUserStatusEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusEmpty.cs rename to src/TgSharp.TL/TL/TLUserStatusEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs b/src/TgSharp.TL/TL/TLUserStatusLastMonth.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusLastMonth.cs rename to src/TgSharp.TL/TL/TLUserStatusLastMonth.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs b/src/TgSharp.TL/TL/TLUserStatusLastWeek.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusLastWeek.cs rename to src/TgSharp.TL/TL/TLUserStatusLastWeek.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusOffline.cs b/src/TgSharp.TL/TL/TLUserStatusOffline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusOffline.cs rename to src/TgSharp.TL/TL/TLUserStatusOffline.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusOnline.cs b/src/TgSharp.TL/TL/TLUserStatusOnline.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusOnline.cs rename to src/TgSharp.TL/TL/TLUserStatusOnline.cs diff --git a/src/TeleSharp.TL/TL/TLUserStatusRecently.cs b/src/TgSharp.TL/TL/TLUserStatusRecently.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLUserStatusRecently.cs rename to src/TgSharp.TL/TL/TLUserStatusRecently.cs diff --git a/src/TeleSharp.TL/TL/TLWallPaper.cs b/src/TgSharp.TL/TL/TLWallPaper.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWallPaper.cs rename to src/TgSharp.TL/TL/TLWallPaper.cs diff --git a/src/TeleSharp.TL/TL/TLWallPaperNoFile.cs b/src/TgSharp.TL/TL/TLWallPaperNoFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWallPaperNoFile.cs rename to src/TgSharp.TL/TL/TLWallPaperNoFile.cs diff --git a/src/TeleSharp.TL/TL/TLWallPaperSettings.cs b/src/TgSharp.TL/TL/TLWallPaperSettings.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWallPaperSettings.cs rename to src/TgSharp.TL/TL/TLWallPaperSettings.cs diff --git a/src/TeleSharp.TL/TL/TLWebAuthorization.cs b/src/TgSharp.TL/TL/TLWebAuthorization.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebAuthorization.cs rename to src/TgSharp.TL/TL/TLWebAuthorization.cs diff --git a/src/TeleSharp.TL/TL/TLWebDocument.cs b/src/TgSharp.TL/TL/TLWebDocument.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebDocument.cs rename to src/TgSharp.TL/TL/TLWebDocument.cs diff --git a/src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs b/src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebDocumentNoProxy.cs rename to src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs diff --git a/src/TeleSharp.TL/TL/TLWebPage.cs b/src/TgSharp.TL/TL/TLWebPage.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebPage.cs rename to src/TgSharp.TL/TL/TLWebPage.cs diff --git a/src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs b/src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebPageAttributeTheme.cs rename to src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs diff --git a/src/TeleSharp.TL/TL/TLWebPageEmpty.cs b/src/TgSharp.TL/TL/TLWebPageEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebPageEmpty.cs rename to src/TgSharp.TL/TL/TLWebPageEmpty.cs diff --git a/src/TeleSharp.TL/TL/TLWebPageNotModified.cs b/src/TgSharp.TL/TL/TLWebPageNotModified.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebPageNotModified.cs rename to src/TgSharp.TL/TL/TLWebPageNotModified.cs diff --git a/src/TeleSharp.TL/TL/TLWebPagePending.cs b/src/TgSharp.TL/TL/TLWebPagePending.cs similarity index 100% rename from src/TeleSharp.TL/TL/TLWebPagePending.cs rename to src/TgSharp.TL/TL/TLWebPagePending.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLAbsChannelDifference.cs rename to src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs b/src/TgSharp.TL/TL/Updates/TLAbsDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLAbsDifference.cs rename to src/TgSharp.TL/TL/Updates/TLAbsDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLChannelDifference.cs rename to src/TgSharp.TL/TL/Updates/TLChannelDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs rename to src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs rename to src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLDifference.cs b/src/TgSharp.TL/TL/Updates/TLDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLDifference.cs rename to src/TgSharp.TL/TL/Updates/TLDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLDifferenceEmpty.cs rename to src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLDifferenceSlice.cs rename to src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLDifferenceTooLong.cs rename to src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs rename to src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLRequestGetDifference.cs rename to src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetState.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLRequestGetState.cs rename to src/TgSharp.TL/TL/Updates/TLRequestGetState.cs diff --git a/src/TeleSharp.TL/TL/Updates/TLState.cs b/src/TgSharp.TL/TL/Updates/TLState.cs similarity index 100% rename from src/TeleSharp.TL/TL/Updates/TLState.cs rename to src/TgSharp.TL/TL/Updates/TLState.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLAbsCdnFile.cs rename to src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLAbsFile.cs b/src/TgSharp.TL/TL/Upload/TLAbsFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLAbsFile.cs rename to src/TgSharp.TL/TL/Upload/TLAbsFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLCdnFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLCdnFile.cs rename to src/TgSharp.TL/TL/Upload/TLCdnFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs b/src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs rename to src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLFile.cs b/src/TgSharp.TL/TL/Upload/TLFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLFile.cs rename to src/TgSharp.TL/TL/Upload/TLFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs b/src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLFileCdnRedirect.cs rename to src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFile.cs rename to src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs rename to src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestGetFile.cs rename to src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestGetFileHashes.cs rename to src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestGetWebFile.cs rename to src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs rename to src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs b/src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs rename to src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs b/src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLRequestSaveFilePart.cs rename to src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs diff --git a/src/TeleSharp.TL/TL/Upload/TLWebFile.cs b/src/TgSharp.TL/TL/Upload/TLWebFile.cs similarity index 100% rename from src/TeleSharp.TL/TL/Upload/TLWebFile.cs rename to src/TgSharp.TL/TL/Upload/TLWebFile.cs diff --git a/src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs b/src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs similarity index 100% rename from src/TeleSharp.TL/TL/Users/TLRequestGetFullUser.cs rename to src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs diff --git a/src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs b/src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs similarity index 100% rename from src/TeleSharp.TL/TL/Users/TLRequestGetUsers.cs rename to src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs diff --git a/src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs b/src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs similarity index 100% rename from src/TeleSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs rename to src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs diff --git a/src/TeleSharp.TL/TLContext.cs b/src/TgSharp.TL/TLContext.cs similarity index 100% rename from src/TeleSharp.TL/TLContext.cs rename to src/TgSharp.TL/TLContext.cs diff --git a/src/TeleSharp.TL/TLMethod.cs b/src/TgSharp.TL/TLMethod.cs similarity index 100% rename from src/TeleSharp.TL/TLMethod.cs rename to src/TgSharp.TL/TLMethod.cs diff --git a/src/TeleSharp.TL/TLObject.cs b/src/TgSharp.TL/TLObject.cs similarity index 100% rename from src/TeleSharp.TL/TLObject.cs rename to src/TgSharp.TL/TLObject.cs diff --git a/src/TeleSharp.TL/TLUtils.cs b/src/TgSharp.TL/TLUtils.cs similarity index 100% rename from src/TeleSharp.TL/TLUtils.cs rename to src/TgSharp.TL/TLUtils.cs diff --git a/src/TeleSharp.TL/TLVector.cs b/src/TgSharp.TL/TLVector.cs similarity index 100% rename from src/TeleSharp.TL/TLVector.cs rename to src/TgSharp.TL/TLVector.cs diff --git a/src/TeleSharp.TL/TeleSharp.TL.csproj b/src/TgSharp.TL/TgSharp.TL.csproj similarity index 97% rename from src/TeleSharp.TL/TeleSharp.TL.csproj rename to src/TgSharp.TL/TgSharp.TL.csproj index 803c0e22..0e7e43cd 100644 --- a/src/TeleSharp.TL/TeleSharp.TL.csproj +++ b/src/TgSharp.TL/TgSharp.TL.csproj @@ -7,8 +7,8 @@ {D6144517-91D2-4880-86DF-E9FF5D7F383A} Library Properties - TeleSharp.TL - TeleSharp.TL + TgSharp.TL + TgSharp.TL v4.6 512 diff --git a/src/TeleSharp.TL/packages.config b/src/TgSharp.TL/packages.config similarity index 100% rename from src/TeleSharp.TL/packages.config rename to src/TgSharp.TL/packages.config diff --git a/src/TgSharp.Tests/TgSharp.Tests.csproj b/src/TgSharp.Tests/TgSharp.Tests.csproj index 96f45294..ba8b83dd 100644 --- a/src/TgSharp.Tests/TgSharp.Tests.csproj +++ b/src/TgSharp.Tests/TgSharp.Tests.csproj @@ -43,14 +43,14 @@ - - {d6144517-91d2-4880-86df-e9ff5d7f383a} - TeleSharp.TL - {400d2544-1cc6-4d8a-a62c-2292d9947a16} TgSharp.Core + + {D6144517-91D2-4880-86DF-E9FF5D7F383A} + TgSharp.TL + diff --git a/src/TgSharp.Tests/TgSharpTests.cs b/src/TgSharp.Tests/TgSharpTests.cs index cdc723fe..4d8cb97c 100644 --- a/src/TgSharp.Tests/TgSharpTests.cs +++ b/src/TgSharp.Tests/TgSharpTests.cs @@ -7,8 +7,8 @@ using System.Threading; using System.Threading.Tasks; -using TeleSharp.TL; -using TeleSharp.TL.Messages; +using TgSharp.TL; +using TgSharp.TL.Messages; using TgSharp.Core; using TgSharp.Core.Exceptions; using TgSharp.Core.Network; diff --git a/src/TgSharp.sln b/src/TgSharp.sln index 1b09fc71..dbd29692 100644 --- a/src/TgSharp.sln +++ b/src/TgSharp.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 14.0.24720.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Core", "TgSharp.Core\TgSharp.Core.csproj", "{400D2544-1CC6-4D8A-A62C-2292D9947A16}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeleSharp.TL", "TeleSharp.TL\TeleSharp.TL.csproj", "{D6144517-91D2-4880-86DF-E9FF5D7F383A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.TL", "TgSharp.TL\TgSharp.TL.csproj", "{D6144517-91D2-4880-86DF-E9FF5D7F383A}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Generator", "TgSharp.Generator\TgSharp.Generator.csproj", "{9BE3B9D4-9FF6-4DC8-B9CC-EB2E3F390129}" EndProject From f92492da95262599abbf304c8ebf7dd686665f9e Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 16 Apr 2020 17:46:13 +0800 Subject: [PATCH 12/12] Rename TeleSharp.TL->TgSharp.TL, auto-generating again (3/3) --- src/TgSharp.TL/TL/Account/TLAbsThemes.cs | 4 +- src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs | 4 +- .../TL/Account/TLAuthorizationForm.cs | 4 +- src/TgSharp.TL/TL/Account/TLAuthorizations.cs | 4 +- .../TL/Account/TLAutoDownloadSettings.cs | 4 +- .../TL/Account/TLContentSettings.cs | 4 +- src/TgSharp.TL/TL/Account/TLPassword.cs | 4 +- .../TL/Account/TLPasswordInputSettings.cs | 4 +- .../TL/Account/TLPasswordSettings.cs | 4 +- src/TgSharp.TL/TL/Account/TLPrivacyRules.cs | 4 +- .../Account/TLRequestAcceptAuthorization.cs | 4 +- .../Account/TLRequestCancelPasswordEmail.cs | 4 +- .../TL/Account/TLRequestChangePhone.cs | 4 +- .../TL/Account/TLRequestCheckUsername.cs | 4 +- .../Account/TLRequestConfirmPasswordEmail.cs | 4 +- .../TL/Account/TLRequestConfirmPhone.cs | 4 +- .../TL/Account/TLRequestCreateTheme.cs | 4 +- .../TL/Account/TLRequestDeleteAccount.cs | 4 +- .../TL/Account/TLRequestDeleteSecureValue.cs | 4 +- .../Account/TLRequestFinishTakeoutSession.cs | 4 +- .../TL/Account/TLRequestGetAccountTTL.cs | 4 +- .../TL/Account/TLRequestGetAllSecureValues.cs | 4 +- .../Account/TLRequestGetAuthorizationForm.cs | 4 +- .../TL/Account/TLRequestGetAuthorizations.cs | 4 +- .../TLRequestGetAutoDownloadSettings.cs | 4 +- .../TLRequestGetContactSignUpNotification.cs | 4 +- .../TL/Account/TLRequestGetContentSettings.cs | 4 +- .../TL/Account/TLRequestGetMultiWallPapers.cs | 4 +- .../Account/TLRequestGetNotifyExceptions.cs | 4 +- .../TL/Account/TLRequestGetNotifySettings.cs | 4 +- .../TL/Account/TLRequestGetPassword.cs | 4 +- .../Account/TLRequestGetPasswordSettings.cs | 4 +- .../TL/Account/TLRequestGetPrivacy.cs | 4 +- .../TL/Account/TLRequestGetSecureValue.cs | 4 +- .../TL/Account/TLRequestGetTheme.cs | 4 +- .../TL/Account/TLRequestGetThemes.cs | 4 +- .../TL/Account/TLRequestGetTmpPassword.cs | 4 +- .../TL/Account/TLRequestGetWallPaper.cs | 4 +- .../TL/Account/TLRequestGetWallPapers.cs | 4 +- .../Account/TLRequestGetWebAuthorizations.cs | 4 +- .../TL/Account/TLRequestInitTakeoutSession.cs | 4 +- .../TL/Account/TLRequestInstallTheme.cs | 4 +- .../TL/Account/TLRequestInstallWallPaper.cs | 4 +- .../TL/Account/TLRequestRegisterDevice.cs | 4 +- .../TL/Account/TLRequestReportPeer.cs | 4 +- .../Account/TLRequestResendPasswordEmail.cs | 4 +- .../TL/Account/TLRequestResetAuthorization.cs | 4 +- .../Account/TLRequestResetNotifySettings.cs | 4 +- .../TL/Account/TLRequestResetWallPapers.cs | 4 +- .../Account/TLRequestResetWebAuthorization.cs | 4 +- .../TLRequestResetWebAuthorizations.cs | 4 +- .../TLRequestSaveAutoDownloadSettings.cs | 4 +- .../TL/Account/TLRequestSaveSecureValue.cs | 4 +- .../TL/Account/TLRequestSaveTheme.cs | 4 +- .../TL/Account/TLRequestSaveWallPaper.cs | 4 +- .../Account/TLRequestSendChangePhoneCode.cs | 4 +- .../Account/TLRequestSendConfirmPhoneCode.cs | 4 +- .../Account/TLRequestSendVerifyEmailCode.cs | 4 +- .../Account/TLRequestSendVerifyPhoneCode.cs | 4 +- .../TL/Account/TLRequestSetAccountTTL.cs | 4 +- .../TLRequestSetContactSignUpNotification.cs | 4 +- .../TL/Account/TLRequestSetContentSettings.cs | 4 +- .../TL/Account/TLRequestSetPrivacy.cs | 4 +- .../TL/Account/TLRequestUnregisterDevice.cs | 4 +- .../TL/Account/TLRequestUpdateDeviceLocked.cs | 4 +- .../Account/TLRequestUpdateNotifySettings.cs | 4 +- .../TLRequestUpdatePasswordSettings.cs | 4 +- .../TL/Account/TLRequestUpdateProfile.cs | 4 +- .../TL/Account/TLRequestUpdateStatus.cs | 4 +- .../TL/Account/TLRequestUpdateTheme.cs | 4 +- .../TL/Account/TLRequestUpdateUsername.cs | 4 +- .../TL/Account/TLRequestUploadTheme.cs | 4 +- .../TL/Account/TLRequestUploadWallPaper.cs | 4 +- .../TL/Account/TLRequestVerifyEmail.cs | 4 +- .../TL/Account/TLRequestVerifyPhone.cs | 4 +- src/TgSharp.TL/TL/Account/TLSentEmailCode.cs | 4 +- src/TgSharp.TL/TL/Account/TLTakeout.cs | 4 +- src/TgSharp.TL/TL/Account/TLThemes.cs | 4 +- .../TL/Account/TLThemesNotModified.cs | 4 +- src/TgSharp.TL/TL/Account/TLTmpPassword.cs | 4 +- src/TgSharp.TL/TL/Account/TLWallPapers.cs | 4 +- .../TL/Account/TLWallPapersNotModified.cs | 4 +- .../TL/Account/TLWebAuthorizations.cs | 4 +- src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs | 4 +- src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs | 4 +- src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs | 4 +- src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs | 4 +- src/TgSharp.TL/TL/Auth/TLAuthorization.cs | 4 +- .../TL/Auth/TLAuthorizationSignUpRequired.cs | 4 +- src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs | 4 +- src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs | 4 +- src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs | 4 +- .../TL/Auth/TLExportedAuthorization.cs | 4 +- src/TgSharp.TL/TL/Auth/TLLoginToken.cs | 4 +- .../TL/Auth/TLLoginTokenMigrateTo.cs | 4 +- src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs | 4 +- src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs | 4 +- .../TL/Auth/TLRequestAcceptLoginToken.cs | 4 +- .../TL/Auth/TLRequestBindTempAuthKey.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs | 4 +- .../TL/Auth/TLRequestCheckPassword.cs | 4 +- .../TL/Auth/TLRequestDropTempAuthKeys.cs | 4 +- .../TL/Auth/TLRequestExportAuthorization.cs | 4 +- .../TL/Auth/TLRequestExportLoginToken.cs | 4 +- .../TL/Auth/TLRequestImportAuthorization.cs | 4 +- .../Auth/TLRequestImportBotAuthorization.cs | 4 +- .../TL/Auth/TLRequestImportLoginToken.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs | 4 +- .../TL/Auth/TLRequestRecoverPassword.cs | 4 +- .../Auth/TLRequestRequestPasswordRecovery.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs | 4 +- .../TL/Auth/TLRequestResetAuthorizations.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs | 4 +- src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs | 4 +- src/TgSharp.TL/TL/Auth/TLSentCode.cs | 4 +- src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs | 4 +- src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs | 4 +- .../TL/Auth/TLSentCodeTypeFlashCall.cs | 4 +- src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs | 4 +- .../Bots/TLRequestAnswerWebhookJSONQuery.cs | 4 +- .../TL/Bots/TLRequestSendCustomRequest.cs | 4 +- .../TL/Channels/TLAbsChannelParticipants.cs | 4 +- .../TL/Channels/TLAdminLogResults.cs | 4 +- .../TL/Channels/TLChannelParticipant.cs | 4 +- .../TL/Channels/TLChannelParticipants.cs | 4 +- .../TLChannelParticipantsNotModified.cs | 4 +- .../TL/Channels/TLRequestCheckUsername.cs | 4 +- .../TL/Channels/TLRequestCreateChannel.cs | 4 +- .../TL/Channels/TLRequestDeleteChannel.cs | 4 +- .../TL/Channels/TLRequestDeleteHistory.cs | 4 +- .../TL/Channels/TLRequestDeleteMessages.cs | 4 +- .../TL/Channels/TLRequestDeleteUserHistory.cs | 4 +- .../TL/Channels/TLRequestEditAdmin.cs | 4 +- .../TL/Channels/TLRequestEditBanned.cs | 4 +- .../TL/Channels/TLRequestEditCreator.cs | 4 +- .../TL/Channels/TLRequestEditLocation.cs | 4 +- .../TL/Channels/TLRequestEditPhoto.cs | 4 +- .../TL/Channels/TLRequestEditTitle.cs | 4 +- .../TL/Channels/TLRequestExportMessageLink.cs | 4 +- .../TL/Channels/TLRequestGetAdminLog.cs | 4 +- .../TLRequestGetAdminedPublicChannels.cs | 4 +- .../TL/Channels/TLRequestGetChannels.cs | 4 +- .../TL/Channels/TLRequestGetFullChannel.cs | 4 +- .../TLRequestGetGroupsForDiscussion.cs | 4 +- .../Channels/TLRequestGetInactiveChannels.cs | 4 +- .../TL/Channels/TLRequestGetLeftChannels.cs | 4 +- .../TL/Channels/TLRequestGetMessages.cs | 4 +- .../TL/Channels/TLRequestGetParticipant.cs | 4 +- .../TL/Channels/TLRequestGetParticipants.cs | 4 +- .../TL/Channels/TLRequestInviteToChannel.cs | 4 +- .../TL/Channels/TLRequestJoinChannel.cs | 4 +- .../TL/Channels/TLRequestLeaveChannel.cs | 4 +- .../TL/Channels/TLRequestReadHistory.cs | 4 +- .../Channels/TLRequestReadMessageContents.cs | 4 +- .../TL/Channels/TLRequestReportSpam.cs | 4 +- .../Channels/TLRequestSetDiscussionGroup.cs | 4 +- .../TL/Channels/TLRequestSetStickers.cs | 4 +- .../TLRequestTogglePreHistoryHidden.cs | 4 +- .../TL/Channels/TLRequestToggleSignatures.cs | 4 +- .../TL/Channels/TLRequestToggleSlowMode.cs | 4 +- .../TL/Channels/TLRequestUpdateUsername.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLBlocked.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLContacts.cs | 4 +- .../TL/Contacts/TLContactsNotModified.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLFound.cs | 4 +- .../TL/Contacts/TLImportedContacts.cs | 4 +- .../TL/Contacts/TLRequestAcceptContact.cs | 4 +- .../TL/Contacts/TLRequestAddContact.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs | 4 +- .../TL/Contacts/TLRequestDeleteByPhones.cs | 4 +- .../TL/Contacts/TLRequestDeleteContacts.cs | 4 +- .../TL/Contacts/TLRequestGetBlocked.cs | 4 +- .../TL/Contacts/TLRequestGetContactIDs.cs | 4 +- .../TL/Contacts/TLRequestGetContacts.cs | 4 +- .../TL/Contacts/TLRequestGetLocated.cs | 4 +- .../TL/Contacts/TLRequestGetSaved.cs | 4 +- .../TL/Contacts/TLRequestGetStatuses.cs | 4 +- .../TL/Contacts/TLRequestGetTopPeers.cs | 4 +- .../TL/Contacts/TLRequestImportContacts.cs | 4 +- .../TL/Contacts/TLRequestResetSaved.cs | 4 +- .../Contacts/TLRequestResetTopPeerRating.cs | 4 +- .../TL/Contacts/TLRequestResolveUsername.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs | 4 +- .../TL/Contacts/TLRequestToggleTopPeers.cs | 4 +- .../TL/Contacts/TLRequestUnblock.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs | 4 +- src/TgSharp.TL/TL/Contacts/TLTopPeers.cs | 4 +- .../TL/Contacts/TLTopPeersDisabled.cs | 4 +- .../TL/Contacts/TLTopPeersNotModified.cs | 4 +- .../TL/Folders/TLRequestDeleteFolder.cs | 4 +- .../TL/Folders/TLRequestEditPeerFolders.cs | 4 +- src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs | 4 +- src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs | 4 +- src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs | 4 +- src/TgSharp.TL/TL/Help/TLAbsProxyData.cs | 4 +- .../TL/Help/TLAbsTermsOfServiceUpdate.cs | 4 +- src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs | 4 +- src/TgSharp.TL/TL/Help/TLAppUpdate.cs | 4 +- src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs | 4 +- src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs | 4 +- src/TgSharp.TL/TL/Help/TLInviteText.cs | 4 +- src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs | 4 +- src/TgSharp.TL/TL/Help/TLPassportConfig.cs | 4 +- .../TL/Help/TLPassportConfigNotModified.cs | 4 +- src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs | 4 +- src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs | 4 +- src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs | 4 +- .../TL/Help/TLRequestAcceptTermsOfService.cs | 4 +- .../TL/Help/TLRequestEditUserInfo.cs | 4 +- .../TL/Help/TLRequestGetAppChangelog.cs | 4 +- .../TL/Help/TLRequestGetAppConfig.cs | 4 +- .../TL/Help/TLRequestGetAppUpdate.cs | 4 +- .../TL/Help/TLRequestGetCdnConfig.cs | 4 +- src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs | 4 +- .../TL/Help/TLRequestGetDeepLinkInfo.cs | 4 +- .../TL/Help/TLRequestGetInviteText.cs | 4 +- .../TL/Help/TLRequestGetNearestDc.cs | 4 +- .../TL/Help/TLRequestGetPassportConfig.cs | 4 +- .../TL/Help/TLRequestGetProxyData.cs | 4 +- .../TL/Help/TLRequestGetRecentMeUrls.cs | 4 +- src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs | 4 +- .../TL/Help/TLRequestGetSupportName.cs | 4 +- .../Help/TLRequestGetTermsOfServiceUpdate.cs | 4 +- .../TL/Help/TLRequestGetUserInfo.cs | 4 +- src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs | 4 +- .../TL/Help/TLRequestSetBotUpdatesStatus.cs | 4 +- src/TgSharp.TL/TL/Help/TLSupport.cs | 4 +- src/TgSharp.TL/TL/Help/TLSupportName.cs | 4 +- src/TgSharp.TL/TL/Help/TLTermsOfService.cs | 4 +- .../TL/Help/TLTermsOfServiceUpdate.cs | 4 +- .../TL/Help/TLTermsOfServiceUpdateEmpty.cs | 4 +- src/TgSharp.TL/TL/Help/TLUserInfo.cs | 4 +- src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs | 4 +- .../TL/Langpack/TLRequestGetDifference.cs | 4 +- .../TL/Langpack/TLRequestGetLangPack.cs | 4 +- .../TL/Langpack/TLRequestGetLanguage.cs | 4 +- .../TL/Langpack/TLRequestGetLanguages.cs | 4 +- .../TL/Langpack/TLRequestGetStrings.cs | 4 +- .../TL/Messages/TLAbsAllStickers.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsChats.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs | 4 +- .../TL/Messages/TLAbsFavedStickers.cs | 4 +- .../TL/Messages/TLAbsFeaturedStickers.cs | 4 +- .../TL/Messages/TLAbsFoundStickerSets.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsMessages.cs | 4 +- .../TL/Messages/TLAbsRecentStickers.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs | 4 +- .../TL/Messages/TLAbsSentEncryptedMessage.cs | 4 +- .../Messages/TLAbsStickerSetInstallResult.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAbsStickers.cs | 4 +- .../TL/Messages/TLAffectedHistory.cs | 4 +- .../TL/Messages/TLAffectedMessages.cs | 4 +- src/TgSharp.TL/TL/Messages/TLAllStickers.cs | 4 +- .../TL/Messages/TLAllStickersNotModified.cs | 4 +- .../TL/Messages/TLArchivedStickers.cs | 4 +- .../TL/Messages/TLBotCallbackAnswer.cs | 4 +- src/TgSharp.TL/TL/Messages/TLBotResults.cs | 4 +- .../TL/Messages/TLChannelMessages.cs | 4 +- src/TgSharp.TL/TL/Messages/TLChatFull.cs | 4 +- src/TgSharp.TL/TL/Messages/TLChats.cs | 4 +- src/TgSharp.TL/TL/Messages/TLChatsSlice.cs | 4 +- src/TgSharp.TL/TL/Messages/TLDhConfig.cs | 4 +- .../TL/Messages/TLDhConfigNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLDialogs.cs | 4 +- .../TL/Messages/TLDialogsNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs | 4 +- src/TgSharp.TL/TL/Messages/TLFavedStickers.cs | 4 +- .../TL/Messages/TLFavedStickersNotModified.cs | 4 +- .../TL/Messages/TLFeaturedStickers.cs | 4 +- .../Messages/TLFeaturedStickersNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLFoundGifs.cs | 4 +- .../TL/Messages/TLFoundStickerSets.cs | 4 +- .../Messages/TLFoundStickerSetsNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLHighScores.cs | 4 +- src/TgSharp.TL/TL/Messages/TLInactiveChats.cs | 4 +- .../TL/Messages/TLMessageEditData.cs | 4 +- src/TgSharp.TL/TL/Messages/TLMessages.cs | 4 +- .../TL/Messages/TLMessagesNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs | 4 +- src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs | 4 +- .../TL/Messages/TLRecentStickers.cs | 4 +- .../Messages/TLRecentStickersNotModified.cs | 4 +- .../TL/Messages/TLRequestAcceptEncryption.cs | 4 +- .../TL/Messages/TLRequestAcceptUrlAuth.cs | 4 +- .../TL/Messages/TLRequestAddChatUser.cs | 4 +- .../TL/Messages/TLRequestCheckChatInvite.cs | 4 +- .../TL/Messages/TLRequestClearAllDrafts.cs | 4 +- .../Messages/TLRequestClearRecentStickers.cs | 4 +- .../TL/Messages/TLRequestCreateChat.cs | 4 +- .../TL/Messages/TLRequestDeleteChatUser.cs | 4 +- .../TL/Messages/TLRequestDeleteHistory.cs | 4 +- .../TL/Messages/TLRequestDeleteMessages.cs | 4 +- .../TLRequestDeleteScheduledMessages.cs | 4 +- .../TL/Messages/TLRequestDiscardEncryption.cs | 4 +- .../TL/Messages/TLRequestEditChatAbout.cs | 4 +- .../TL/Messages/TLRequestEditChatAdmin.cs | 4 +- .../TLRequestEditChatDefaultBannedRights.cs | 4 +- .../TL/Messages/TLRequestEditChatPhoto.cs | 4 +- .../TL/Messages/TLRequestEditChatTitle.cs | 4 +- .../Messages/TLRequestEditInlineBotMessage.cs | 4 +- .../TL/Messages/TLRequestEditMessage.cs | 4 +- .../TL/Messages/TLRequestExportChatInvite.cs | 4 +- .../TL/Messages/TLRequestFaveSticker.cs | 4 +- .../TL/Messages/TLRequestForwardMessages.cs | 4 +- .../TL/Messages/TLRequestGetAllChats.cs | 4 +- .../TL/Messages/TLRequestGetAllDrafts.cs | 4 +- .../TL/Messages/TLRequestGetAllStickers.cs | 4 +- .../Messages/TLRequestGetArchivedStickers.cs | 4 +- .../Messages/TLRequestGetAttachedStickers.cs | 4 +- .../Messages/TLRequestGetBotCallbackAnswer.cs | 4 +- .../TL/Messages/TLRequestGetChats.cs | 4 +- .../TL/Messages/TLRequestGetCommonChats.cs | 4 +- .../TL/Messages/TLRequestGetDhConfig.cs | 4 +- .../Messages/TLRequestGetDialogUnreadMarks.cs | 4 +- .../TL/Messages/TLRequestGetDialogs.cs | 4 +- .../TL/Messages/TLRequestGetDocumentByHash.cs | 4 +- .../TL/Messages/TLRequestGetEmojiKeywords.cs | 4 +- .../TLRequestGetEmojiKeywordsDifference.cs | 4 +- .../TLRequestGetEmojiKeywordsLanguages.cs | 4 +- .../TL/Messages/TLRequestGetEmojiURL.cs | 4 +- .../TL/Messages/TLRequestGetFavedStickers.cs | 4 +- .../Messages/TLRequestGetFeaturedStickers.cs | 4 +- .../TL/Messages/TLRequestGetFullChat.cs | 4 +- .../TL/Messages/TLRequestGetGameHighScores.cs | 4 +- .../TL/Messages/TLRequestGetHistory.cs | 4 +- .../Messages/TLRequestGetInlineBotResults.cs | 4 +- .../TLRequestGetInlineGameHighScores.cs | 4 +- .../TL/Messages/TLRequestGetMaskStickers.cs | 4 +- .../Messages/TLRequestGetMessageEditData.cs | 4 +- .../TL/Messages/TLRequestGetMessages.cs | 4 +- .../TL/Messages/TLRequestGetMessagesViews.cs | 4 +- .../TL/Messages/TLRequestGetOnlines.cs | 4 +- .../TL/Messages/TLRequestGetPeerDialogs.cs | 4 +- .../TL/Messages/TLRequestGetPeerSettings.cs | 4 +- .../TL/Messages/TLRequestGetPinnedDialogs.cs | 4 +- .../TL/Messages/TLRequestGetPollResults.cs | 4 +- .../Messages/TLRequestGetRecentLocations.cs | 4 +- .../TL/Messages/TLRequestGetRecentStickers.cs | 4 +- .../TL/Messages/TLRequestGetSavedGifs.cs | 4 +- .../Messages/TLRequestGetScheduledHistory.cs | 4 +- .../Messages/TLRequestGetScheduledMessages.cs | 4 +- .../TL/Messages/TLRequestGetSearchCounters.cs | 4 +- .../TL/Messages/TLRequestGetSplitRanges.cs | 4 +- .../TL/Messages/TLRequestGetStatsURL.cs | 4 +- .../TL/Messages/TLRequestGetStickerSet.cs | 4 +- .../TL/Messages/TLRequestGetStickers.cs | 4 +- .../TL/Messages/TLRequestGetUnreadMentions.cs | 4 +- .../TL/Messages/TLRequestGetWebPage.cs | 4 +- .../TL/Messages/TLRequestGetWebPagePreview.cs | 4 +- .../Messages/TLRequestHidePeerSettingsBar.cs | 4 +- .../TL/Messages/TLRequestImportChatInvite.cs | 4 +- .../TL/Messages/TLRequestInstallStickerSet.cs | 4 +- .../TL/Messages/TLRequestMarkDialogUnread.cs | 4 +- .../TL/Messages/TLRequestMigrateChat.cs | 4 +- .../Messages/TLRequestReadEncryptedHistory.cs | 4 +- .../Messages/TLRequestReadFeaturedStickers.cs | 4 +- .../TL/Messages/TLRequestReadHistory.cs | 4 +- .../TL/Messages/TLRequestReadMentions.cs | 4 +- .../Messages/TLRequestReadMessageContents.cs | 4 +- .../TL/Messages/TLRequestReceivedMessages.cs | 4 +- .../TL/Messages/TLRequestReceivedQueue.cs | 4 +- .../Messages/TLRequestReorderPinnedDialogs.cs | 4 +- .../Messages/TLRequestReorderStickerSets.cs | 4 +- src/TgSharp.TL/TL/Messages/TLRequestReport.cs | 4 +- .../Messages/TLRequestReportEncryptedSpam.cs | 4 +- .../TL/Messages/TLRequestReportSpam.cs | 4 +- .../TL/Messages/TLRequestRequestEncryption.cs | 4 +- .../TL/Messages/TLRequestRequestUrlAuth.cs | 4 +- .../TL/Messages/TLRequestSaveDraft.cs | 4 +- .../TL/Messages/TLRequestSaveGif.cs | 4 +- .../TL/Messages/TLRequestSaveRecentSticker.cs | 4 +- src/TgSharp.TL/TL/Messages/TLRequestSearch.cs | 4 +- .../TL/Messages/TLRequestSearchGifs.cs | 4 +- .../TL/Messages/TLRequestSearchGlobal.cs | 4 +- .../TL/Messages/TLRequestSearchStickerSets.cs | 4 +- .../TL/Messages/TLRequestSendEncrypted.cs | 4 +- .../TL/Messages/TLRequestSendEncryptedFile.cs | 4 +- .../Messages/TLRequestSendEncryptedService.cs | 4 +- .../Messages/TLRequestSendInlineBotResult.cs | 4 +- .../TL/Messages/TLRequestSendMedia.cs | 4 +- .../TL/Messages/TLRequestSendMessage.cs | 4 +- .../TL/Messages/TLRequestSendMultiMedia.cs | 4 +- .../TLRequestSendScheduledMessages.cs | 4 +- .../TLRequestSendScreenshotNotification.cs | 4 +- .../TL/Messages/TLRequestSendVote.cs | 4 +- .../Messages/TLRequestSetBotCallbackAnswer.cs | 4 +- .../TLRequestSetBotPrecheckoutResults.cs | 4 +- .../TLRequestSetBotShippingResults.cs | 4 +- .../Messages/TLRequestSetEncryptedTyping.cs | 4 +- .../TL/Messages/TLRequestSetGameScore.cs | 4 +- .../Messages/TLRequestSetInlineBotResults.cs | 4 +- .../Messages/TLRequestSetInlineGameScore.cs | 4 +- .../TL/Messages/TLRequestSetTyping.cs | 4 +- .../TL/Messages/TLRequestStartBot.cs | 4 +- .../TL/Messages/TLRequestToggleDialogPin.cs | 4 +- .../Messages/TLRequestUninstallStickerSet.cs | 4 +- .../Messages/TLRequestUpdatePinnedMessage.cs | 4 +- .../Messages/TLRequestUploadEncryptedFile.cs | 4 +- .../TL/Messages/TLRequestUploadMedia.cs | 4 +- src/TgSharp.TL/TL/Messages/TLSavedGifs.cs | 4 +- .../TL/Messages/TLSavedGifsNotModified.cs | 4 +- src/TgSharp.TL/TL/Messages/TLSearchCounter.cs | 4 +- .../TL/Messages/TLSentEncryptedFile.cs | 4 +- .../TL/Messages/TLSentEncryptedMessage.cs | 4 +- src/TgSharp.TL/TL/Messages/TLStickerSet.cs | 4 +- .../TLStickerSetInstallResultArchive.cs | 4 +- .../TLStickerSetInstallResultSuccess.cs | 4 +- src/TgSharp.TL/TL/Messages/TLStickers.cs | 4 +- .../TL/Messages/TLStickersNotModified.cs | 4 +- .../TL/Payments/TLAbsPaymentResult.cs | 4 +- src/TgSharp.TL/TL/Payments/TLPaymentForm.cs | 4 +- .../TL/Payments/TLPaymentReceipt.cs | 4 +- src/TgSharp.TL/TL/Payments/TLPaymentResult.cs | 4 +- .../Payments/TLPaymentVerificationNeeded.cs | 4 +- .../TL/Payments/TLRequestClearSavedInfo.cs | 4 +- .../TL/Payments/TLRequestGetPaymentForm.cs | 4 +- .../TL/Payments/TLRequestGetPaymentReceipt.cs | 4 +- .../TL/Payments/TLRequestGetSavedInfo.cs | 4 +- .../TL/Payments/TLRequestSendPaymentForm.cs | 4 +- .../TLRequestValidateRequestedInfo.cs | 4 +- src/TgSharp.TL/TL/Payments/TLSavedInfo.cs | 4 +- .../TL/Payments/TLValidatedRequestedInfo.cs | 4 +- src/TgSharp.TL/TL/Phone/TLPhoneCall.cs | 4 +- .../TL/Phone/TLRequestAcceptCall.cs | 4 +- .../TL/Phone/TLRequestConfirmCall.cs | 4 +- .../TL/Phone/TLRequestDiscardCall.cs | 4 +- .../TL/Phone/TLRequestGetCallConfig.cs | 4 +- .../TL/Phone/TLRequestReceivedCall.cs | 4 +- .../TL/Phone/TLRequestRequestCall.cs | 4 +- .../TL/Phone/TLRequestSaveCallDebug.cs | 4 +- .../TL/Phone/TLRequestSetCallRating.cs | 4 +- src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs | 4 +- src/TgSharp.TL/TL/Photos/TLPhoto.cs | 4 +- src/TgSharp.TL/TL/Photos/TLPhotos.cs | 4 +- src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs | 4 +- .../TL/Photos/TLRequestDeletePhotos.cs | 4 +- .../TL/Photos/TLRequestGetUserPhotos.cs | 4 +- .../TL/Photos/TLRequestUpdateProfilePhoto.cs | 4 +- .../TL/Photos/TLRequestUploadProfilePhoto.cs | 4 +- .../TL/Stickers/TLRequestAddStickerToSet.cs | 4 +- .../TLRequestChangeStickerPosition.cs | 4 +- .../TL/Stickers/TLRequestCreateStickerSet.cs | 4 +- .../Stickers/TLRequestRemoveStickerFromSet.cs | 4 +- src/TgSharp.TL/TL/Storage/TLAbsFileType.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileGif.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileJpeg.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileMov.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileMp3.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileMp4.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFilePartial.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFilePdf.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFilePng.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileUnknown.cs | 4 +- src/TgSharp.TL/TL/Storage/TLFileWebp.cs | 4 +- src/TgSharp.TL/TL/TLAbsBaseTheme.cs | 4 +- src/TgSharp.TL/TL/TLAbsBool.cs | 4 +- src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs | 4 +- src/TgSharp.TL/TL/TLAbsBotInlineResult.cs | 4 +- .../TL/TLAbsChannelAdminLogEventAction.cs | 4 +- src/TgSharp.TL/TL/TLAbsChannelLocation.cs | 4 +- .../TL/TLAbsChannelMessagesFilter.cs | 4 +- src/TgSharp.TL/TL/TLAbsChannelParticipant.cs | 4 +- .../TL/TLAbsChannelParticipantsFilter.cs | 4 +- src/TgSharp.TL/TL/TLAbsChat.cs | 4 +- src/TgSharp.TL/TL/TLAbsChatFull.cs | 4 +- src/TgSharp.TL/TL/TLAbsChatInvite.cs | 4 +- src/TgSharp.TL/TL/TLAbsChatParticipant.cs | 4 +- src/TgSharp.TL/TL/TLAbsChatParticipants.cs | 4 +- src/TgSharp.TL/TL/TLAbsChatPhoto.cs | 4 +- src/TgSharp.TL/TL/TLAbsDialog.cs | 4 +- src/TgSharp.TL/TL/TLAbsDialogPeer.cs | 4 +- src/TgSharp.TL/TL/TLAbsDocument.cs | 4 +- src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs | 4 +- src/TgSharp.TL/TL/TLAbsDraftMessage.cs | 4 +- src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs | 4 +- src/TgSharp.TL/TL/TLAbsEncryptedChat.cs | 4 +- src/TgSharp.TL/TL/TLAbsEncryptedFile.cs | 4 +- src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs | 4 +- src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs | 4 +- src/TgSharp.TL/TL/TLAbsFoundGif.cs | 4 +- src/TgSharp.TL/TL/TLAbsGeoPoint.cs | 4 +- .../TL/TLAbsInputBotInlineMessage.cs | 4 +- .../TL/TLAbsInputBotInlineResult.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputChannel.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs | 4 +- .../TL/TLAbsInputCheckPasswordSRP.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputDocument.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputFile.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputGame.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputMedia.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputMessage.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs | 4 +- .../TL/TLAbsInputPaymentCredentials.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputPeer.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputPhoto.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputSecureFile.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputStickerSet.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputTheme.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputUser.cs | 4 +- src/TgSharp.TL/TL/TLAbsInputWallPaper.cs | 4 +- .../TL/TLAbsInputWebFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLAbsJSONValue.cs | 4 +- src/TgSharp.TL/TL/TLAbsKeyboardButton.cs | 4 +- src/TgSharp.TL/TL/TLAbsLangPackString.cs | 4 +- src/TgSharp.TL/TL/TLAbsMessage.cs | 4 +- src/TgSharp.TL/TL/TLAbsMessageAction.cs | 4 +- src/TgSharp.TL/TL/TLAbsMessageEntity.cs | 4 +- src/TgSharp.TL/TL/TLAbsMessageMedia.cs | 4 +- src/TgSharp.TL/TL/TLAbsMessagesFilter.cs | 4 +- src/TgSharp.TL/TL/TLAbsNotifyPeer.cs | 4 +- src/TgSharp.TL/TL/TLAbsPageBlock.cs | 4 +- src/TgSharp.TL/TL/TLAbsPageListItem.cs | 4 +- src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs | 4 +- src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs | 4 +- src/TgSharp.TL/TL/TLAbsPeer.cs | 4 +- src/TgSharp.TL/TL/TLAbsPhoneCall.cs | 4 +- .../TL/TLAbsPhoneCallDiscardReason.cs | 4 +- src/TgSharp.TL/TL/TLAbsPhoto.cs | 4 +- src/TgSharp.TL/TL/TLAbsPhotoSize.cs | 4 +- src/TgSharp.TL/TL/TLAbsPrivacyKey.cs | 4 +- src/TgSharp.TL/TL/TLAbsPrivacyRule.cs | 4 +- src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs | 4 +- src/TgSharp.TL/TL/TLAbsReplyMarkup.cs | 4 +- src/TgSharp.TL/TL/TLAbsReportReason.cs | 4 +- src/TgSharp.TL/TL/TLAbsRichText.cs | 4 +- src/TgSharp.TL/TL/TLAbsSecureFile.cs | 4 +- .../TL/TLAbsSecurePasswordKdfAlgo.cs | 4 +- src/TgSharp.TL/TL/TLAbsSecurePlainData.cs | 4 +- src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs | 4 +- src/TgSharp.TL/TL/TLAbsSecureValueError.cs | 4 +- src/TgSharp.TL/TL/TLAbsSecureValueType.cs | 4 +- src/TgSharp.TL/TL/TLAbsSendMessageAction.cs | 4 +- src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs | 4 +- src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs | 4 +- src/TgSharp.TL/TL/TLAbsUpdate.cs | 4 +- src/TgSharp.TL/TL/TLAbsUpdates.cs | 4 +- src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs | 4 +- src/TgSharp.TL/TL/TLAbsUser.cs | 4 +- src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs | 4 +- src/TgSharp.TL/TL/TLAbsUserStatus.cs | 4 +- src/TgSharp.TL/TL/TLAbsWallPaper.cs | 4 +- src/TgSharp.TL/TL/TLAbsWebDocument.cs | 4 +- src/TgSharp.TL/TL/TLAbsWebPage.cs | 4 +- src/TgSharp.TL/TL/TLAccountDaysTTL.cs | 4 +- src/TgSharp.TL/TL/TLAuthorization.cs | 4 +- src/TgSharp.TL/TL/TLAutoDownloadSettings.cs | 4 +- src/TgSharp.TL/TL/TLBaseThemeArctic.cs | 4 +- src/TgSharp.TL/TL/TLBaseThemeClassic.cs | 4 +- src/TgSharp.TL/TL/TLBaseThemeDay.cs | 4 +- src/TgSharp.TL/TL/TLBaseThemeNight.cs | 4 +- src/TgSharp.TL/TL/TLBaseThemeTinted.cs | 4 +- src/TgSharp.TL/TL/TLBoolFalse.cs | 4 +- src/TgSharp.TL/TL/TLBoolTrue.cs | 4 +- src/TgSharp.TL/TL/TLBotCommand.cs | 4 +- src/TgSharp.TL/TL/TLBotInfo.cs | 4 +- src/TgSharp.TL/TL/TLBotInlineMediaResult.cs | 4 +- .../TL/TLBotInlineMessageMediaAuto.cs | 4 +- .../TL/TLBotInlineMessageMediaContact.cs | 4 +- .../TL/TLBotInlineMessageMediaGeo.cs | 4 +- .../TL/TLBotInlineMessageMediaVenue.cs | 4 +- src/TgSharp.TL/TL/TLBotInlineMessageText.cs | 4 +- src/TgSharp.TL/TL/TLBotInlineResult.cs | 4 +- src/TgSharp.TL/TL/TLCdnConfig.cs | 4 +- src/TgSharp.TL/TL/TLCdnPublicKey.cs | 4 +- src/TgSharp.TL/TL/TLChannel.cs | 4 +- src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs | 4 +- ...TLChannelAdminLogEventActionChangeAbout.cs | 4 +- ...nnelAdminLogEventActionChangeLinkedChat.cs | 4 +- ...hannelAdminLogEventActionChangeLocation.cs | 4 +- ...TLChannelAdminLogEventActionChangePhoto.cs | 4 +- ...nnelAdminLogEventActionChangeStickerSet.cs | 4 +- ...TLChannelAdminLogEventActionChangeTitle.cs | 4 +- ...hannelAdminLogEventActionChangeUsername.cs | 4 +- ...lAdminLogEventActionDefaultBannedRights.cs | 4 +- ...ChannelAdminLogEventActionDeleteMessage.cs | 4 +- ...TLChannelAdminLogEventActionEditMessage.cs | 4 +- ...nelAdminLogEventActionParticipantInvite.cs | 4 +- ...annelAdminLogEventActionParticipantJoin.cs | 4 +- ...nnelAdminLogEventActionParticipantLeave.cs | 4 +- ...minLogEventActionParticipantToggleAdmin.cs | 4 +- ...AdminLogEventActionParticipantToggleBan.cs | 4 +- .../TLChannelAdminLogEventActionStopPoll.cs | 4 +- ...ChannelAdminLogEventActionToggleInvites.cs | 4 +- ...minLogEventActionTogglePreHistoryHidden.cs | 4 +- ...nnelAdminLogEventActionToggleSignatures.cs | 4 +- ...hannelAdminLogEventActionToggleSlowMode.cs | 4 +- ...LChannelAdminLogEventActionUpdatePinned.cs | 4 +- .../TL/TLChannelAdminLogEventsFilter.cs | 4 +- src/TgSharp.TL/TL/TLChannelForbidden.cs | 4 +- src/TgSharp.TL/TL/TLChannelFull.cs | 4 +- src/TgSharp.TL/TL/TLChannelLocation.cs | 4 +- src/TgSharp.TL/TL/TLChannelLocationEmpty.cs | 4 +- src/TgSharp.TL/TL/TLChannelMessagesFilter.cs | 4 +- .../TL/TLChannelMessagesFilterEmpty.cs | 4 +- src/TgSharp.TL/TL/TLChannelParticipant.cs | 4 +- .../TL/TLChannelParticipantAdmin.cs | 4 +- .../TL/TLChannelParticipantBanned.cs | 4 +- .../TL/TLChannelParticipantCreator.cs | 4 +- src/TgSharp.TL/TL/TLChannelParticipantSelf.cs | 4 +- .../TL/TLChannelParticipantsAdmins.cs | 4 +- .../TL/TLChannelParticipantsBanned.cs | 4 +- .../TL/TLChannelParticipantsBots.cs | 4 +- .../TL/TLChannelParticipantsContacts.cs | 4 +- .../TL/TLChannelParticipantsKicked.cs | 4 +- .../TL/TLChannelParticipantsRecent.cs | 4 +- .../TL/TLChannelParticipantsSearch.cs | 4 +- src/TgSharp.TL/TL/TLChat.cs | 4 +- src/TgSharp.TL/TL/TLChatAdminRights.cs | 4 +- src/TgSharp.TL/TL/TLChatBannedRights.cs | 4 +- src/TgSharp.TL/TL/TLChatEmpty.cs | 4 +- src/TgSharp.TL/TL/TLChatForbidden.cs | 4 +- src/TgSharp.TL/TL/TLChatFull.cs | 4 +- src/TgSharp.TL/TL/TLChatInvite.cs | 4 +- src/TgSharp.TL/TL/TLChatInviteAlready.cs | 4 +- src/TgSharp.TL/TL/TLChatInviteEmpty.cs | 4 +- src/TgSharp.TL/TL/TLChatInviteExported.cs | 4 +- src/TgSharp.TL/TL/TLChatOnlines.cs | 4 +- src/TgSharp.TL/TL/TLChatParticipant.cs | 4 +- src/TgSharp.TL/TL/TLChatParticipantAdmin.cs | 4 +- src/TgSharp.TL/TL/TLChatParticipantCreator.cs | 4 +- src/TgSharp.TL/TL/TLChatParticipants.cs | 4 +- .../TL/TLChatParticipantsForbidden.cs | 4 +- src/TgSharp.TL/TL/TLChatPhoto.cs | 4 +- src/TgSharp.TL/TL/TLChatPhotoEmpty.cs | 4 +- src/TgSharp.TL/TL/TLCodeSettings.cs | 4 +- src/TgSharp.TL/TL/TLConfig.cs | 4 +- src/TgSharp.TL/TL/TLContact.cs | 4 +- src/TgSharp.TL/TL/TLContactBlocked.cs | 4 +- src/TgSharp.TL/TL/TLContactStatus.cs | 4 +- src/TgSharp.TL/TL/TLDataJSON.cs | 4 +- src/TgSharp.TL/TL/TLDcOption.cs | 4 +- src/TgSharp.TL/TL/TLDialog.cs | 4 +- src/TgSharp.TL/TL/TLDialogFolder.cs | 4 +- src/TgSharp.TL/TL/TLDialogPeer.cs | 4 +- src/TgSharp.TL/TL/TLDialogPeerFolder.cs | 4 +- src/TgSharp.TL/TL/TLDocument.cs | 4 +- .../TL/TLDocumentAttributeAnimated.cs | 4 +- src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs | 4 +- .../TL/TLDocumentAttributeFilename.cs | 4 +- .../TL/TLDocumentAttributeHasStickers.cs | 4 +- .../TL/TLDocumentAttributeImageSize.cs | 4 +- .../TL/TLDocumentAttributeSticker.cs | 4 +- src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs | 4 +- src/TgSharp.TL/TL/TLDocumentEmpty.cs | 4 +- src/TgSharp.TL/TL/TLDraftMessage.cs | 4 +- src/TgSharp.TL/TL/TLDraftMessageEmpty.cs | 4 +- src/TgSharp.TL/TL/TLEmojiKeyword.cs | 4 +- src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs | 4 +- .../TL/TLEmojiKeywordsDifference.cs | 4 +- src/TgSharp.TL/TL/TLEmojiLanguage.cs | 4 +- src/TgSharp.TL/TL/TLEmojiURL.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedChat.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedChatRequested.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedFile.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs | 4 +- src/TgSharp.TL/TL/TLEncryptedMessage.cs | 4 +- .../TL/TLEncryptedMessageService.cs | 4 +- src/TgSharp.TL/TL/TLError.cs | 4 +- src/TgSharp.TL/TL/TLExportedMessageLink.cs | 4 +- src/TgSharp.TL/TL/TLFileHash.cs | 4 +- .../TL/TLFileLocationToBeDeprecated.cs | 4 +- src/TgSharp.TL/TL/TLFolder.cs | 4 +- src/TgSharp.TL/TL/TLFolderPeer.cs | 4 +- src/TgSharp.TL/TL/TLFoundGif.cs | 4 +- src/TgSharp.TL/TL/TLFoundGifCached.cs | 4 +- src/TgSharp.TL/TL/TLGame.cs | 4 +- src/TgSharp.TL/TL/TLGeoPoint.cs | 4 +- src/TgSharp.TL/TL/TLGeoPointEmpty.cs | 4 +- src/TgSharp.TL/TL/TLHighScore.cs | 4 +- src/TgSharp.TL/TL/TLImportedContact.cs | 4 +- src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs | 4 +- src/TgSharp.TL/TL/TLInputAppEvent.cs | 4 +- .../TL/TLInputBotInlineMessageGame.cs | 4 +- .../TL/TLInputBotInlineMessageID.cs | 4 +- .../TL/TLInputBotInlineMessageMediaAuto.cs | 4 +- .../TL/TLInputBotInlineMessageMediaContact.cs | 4 +- .../TL/TLInputBotInlineMessageMediaGeo.cs | 4 +- .../TL/TLInputBotInlineMessageMediaVenue.cs | 4 +- .../TL/TLInputBotInlineMessageText.cs | 4 +- src/TgSharp.TL/TL/TLInputBotInlineResult.cs | 4 +- .../TL/TLInputBotInlineResultDocument.cs | 4 +- .../TL/TLInputBotInlineResultGame.cs | 4 +- .../TL/TLInputBotInlineResultPhoto.cs | 4 +- src/TgSharp.TL/TL/TLInputChannel.cs | 4 +- src/TgSharp.TL/TL/TLInputChannelEmpty.cs | 4 +- .../TL/TLInputChannelFromMessage.cs | 4 +- src/TgSharp.TL/TL/TLInputChatPhoto.cs | 4 +- src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs | 4 +- .../TL/TLInputCheckPasswordEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs | 4 +- src/TgSharp.TL/TL/TLInputClientProxy.cs | 4 +- src/TgSharp.TL/TL/TLInputDialogPeer.cs | 4 +- src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs | 4 +- src/TgSharp.TL/TL/TLInputDocument.cs | 4 +- src/TgSharp.TL/TL/TLInputDocumentEmpty.cs | 4 +- .../TL/TLInputDocumentFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLInputEncryptedChat.cs | 4 +- src/TgSharp.TL/TL/TLInputEncryptedFile.cs | 4 +- .../TL/TLInputEncryptedFileBigUploaded.cs | 4 +- .../TL/TLInputEncryptedFileEmpty.cs | 4 +- .../TL/TLInputEncryptedFileLocation.cs | 4 +- .../TL/TLInputEncryptedFileUploaded.cs | 4 +- src/TgSharp.TL/TL/TLInputFile.cs | 4 +- src/TgSharp.TL/TL/TLInputFileBig.cs | 4 +- src/TgSharp.TL/TL/TLInputFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLInputFolderPeer.cs | 4 +- src/TgSharp.TL/TL/TLInputGameID.cs | 4 +- src/TgSharp.TL/TL/TLInputGameShortName.cs | 4 +- src/TgSharp.TL/TL/TLInputGeoPoint.cs | 4 +- src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs | 4 +- .../TL/TLInputKeyboardButtonUrlAuth.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaContact.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaDocument.cs | 4 +- .../TL/TLInputMediaDocumentExternal.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaGame.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaGeoLive.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaGifExternal.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaInvoice.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaPhoto.cs | 4 +- .../TL/TLInputMediaPhotoExternal.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaPoll.cs | 4 +- .../TL/TLInputMediaUploadedDocument.cs | 4 +- .../TL/TLInputMediaUploadedPhoto.cs | 4 +- src/TgSharp.TL/TL/TLInputMediaVenue.cs | 4 +- .../TL/TLInputMessageEntityMentionName.cs | 4 +- src/TgSharp.TL/TL/TLInputMessageID.cs | 4 +- src/TgSharp.TL/TL/TLInputMessagePinned.cs | 4 +- src/TgSharp.TL/TL/TLInputMessageReplyTo.cs | 4 +- .../TL/TLInputMessagesFilterChatPhotos.cs | 4 +- .../TL/TLInputMessagesFilterContacts.cs | 4 +- .../TL/TLInputMessagesFilterDocument.cs | 4 +- .../TL/TLInputMessagesFilterEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs | 4 +- src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs | 4 +- .../TL/TLInputMessagesFilterMusic.cs | 4 +- .../TL/TLInputMessagesFilterMyMentions.cs | 4 +- .../TL/TLInputMessagesFilterPhoneCalls.cs | 4 +- .../TL/TLInputMessagesFilterPhotoVideo.cs | 4 +- .../TL/TLInputMessagesFilterPhotos.cs | 4 +- .../TL/TLInputMessagesFilterRoundVideo.cs | 4 +- .../TL/TLInputMessagesFilterRoundVoice.cs | 4 +- src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs | 4 +- .../TL/TLInputMessagesFilterVideo.cs | 4 +- .../TL/TLInputMessagesFilterVoice.cs | 4 +- src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs | 4 +- src/TgSharp.TL/TL/TLInputNotifyChats.cs | 4 +- src/TgSharp.TL/TL/TLInputNotifyPeer.cs | 4 +- src/TgSharp.TL/TL/TLInputNotifyUsers.cs | 4 +- .../TL/TLInputPaymentCredentials.cs | 4 +- .../TL/TLInputPaymentCredentialsAndroidPay.cs | 4 +- .../TL/TLInputPaymentCredentialsApplePay.cs | 4 +- .../TL/TLInputPaymentCredentialsSaved.cs | 4 +- src/TgSharp.TL/TL/TLInputPeerChannel.cs | 4 +- .../TL/TLInputPeerChannelFromMessage.cs | 4 +- src/TgSharp.TL/TL/TLInputPeerChat.cs | 4 +- src/TgSharp.TL/TL/TLInputPeerEmpty.cs | 4 +- .../TL/TLInputPeerNotifySettings.cs | 4 +- .../TL/TLInputPeerPhotoFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLInputPeerSelf.cs | 4 +- src/TgSharp.TL/TL/TLInputPeerUser.cs | 4 +- .../TL/TLInputPeerUserFromMessage.cs | 4 +- src/TgSharp.TL/TL/TLInputPhoneCall.cs | 4 +- src/TgSharp.TL/TL/TLInputPhoneContact.cs | 4 +- src/TgSharp.TL/TL/TLInputPhoto.cs | 4 +- src/TgSharp.TL/TL/TLInputPhotoEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs | 4 +- .../TL/TLInputPhotoLegacyFileLocation.cs | 4 +- .../TL/TLInputPrivacyKeyAddedByPhone.cs | 4 +- .../TL/TLInputPrivacyKeyChatInvite.cs | 4 +- .../TL/TLInputPrivacyKeyForwards.cs | 4 +- .../TL/TLInputPrivacyKeyPhoneCall.cs | 4 +- .../TL/TLInputPrivacyKeyPhoneNumber.cs | 4 +- .../TL/TLInputPrivacyKeyPhoneP2P.cs | 4 +- .../TL/TLInputPrivacyKeyProfilePhoto.cs | 4 +- .../TL/TLInputPrivacyKeyStatusTimestamp.cs | 4 +- .../TL/TLInputPrivacyValueAllowAll.cs | 4 +- ...LInputPrivacyValueAllowChatParticipants.cs | 4 +- .../TL/TLInputPrivacyValueAllowContacts.cs | 4 +- .../TL/TLInputPrivacyValueAllowUsers.cs | 4 +- .../TL/TLInputPrivacyValueDisallowAll.cs | 4 +- ...putPrivacyValueDisallowChatParticipants.cs | 4 +- .../TL/TLInputPrivacyValueDisallowContacts.cs | 4 +- .../TL/TLInputPrivacyValueDisallowUsers.cs | 4 +- .../TL/TLInputReportReasonChildAbuse.cs | 4 +- .../TL/TLInputReportReasonCopyright.cs | 4 +- .../TL/TLInputReportReasonGeoIrrelevant.cs | 4 +- src/TgSharp.TL/TL/TLInputReportReasonOther.cs | 4 +- .../TL/TLInputReportReasonPornography.cs | 4 +- src/TgSharp.TL/TL/TLInputReportReasonSpam.cs | 4 +- .../TL/TLInputReportReasonViolence.cs | 4 +- src/TgSharp.TL/TL/TLInputSecureFile.cs | 4 +- .../TL/TLInputSecureFileLocation.cs | 4 +- .../TL/TLInputSecureFileUploaded.cs | 4 +- src/TgSharp.TL/TL/TLInputSecureValue.cs | 4 +- src/TgSharp.TL/TL/TLInputSingleMedia.cs | 4 +- .../TL/TLInputStickerSetAnimatedEmoji.cs | 4 +- src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputStickerSetID.cs | 4 +- src/TgSharp.TL/TL/TLInputStickerSetItem.cs | 4 +- .../TL/TLInputStickerSetShortName.cs | 4 +- src/TgSharp.TL/TL/TLInputStickerSetThumb.cs | 4 +- .../TL/TLInputStickeredMediaDocument.cs | 4 +- .../TL/TLInputStickeredMediaPhoto.cs | 4 +- .../TL/TLInputTakeoutFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLInputTheme.cs | 4 +- src/TgSharp.TL/TL/TLInputThemeSettings.cs | 4 +- src/TgSharp.TL/TL/TLInputThemeSlug.cs | 4 +- src/TgSharp.TL/TL/TLInputUser.cs | 4 +- src/TgSharp.TL/TL/TLInputUserEmpty.cs | 4 +- src/TgSharp.TL/TL/TLInputUserFromMessage.cs | 4 +- src/TgSharp.TL/TL/TLInputUserSelf.cs | 4 +- src/TgSharp.TL/TL/TLInputWallPaper.cs | 4 +- src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs | 4 +- src/TgSharp.TL/TL/TLInputWallPaperSlug.cs | 4 +- src/TgSharp.TL/TL/TLInputWebDocument.cs | 4 +- .../TL/TLInputWebFileGeoPointLocation.cs | 4 +- src/TgSharp.TL/TL/TLInputWebFileLocation.cs | 4 +- src/TgSharp.TL/TL/TLInvoice.cs | 4 +- src/TgSharp.TL/TL/TLJsonArray.cs | 4 +- src/TgSharp.TL/TL/TLJsonBool.cs | 4 +- src/TgSharp.TL/TL/TLJsonNull.cs | 4 +- src/TgSharp.TL/TL/TLJsonNumber.cs | 4 +- src/TgSharp.TL/TL/TLJsonObject.cs | 4 +- src/TgSharp.TL/TL/TLJsonObjectValue.cs | 4 +- src/TgSharp.TL/TL/TLJsonString.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButton.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonGame.cs | 4 +- .../TL/TLKeyboardButtonRequestGeoLocation.cs | 4 +- .../TL/TLKeyboardButtonRequestPhone.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonRow.cs | 4 +- .../TL/TLKeyboardButtonSwitchInline.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs | 4 +- src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs | 4 +- src/TgSharp.TL/TL/TLLabeledPrice.cs | 4 +- src/TgSharp.TL/TL/TLLangPackDifference.cs | 4 +- src/TgSharp.TL/TL/TLLangPackLanguage.cs | 4 +- src/TgSharp.TL/TL/TLLangPackString.cs | 4 +- src/TgSharp.TL/TL/TLLangPackStringDeleted.cs | 4 +- .../TL/TLLangPackStringPluralized.cs | 4 +- src/TgSharp.TL/TL/TLMaskCoords.cs | 4 +- src/TgSharp.TL/TL/TLMessage.cs | 4 +- .../TL/TLMessageActionBotAllowed.cs | 4 +- .../TL/TLMessageActionChannelCreate.cs | 4 +- .../TL/TLMessageActionChannelMigrateFrom.cs | 4 +- .../TL/TLMessageActionChatAddUser.cs | 4 +- .../TL/TLMessageActionChatCreate.cs | 4 +- .../TL/TLMessageActionChatDeletePhoto.cs | 4 +- .../TL/TLMessageActionChatDeleteUser.cs | 4 +- .../TL/TLMessageActionChatEditPhoto.cs | 4 +- .../TL/TLMessageActionChatEditTitle.cs | 4 +- .../TL/TLMessageActionChatJoinedByLink.cs | 4 +- .../TL/TLMessageActionChatMigrateTo.cs | 4 +- .../TL/TLMessageActionContactSignUp.cs | 4 +- .../TL/TLMessageActionCustomAction.cs | 4 +- src/TgSharp.TL/TL/TLMessageActionEmpty.cs | 4 +- src/TgSharp.TL/TL/TLMessageActionGameScore.cs | 4 +- .../TL/TLMessageActionHistoryClear.cs | 4 +- .../TL/TLMessageActionPaymentSent.cs | 4 +- .../TL/TLMessageActionPaymentSentMe.cs | 4 +- src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs | 4 +- .../TL/TLMessageActionPinMessage.cs | 4 +- .../TL/TLMessageActionScreenshotTaken.cs | 4 +- .../TL/TLMessageActionSecureValuesSent.cs | 4 +- .../TL/TLMessageActionSecureValuesSentMe.cs | 4 +- src/TgSharp.TL/TL/TLMessageEmpty.cs | 4 +- .../TL/TLMessageEntityBlockquote.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityBold.cs | 4 +- .../TL/TLMessageEntityBotCommand.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityCashtag.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityCode.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityEmail.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityHashtag.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityItalic.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityMention.cs | 4 +- .../TL/TLMessageEntityMentionName.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityPhone.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityPre.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityStrike.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityUnderline.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityUnknown.cs | 4 +- src/TgSharp.TL/TL/TLMessageEntityUrl.cs | 4 +- src/TgSharp.TL/TL/TLMessageFwdHeader.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaContact.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaDocument.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaEmpty.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaGame.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaGeo.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaInvoice.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaPhoto.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaPoll.cs | 4 +- .../TL/TLMessageMediaUnsupported.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaVenue.cs | 4 +- src/TgSharp.TL/TL/TLMessageMediaWebPage.cs | 4 +- src/TgSharp.TL/TL/TLMessageRange.cs | 4 +- src/TgSharp.TL/TL/TLMessageService.cs | 4 +- src/TgSharp.TL/TL/TLNearestDc.cs | 4 +- src/TgSharp.TL/TL/TLNotifyBroadcasts.cs | 4 +- src/TgSharp.TL/TL/TLNotifyChats.cs | 4 +- src/TgSharp.TL/TL/TLNotifyPeer.cs | 4 +- src/TgSharp.TL/TL/TLNotifyUsers.cs | 4 +- src/TgSharp.TL/TL/TLNull.cs | 4 +- src/TgSharp.TL/TL/TLPage.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockAnchor.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockAudio.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockBlockquote.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockChannel.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockCollage.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockCover.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockDetails.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockDivider.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockEmbed.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockFooter.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockHeader.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockKicker.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockList.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockMap.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockOrderedList.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockParagraph.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockPhoto.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockPreformatted.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockPullquote.cs | 4 +- .../TL/TLPageBlockRelatedArticles.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockSlideshow.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockSubheader.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockSubtitle.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockTable.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockTitle.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockUnsupported.cs | 4 +- src/TgSharp.TL/TL/TLPageBlockVideo.cs | 4 +- src/TgSharp.TL/TL/TLPageCaption.cs | 4 +- src/TgSharp.TL/TL/TLPageListItemBlocks.cs | 4 +- src/TgSharp.TL/TL/TLPageListItemText.cs | 4 +- .../TL/TLPageListOrderedItemBlocks.cs | 4 +- .../TL/TLPageListOrderedItemText.cs | 4 +- src/TgSharp.TL/TL/TLPageRelatedArticle.cs | 4 +- src/TgSharp.TL/TL/TLPageTableCell.cs | 4 +- src/TgSharp.TL/TL/TLPageTableRow.cs | 4 +- ...6PBKDF2HMACSHA512iter100000SHA256ModPow.cs | 4 +- src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs | 4 +- src/TgSharp.TL/TL/TLPaymentCharge.cs | 4 +- src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs | 4 +- .../TL/TLPaymentSavedCredentialsCard.cs | 4 +- src/TgSharp.TL/TL/TLPeerChannel.cs | 4 +- src/TgSharp.TL/TL/TLPeerChat.cs | 4 +- src/TgSharp.TL/TL/TLPeerLocated.cs | 4 +- src/TgSharp.TL/TL/TLPeerNotifySettings.cs | 4 +- src/TgSharp.TL/TL/TLPeerSettings.cs | 4 +- src/TgSharp.TL/TL/TLPeerUser.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCall.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallAccepted.cs | 4 +- .../TL/TLPhoneCallDiscardReasonBusy.cs | 4 +- .../TL/TLPhoneCallDiscardReasonDisconnect.cs | 4 +- .../TL/TLPhoneCallDiscardReasonHangup.cs | 4 +- .../TL/TLPhoneCallDiscardReasonMissed.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallEmpty.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallProtocol.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallRequested.cs | 4 +- src/TgSharp.TL/TL/TLPhoneCallWaiting.cs | 4 +- src/TgSharp.TL/TL/TLPhoneConnection.cs | 4 +- src/TgSharp.TL/TL/TLPhoto.cs | 4 +- src/TgSharp.TL/TL/TLPhotoCachedSize.cs | 4 +- src/TgSharp.TL/TL/TLPhotoEmpty.cs | 4 +- src/TgSharp.TL/TL/TLPhotoSize.cs | 4 +- src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs | 4 +- src/TgSharp.TL/TL/TLPhotoStrippedSize.cs | 4 +- src/TgSharp.TL/TL/TLPoll.cs | 4 +- src/TgSharp.TL/TL/TLPollAnswer.cs | 4 +- src/TgSharp.TL/TL/TLPollAnswerVoters.cs | 4 +- src/TgSharp.TL/TL/TLPollResults.cs | 4 +- src/TgSharp.TL/TL/TLPopularContact.cs | 4 +- src/TgSharp.TL/TL/TLPostAddress.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs | 4 +- .../TL/TLPrivacyKeyStatusTimestamp.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs | 4 +- .../TL/TLPrivacyValueAllowChatParticipants.cs | 4 +- .../TL/TLPrivacyValueAllowContacts.cs | 4 +- src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs | 4 +- .../TL/TLPrivacyValueDisallowAll.cs | 4 +- .../TLPrivacyValueDisallowChatParticipants.cs | 4 +- .../TL/TLPrivacyValueDisallowContacts.cs | 4 +- .../TL/TLPrivacyValueDisallowUsers.cs | 4 +- src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs | 4 +- src/TgSharp.TL/TL/TLRecentMeUrlChat.cs | 4 +- src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs | 4 +- src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs | 4 +- src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs | 4 +- src/TgSharp.TL/TL/TLRecentMeUrlUser.cs | 4 +- src/TgSharp.TL/TL/TLReplyInlineMarkup.cs | 4 +- .../TL/TLReplyKeyboardForceReply.cs | 4 +- src/TgSharp.TL/TL/TLReplyKeyboardHide.cs | 4 +- src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs | 4 +- src/TgSharp.TL/TL/TLRequestInitConnection.cs | 4 +- src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs | 4 +- src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs | 4 +- src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs | 4 +- .../TL/TLRequestInvokeWithMessagesRange.cs | 4 +- .../TL/TLRequestInvokeWithTakeout.cs | 4 +- .../TL/TLRequestInvokeWithoutUpdates.cs | 4 +- src/TgSharp.TL/TL/TLRestrictionReason.cs | 4 +- src/TgSharp.TL/TL/TLSavedPhoneContact.cs | 4 +- .../TL/TLSecureCredentialsEncrypted.cs | 4 +- src/TgSharp.TL/TL/TLSecureData.cs | 4 +- src/TgSharp.TL/TL/TLSecureFile.cs | 4 +- src/TgSharp.TL/TL/TLSecureFileEmpty.cs | 4 +- ...sswordKdfAlgoPBKDF2HMACSHA512iter100000.cs | 4 +- .../TL/TLSecurePasswordKdfAlgoSHA512.cs | 4 +- .../TL/TLSecurePasswordKdfAlgoUnknown.cs | 4 +- src/TgSharp.TL/TL/TLSecurePlainEmail.cs | 4 +- src/TgSharp.TL/TL/TLSecurePlainPhone.cs | 4 +- src/TgSharp.TL/TL/TLSecureRequiredType.cs | 4 +- .../TL/TLSecureRequiredTypeOneOf.cs | 4 +- src/TgSharp.TL/TL/TLSecureSecretSettings.cs | 4 +- src/TgSharp.TL/TL/TLSecureValue.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueError.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueErrorData.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueErrorFile.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs | 4 +- .../TL/TLSecureValueErrorFrontSide.cs | 4 +- .../TL/TLSecureValueErrorReverseSide.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs | 4 +- .../TL/TLSecureValueErrorTranslationFile.cs | 4 +- .../TL/TLSecureValueErrorTranslationFiles.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueHash.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs | 4 +- .../TL/TLSecureValueTypeBankStatement.cs | 4 +- .../TL/TLSecureValueTypeDriverLicense.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs | 4 +- .../TL/TLSecureValueTypeIdentityCard.cs | 4 +- .../TL/TLSecureValueTypeInternalPassport.cs | 4 +- .../TL/TLSecureValueTypePassport.cs | 4 +- .../TLSecureValueTypePassportRegistration.cs | 4 +- .../TL/TLSecureValueTypePersonalDetails.cs | 4 +- src/TgSharp.TL/TL/TLSecureValueTypePhone.cs | 4 +- .../TL/TLSecureValueTypeRentalAgreement.cs | 4 +- .../TLSecureValueTypeTemporaryRegistration.cs | 4 +- .../TL/TLSecureValueTypeUtilityBill.cs | 4 +- .../TL/TLSendMessageCancelAction.cs | 4 +- .../TL/TLSendMessageChooseContactAction.cs | 4 +- .../TL/TLSendMessageGamePlayAction.cs | 4 +- .../TL/TLSendMessageGeoLocationAction.cs | 4 +- .../TL/TLSendMessageRecordAudioAction.cs | 4 +- .../TL/TLSendMessageRecordRoundAction.cs | 4 +- .../TL/TLSendMessageRecordVideoAction.cs | 4 +- .../TL/TLSendMessageTypingAction.cs | 4 +- .../TL/TLSendMessageUploadAudioAction.cs | 4 +- .../TL/TLSendMessageUploadDocumentAction.cs | 4 +- .../TL/TLSendMessageUploadPhotoAction.cs | 4 +- .../TL/TLSendMessageUploadRoundAction.cs | 4 +- .../TL/TLSendMessageUploadVideoAction.cs | 4 +- src/TgSharp.TL/TL/TLShippingOption.cs | 4 +- src/TgSharp.TL/TL/TLStatsURL.cs | 4 +- src/TgSharp.TL/TL/TLStickerPack.cs | 4 +- src/TgSharp.TL/TL/TLStickerSet.cs | 4 +- src/TgSharp.TL/TL/TLStickerSetCovered.cs | 4 +- src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs | 4 +- src/TgSharp.TL/TL/TLTextAnchor.cs | 4 +- src/TgSharp.TL/TL/TLTextBold.cs | 4 +- src/TgSharp.TL/TL/TLTextConcat.cs | 4 +- src/TgSharp.TL/TL/TLTextEmail.cs | 4 +- src/TgSharp.TL/TL/TLTextEmpty.cs | 4 +- src/TgSharp.TL/TL/TLTextFixed.cs | 4 +- src/TgSharp.TL/TL/TLTextImage.cs | 4 +- src/TgSharp.TL/TL/TLTextItalic.cs | 4 +- src/TgSharp.TL/TL/TLTextMarked.cs | 4 +- src/TgSharp.TL/TL/TLTextPhone.cs | 4 +- src/TgSharp.TL/TL/TLTextPlain.cs | 4 +- src/TgSharp.TL/TL/TLTextStrike.cs | 4 +- src/TgSharp.TL/TL/TLTextSubscript.cs | 4 +- src/TgSharp.TL/TL/TLTextSuperscript.cs | 4 +- src/TgSharp.TL/TL/TLTextUnderline.cs | 4 +- src/TgSharp.TL/TL/TLTextUrl.cs | 4 +- src/TgSharp.TL/TL/TLTheme.cs | 4 +- src/TgSharp.TL/TL/TLThemeSettings.cs | 4 +- src/TgSharp.TL/TL/TLTopPeer.cs | 4 +- .../TL/TLTopPeerCategoryBotsInline.cs | 4 +- src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs | 4 +- .../TL/TLTopPeerCategoryChannels.cs | 4 +- .../TL/TLTopPeerCategoryCorrespondents.cs | 4 +- .../TL/TLTopPeerCategoryForwardChats.cs | 4 +- .../TL/TLTopPeerCategoryForwardUsers.cs | 4 +- src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs | 4 +- src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs | 4 +- .../TL/TLTopPeerCategoryPhoneCalls.cs | 4 +- src/TgSharp.TL/TL/TLTrue.cs | 4 +- src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs | 4 +- .../TL/TLUpdateBotPrecheckoutQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs | 4 +- .../TL/TLUpdateBotWebhookJSONQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateChannel.cs | 4 +- .../TL/TLUpdateChannelAvailableMessages.cs | 4 +- .../TL/TLUpdateChannelMessageViews.cs | 4 +- .../TL/TLUpdateChannelPinnedMessage.cs | 4 +- .../TL/TLUpdateChannelReadMessagesContents.cs | 4 +- src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs | 4 +- src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs | 4 +- .../TL/TLUpdateChatDefaultBannedRights.cs | 4 +- .../TL/TLUpdateChatParticipantAdd.cs | 4 +- .../TL/TLUpdateChatParticipantAdmin.cs | 4 +- .../TL/TLUpdateChatParticipantDelete.cs | 4 +- src/TgSharp.TL/TL/TLUpdateChatParticipants.cs | 4 +- .../TL/TLUpdateChatPinnedMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs | 4 +- src/TgSharp.TL/TL/TLUpdateConfig.cs | 4 +- src/TgSharp.TL/TL/TLUpdateContactsReset.cs | 4 +- src/TgSharp.TL/TL/TLUpdateDcOptions.cs | 4 +- .../TL/TLUpdateDeleteChannelMessages.cs | 4 +- src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs | 4 +- .../TL/TLUpdateDeleteScheduledMessages.cs | 4 +- src/TgSharp.TL/TL/TLUpdateDialogPinned.cs | 4 +- src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs | 4 +- src/TgSharp.TL/TL/TLUpdateDraftMessage.cs | 4 +- .../TL/TLUpdateEditChannelMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateEditMessage.cs | 4 +- .../TL/TLUpdateEncryptedChatTyping.cs | 4 +- .../TL/TLUpdateEncryptedMessagesRead.cs | 4 +- src/TgSharp.TL/TL/TLUpdateEncryption.cs | 4 +- src/TgSharp.TL/TL/TLUpdateFavedStickers.cs | 4 +- src/TgSharp.TL/TL/TLUpdateFolderPeers.cs | 4 +- src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs | 4 +- .../TL/TLUpdateInlineBotCallbackQuery.cs | 4 +- src/TgSharp.TL/TL/TLUpdateLangPack.cs | 4 +- src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs | 4 +- src/TgSharp.TL/TL/TLUpdateLoginToken.cs | 4 +- src/TgSharp.TL/TL/TLUpdateMessageID.cs | 4 +- src/TgSharp.TL/TL/TLUpdateMessagePoll.cs | 4 +- .../TL/TLUpdateNewChannelMessage.cs | 4 +- .../TL/TLUpdateNewEncryptedMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateNewMessage.cs | 4 +- .../TL/TLUpdateNewScheduledMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs | 4 +- src/TgSharp.TL/TL/TLUpdateNotifySettings.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePeerLocated.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePeerSettings.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePhoneCall.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePrivacy.cs | 4 +- src/TgSharp.TL/TL/TLUpdatePtsChanged.cs | 4 +- src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs | 4 +- .../TL/TLUpdateReadChannelOutbox.cs | 4 +- .../TL/TLUpdateReadFeaturedStickers.cs | 4 +- src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs | 4 +- .../TL/TLUpdateReadHistoryOutbox.cs | 4 +- .../TL/TLUpdateReadMessagesContents.cs | 4 +- src/TgSharp.TL/TL/TLUpdateRecentStickers.cs | 4 +- src/TgSharp.TL/TL/TLUpdateSavedGifs.cs | 4 +- .../TL/TLUpdateServiceNotification.cs | 4 +- src/TgSharp.TL/TL/TLUpdateShort.cs | 4 +- src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateShortMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateStickerSets.cs | 4 +- src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs | 4 +- src/TgSharp.TL/TL/TLUpdateTheme.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserBlocked.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserName.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserPhone.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserPhoto.cs | 4 +- .../TL/TLUpdateUserPinnedMessage.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserStatus.cs | 4 +- src/TgSharp.TL/TL/TLUpdateUserTyping.cs | 4 +- src/TgSharp.TL/TL/TLUpdateWebPage.cs | 4 +- src/TgSharp.TL/TL/TLUpdates.cs | 4 +- src/TgSharp.TL/TL/TLUpdatesCombined.cs | 4 +- src/TgSharp.TL/TL/TLUpdatesTooLong.cs | 4 +- src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs | 4 +- src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs | 4 +- src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs | 4 +- src/TgSharp.TL/TL/TLUser.cs | 4 +- src/TgSharp.TL/TL/TLUserEmpty.cs | 4 +- src/TgSharp.TL/TL/TLUserFull.cs | 4 +- src/TgSharp.TL/TL/TLUserProfilePhoto.cs | 4 +- src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusEmpty.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusLastMonth.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusLastWeek.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusOffline.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusOnline.cs | 4 +- src/TgSharp.TL/TL/TLUserStatusRecently.cs | 4 +- src/TgSharp.TL/TL/TLVector.cs | 41 +++++++++++++++++++ src/TgSharp.TL/TL/TLWallPaper.cs | 4 +- src/TgSharp.TL/TL/TLWallPaperNoFile.cs | 4 +- src/TgSharp.TL/TL/TLWallPaperSettings.cs | 4 +- src/TgSharp.TL/TL/TLWebAuthorization.cs | 4 +- src/TgSharp.TL/TL/TLWebDocument.cs | 4 +- src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs | 4 +- src/TgSharp.TL/TL/TLWebPage.cs | 4 +- src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs | 4 +- src/TgSharp.TL/TL/TLWebPageEmpty.cs | 4 +- src/TgSharp.TL/TL/TLWebPageNotModified.cs | 4 +- src/TgSharp.TL/TL/TLWebPagePending.cs | 4 +- .../TL/Updates/TLAbsChannelDifference.cs | 4 +- src/TgSharp.TL/TL/Updates/TLAbsDifference.cs | 4 +- .../TL/Updates/TLChannelDifference.cs | 4 +- .../TL/Updates/TLChannelDifferenceEmpty.cs | 4 +- .../TL/Updates/TLChannelDifferenceTooLong.cs | 4 +- src/TgSharp.TL/TL/Updates/TLDifference.cs | 4 +- .../TL/Updates/TLDifferenceEmpty.cs | 4 +- .../TL/Updates/TLDifferenceSlice.cs | 4 +- .../TL/Updates/TLDifferenceTooLong.cs | 4 +- .../Updates/TLRequestGetChannelDifference.cs | 4 +- .../TL/Updates/TLRequestGetDifference.cs | 4 +- .../TL/Updates/TLRequestGetState.cs | 4 +- src/TgSharp.TL/TL/Updates/TLState.cs | 4 +- src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs | 4 +- src/TgSharp.TL/TL/Upload/TLAbsFile.cs | 4 +- src/TgSharp.TL/TL/Upload/TLCdnFile.cs | 4 +- .../TL/Upload/TLCdnFileReuploadNeeded.cs | 4 +- src/TgSharp.TL/TL/Upload/TLFile.cs | 4 +- src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs | 4 +- .../TL/Upload/TLRequestGetCdnFile.cs | 4 +- .../TL/Upload/TLRequestGetCdnFileHashes.cs | 4 +- src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs | 4 +- .../TL/Upload/TLRequestGetFileHashes.cs | 4 +- .../TL/Upload/TLRequestGetWebFile.cs | 4 +- .../TL/Upload/TLRequestReuploadCdnFile.cs | 4 +- .../TL/Upload/TLRequestSaveBigFilePart.cs | 4 +- .../TL/Upload/TLRequestSaveFilePart.cs | 4 +- src/TgSharp.TL/TL/Upload/TLWebFile.cs | 4 +- .../TL/Users/TLRequestGetFullUser.cs | 4 +- src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs | 4 +- .../TL/Users/TLRequestSetSecureValueErrors.cs | 4 +- 1256 files changed, 2551 insertions(+), 2510 deletions(-) create mode 100644 src/TgSharp.TL/TL/TLVector.cs diff --git a/src/TgSharp.TL/TL/Account/TLAbsThemes.cs b/src/TgSharp.TL/TL/Account/TLAbsThemes.cs index 4715cdb4..aee796b5 100644 --- a/src/TgSharp.TL/TL/Account/TLAbsThemes.cs +++ b/src/TgSharp.TL/TL/Account/TLAbsThemes.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { public abstract class TLAbsThemes : TLObject { diff --git a/src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs b/src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs index ac740e25..ba96ece3 100644 --- a/src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs +++ b/src/TgSharp.TL/TL/Account/TLAbsWallPapers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { public abstract class TLAbsWallPapers : TLObject { diff --git a/src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs b/src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs index 833242c4..4c516e81 100644 --- a/src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs +++ b/src/TgSharp.TL/TL/Account/TLAuthorizationForm.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1389486888)] public class TLAuthorizationForm : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLAuthorizations.cs index 54b31240..af03f69f 100644 --- a/src/TgSharp.TL/TL/Account/TLAuthorizations.cs +++ b/src/TgSharp.TL/TL/Account/TLAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(307276766)] public class TLAuthorizations : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs index 87aa557c..b4fcced4 100644 --- a/src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLAutoDownloadSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1674235686)] public class TLAutoDownloadSettings : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLContentSettings.cs b/src/TgSharp.TL/TL/Account/TLContentSettings.cs index 7e56e815..ad32276c 100644 --- a/src/TgSharp.TL/TL/Account/TLContentSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLContentSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1474462241)] public class TLContentSettings : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLPassword.cs b/src/TgSharp.TL/TL/Account/TLPassword.cs index c752e36b..7fe7ecbd 100644 --- a/src/TgSharp.TL/TL/Account/TLPassword.cs +++ b/src/TgSharp.TL/TL/Account/TLPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1390001672)] public class TLPassword : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs b/src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs index 7c9386a9..f65c7aa3 100644 --- a/src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLPasswordInputSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1036572727)] public class TLPasswordInputSettings : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLPasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLPasswordSettings.cs index 5dc3042c..88ee463e 100644 --- a/src/TgSharp.TL/TL/Account/TLPasswordSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLPasswordSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1705233435)] public class TLPasswordSettings : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLPrivacyRules.cs b/src/TgSharp.TL/TL/Account/TLPrivacyRules.cs index 202dfc91..99f1d4fc 100644 --- a/src/TgSharp.TL/TL/Account/TLPrivacyRules.cs +++ b/src/TgSharp.TL/TL/Account/TLPrivacyRules.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1352683077)] public class TLPrivacyRules : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs index 3163bd96..8aec9afe 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestAcceptAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-419267436)] public class TLRequestAcceptAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs index b3816f1a..0e1f563c 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestCancelPasswordEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1043606090)] public class TLRequestCancelPasswordEmail : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs b/src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs index f4bc0b77..90e4692e 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestChangePhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1891839707)] public class TLRequestChangePhone : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs b/src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs index c75c1bfc..b17f9a33 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestCheckUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(655677548)] public class TLRequestCheckUsername : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs index 2ae86a88..28a1b074 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestConfirmPasswordEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1881204448)] public class TLRequestConfirmPasswordEmail : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs b/src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs index 400b02c8..a288b7aa 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestConfirmPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1596029123)] public class TLRequestConfirmPhone : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs index af370dcd..12ea9c58 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestCreateTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-2077048289)] public class TLRequestCreateTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs b/src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs index 484e0e4d..c40f45ae 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestDeleteAccount.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1099779595)] public class TLRequestDeleteAccount : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs index a5e82bcf..88d317ef 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestDeleteSecureValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1199522741)] public class TLRequestDeleteSecureValue : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs b/src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs index 4b78fd9f..17727aca 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestFinishTakeoutSession.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(489050862)] public class TLRequestFinishTakeoutSession : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs index f12ce0e0..0560438d 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetAccountTTL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(150761757)] public class TLRequestGetAccountTTL : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs index 839c7c0c..1a29e4aa 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetAllSecureValues.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1299661699)] public class TLRequestGetAllSecureValues : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs index 310347b4..c0894a90 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizationForm.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1200903967)] public class TLRequestGetAuthorizationForm : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs index 36e5503f..38a745ff 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-484392616)] public class TLRequestGetAuthorizations : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs index 1a4b5fff..e614ea6a 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetAutoDownloadSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1457130303)] public class TLRequestGetAutoDownloadSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs b/src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs index cca350e4..1ca6ee79 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetContactSignUpNotification.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1626880216)] public class TLRequestGetContactSignUpNotification : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs index 4c3f5af3..afb05d4c 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetContentSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1952756306)] public class TLRequestGetContentSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs index aff6fa40..7271f945 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetMultiWallPapers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1705865692)] public class TLRequestGetMultiWallPapers : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs b/src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs index 4d365a89..67b38b82 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetNotifyExceptions.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1398240377)] public class TLRequestGetNotifyExceptions : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs index dcd46e14..1dc25358 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(313765169)] public class TLRequestGetNotifySettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs index a13c94b5..dd706715 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1418342645)] public class TLRequestGetPassword : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs index d6ade229..d5774632 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetPasswordSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1663767815)] public class TLRequestGetPasswordSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs b/src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs index ea8200ec..1ae312f6 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetPrivacy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-623130288)] public class TLRequestGetPrivacy : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs index b8ff8bbf..805a743a 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetSecureValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1936088002)] public class TLRequestGetSecureValue : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs index 4729f79f..57de3ea0 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1919060949)] public class TLRequestGetTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs b/src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs index 9ab3dae7..8729a504 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetThemes.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(676939512)] public class TLRequestGetThemes : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs b/src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs index d2cb41dc..b8fba965 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetTmpPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1151208273)] public class TLRequestGetTmpPassword : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs index 8dd65110..3b9b52b6 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-57811990)] public class TLRequestGetWallPaper : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs index 14a5f4f7..3f236552 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1430579357)] public class TLRequestGetWallPapers : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs index 912c1aba..34a03975 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestGetWebAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(405695855)] public class TLRequestGetWebAuthorizations : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs b/src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs index e9f1f531..13608d90 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestInitTakeoutSession.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-262453244)] public class TLRequestInitTakeoutSession : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs index f7351e6e..e178c5a9 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestInstallTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(2061776695)] public class TLRequestInstallTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs index dec75ad9..c223c870 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestInstallWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-18000023)] public class TLRequestInstallWallPaper : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs b/src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs index 09506efa..75d2496b 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestRegisterDevice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1754754159)] public class TLRequestRegisterDevice : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs b/src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs index 11d4d55b..ba0bc970 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestReportPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1374118561)] public class TLRequestReportPeer : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs index f183ce35..2f9850b6 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResendPasswordEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(2055154197)] public class TLRequestResendPasswordEmail : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs index 6addf5fb..1549e3dd 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResetAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-545786948)] public class TLRequestResetAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs index 8bd0e50b..10dac59f 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResetNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-612493497)] public class TLRequestResetNotifySettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs index 84c20565..522ad3e9 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResetWallPapers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1153722364)] public class TLRequestResetWallPapers : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs index 6241fa86..b8015936 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(755087855)] public class TLRequestResetWebAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs index 4f04e037..86eed9ad 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestResetWebAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1747789204)] public class TLRequestResetWebAuthorizations : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs index c9386899..5418b0b0 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSaveAutoDownloadSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1995661875)] public class TLRequestSaveAutoDownloadSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs index 878fb80f..3068134f 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSaveSecureValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1986010339)] public class TLRequestSaveSecureValue : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs index e7ddc579..71e67ab8 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSaveTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-229175188)] public class TLRequestSaveTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs index 67a8a960..1c00b832 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSaveWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1817860919)] public class TLRequestSaveWallPaper : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs index 2d2924c6..9f61c73f 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSendChangePhoneCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-2108208411)] public class TLRequestSendChangePhoneCode : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs index e5610ab5..2ae7e4d3 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSendConfirmPhoneCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(457157256)] public class TLRequestSendConfirmPhoneCode : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs index b78b88bb..31e9356e 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyEmailCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1880182943)] public class TLRequestSendVerifyEmailCode : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs index 5ebea790..51134b58 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSendVerifyPhoneCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1516022023)] public class TLRequestSendVerifyPhoneCode : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs b/src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs index 091f6dcf..677e1f66 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSetAccountTTL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(608323678)] public class TLRequestSetAccountTTL : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs b/src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs index 0e5c4c57..7d8f8196 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSetContactSignUpNotification.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-806076575)] public class TLRequestSetContactSignUpNotification : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs index 4c4052bc..c27fdbfc 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSetContentSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1250643605)] public class TLRequestSetContentSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs b/src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs index ae71e45d..7f761584 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestSetPrivacy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-906486552)] public class TLRequestSetPrivacy : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs b/src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs index d0cddc2b..7a9db6e6 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUnregisterDevice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(813089983)] public class TLRequestUnregisterDevice : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs index 695f06e0..c1ff5db0 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateDeviceLocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(954152242)] public class TLRequestUpdateDeviceLocked : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs index 3d292e51..a54268ab 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-2067899501)] public class TLRequestUpdateNotifySettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs index 514e28e2..c370135d 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdatePasswordSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-1516564433)] public class TLRequestUpdatePasswordSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs index 29c15e03..a5af369a 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateProfile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(2018596725)] public class TLRequestUpdateProfile : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs index bd39c785..941e4a7c 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateStatus.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1713919532)] public class TLRequestUpdateStatus : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs index 9dc7e0d2..477f4380 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1555261397)] public class TLRequestUpdateTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs b/src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs index e86ccb3e..1a5c9cdd 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUpdateUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1040964988)] public class TLRequestUpdateUsername : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs b/src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs index b5717b28..b68ec30d 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUploadTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(473805619)] public class TLRequestUploadTheme : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs b/src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs index 785efb4f..aa00eb75 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestUploadWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-578472351)] public class TLRequestUploadWallPaper : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs b/src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs index ca346938..1a4e1594 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestVerifyEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-323339813)] public class TLRequestVerifyEmail : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs b/src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs index 81dd59f9..93078265 100644 --- a/src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs +++ b/src/TgSharp.TL/TL/Account/TLRequestVerifyPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1305716726)] public class TLRequestVerifyPhone : TLMethod diff --git a/src/TgSharp.TL/TL/Account/TLSentEmailCode.cs b/src/TgSharp.TL/TL/Account/TLSentEmailCode.cs index 30e5ea63..df79640f 100644 --- a/src/TgSharp.TL/TL/Account/TLSentEmailCode.cs +++ b/src/TgSharp.TL/TL/Account/TLSentEmailCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-2128640689)] public class TLSentEmailCode : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLTakeout.cs b/src/TgSharp.TL/TL/Account/TLTakeout.cs index 44aa7cf2..3eb954e4 100644 --- a/src/TgSharp.TL/TL/Account/TLTakeout.cs +++ b/src/TgSharp.TL/TL/Account/TLTakeout.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1304052993)] public class TLTakeout : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLThemes.cs b/src/TgSharp.TL/TL/Account/TLThemes.cs index c07b52c1..f64f4167 100644 --- a/src/TgSharp.TL/TL/Account/TLThemes.cs +++ b/src/TgSharp.TL/TL/Account/TLThemes.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(2137482273)] public class TLThemes : TLAbsThemes diff --git a/src/TgSharp.TL/TL/Account/TLThemesNotModified.cs b/src/TgSharp.TL/TL/Account/TLThemesNotModified.cs index 754c2888..caa4f91d 100644 --- a/src/TgSharp.TL/TL/Account/TLThemesNotModified.cs +++ b/src/TgSharp.TL/TL/Account/TLThemesNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-199313886)] public class TLThemesNotModified : TLAbsThemes diff --git a/src/TgSharp.TL/TL/Account/TLTmpPassword.cs b/src/TgSharp.TL/TL/Account/TLTmpPassword.cs index 9cbf6a4a..ea22ca58 100644 --- a/src/TgSharp.TL/TL/Account/TLTmpPassword.cs +++ b/src/TgSharp.TL/TL/Account/TLTmpPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-614138572)] public class TLTmpPassword : TLObject diff --git a/src/TgSharp.TL/TL/Account/TLWallPapers.cs b/src/TgSharp.TL/TL/Account/TLWallPapers.cs index c2b347d6..25e0a6a2 100644 --- a/src/TgSharp.TL/TL/Account/TLWallPapers.cs +++ b/src/TgSharp.TL/TL/Account/TLWallPapers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(1881892265)] public class TLWallPapers : TLAbsWallPapers diff --git a/src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs b/src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs index f8bd2da5..f060d6be 100644 --- a/src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs +++ b/src/TgSharp.TL/TL/Account/TLWallPapersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(471437699)] public class TLWallPapersNotModified : TLAbsWallPapers diff --git a/src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs b/src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs index 89b7ea55..38c55a91 100644 --- a/src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs +++ b/src/TgSharp.TL/TL/Account/TLWebAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Account +namespace TgSharp.TL.Account { [TLObject(-313079300)] public class TLWebAuthorizations : TLObject diff --git a/src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs index 2bd885e3..6b48acf2 100644 --- a/src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLAbsAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { public abstract class TLAbsAuthorization : TLObject { diff --git a/src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs b/src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs index 55a79416..d5cf8ce3 100644 --- a/src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs +++ b/src/TgSharp.TL/TL/Auth/TLAbsCodeType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { public abstract class TLAbsCodeType : TLObject { diff --git a/src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs index b0090ba1..ef40ff0c 100644 --- a/src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs +++ b/src/TgSharp.TL/TL/Auth/TLAbsLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { public abstract class TLAbsLoginToken : TLObject { diff --git a/src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs b/src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs index da337796..302a2b7d 100644 --- a/src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs +++ b/src/TgSharp.TL/TL/Auth/TLAbsSentCodeType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { public abstract class TLAbsSentCodeType : TLObject { diff --git a/src/TgSharp.TL/TL/Auth/TLAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLAuthorization.cs index 71f53bf3..f53839b6 100644 --- a/src/TgSharp.TL/TL/Auth/TLAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-855308010)] public class TLAuthorization : TLAbsAuthorization diff --git a/src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs b/src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs index ed62dac3..63ac8598 100644 --- a/src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs +++ b/src/TgSharp.TL/TL/Auth/TLAuthorizationSignUpRequired.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1148485274)] public class TLAuthorizationSignUpRequired : TLAbsAuthorization diff --git a/src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs index 19c789df..28c3719f 100644 --- a/src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs +++ b/src/TgSharp.TL/TL/Auth/TLCodeTypeCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1948046307)] public class TLCodeTypeCall : TLAbsCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs index 94878717..e7c115e3 100644 --- a/src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs +++ b/src/TgSharp.TL/TL/Auth/TLCodeTypeFlashCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(577556219)] public class TLCodeTypeFlashCall : TLAbsCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs b/src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs index 0a399cb2..2fbed247 100644 --- a/src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs +++ b/src/TgSharp.TL/TL/Auth/TLCodeTypeSms.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1923290508)] public class TLCodeTypeSms : TLAbsCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs index 06737854..51c6a5da 100644 --- a/src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLExportedAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-543777747)] public class TLExportedAuthorization : TLObject diff --git a/src/TgSharp.TL/TL/Auth/TLLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLLoginToken.cs index f0be2673..4834d49b 100644 --- a/src/TgSharp.TL/TL/Auth/TLLoginToken.cs +++ b/src/TgSharp.TL/TL/Auth/TLLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1654593920)] public class TLLoginToken : TLAbsLoginToken diff --git a/src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs b/src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs index dff7f2de..480f5fae 100644 --- a/src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs +++ b/src/TgSharp.TL/TL/Auth/TLLoginTokenMigrateTo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(110008598)] public class TLLoginTokenMigrateTo : TLAbsLoginToken diff --git a/src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs b/src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs index b64798b8..cf34520b 100644 --- a/src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs +++ b/src/TgSharp.TL/TL/Auth/TLLoginTokenSuccess.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(957176926)] public class TLLoginTokenSuccess : TLAbsLoginToken diff --git a/src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs b/src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs index 81aa7505..57eec550 100644 --- a/src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs +++ b/src/TgSharp.TL/TL/Auth/TLPasswordRecovery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(326715557)] public class TLPasswordRecovery : TLObject diff --git a/src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs index 90957bc3..5f5b7897 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestAcceptLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-392909491)] public class TLRequestAcceptLoginToken : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs b/src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs index 16cd0d78..74829a89 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestBindTempAuthKey.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-841733627)] public class TLRequestBindTempAuthKey : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs index ca7de092..3064cde1 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestCancelCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(520357240)] public class TLRequestCancelCode : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs b/src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs index 9f2507b8..357bcfdb 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestCheckPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-779399914)] public class TLRequestCheckPassword : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs b/src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs index a709b893..6eb8eead 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestDropTempAuthKeys.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1907842680)] public class TLRequestDropTempAuthKeys : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs index 7f1061a2..aa0029a3 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestExportAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-440401971)] public class TLRequestExportAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs index e2be9c87..460b0e0d 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestExportLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1313598185)] public class TLRequestExportLoginToken : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs index 089b93b2..3eb7dde5 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestImportAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-470837741)] public class TLRequestImportAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs index fb187a10..e097b981 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestImportBotAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1738800940)] public class TLRequestImportBotAuthorization : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs b/src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs index 2e7cdd12..882aec6b 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestImportLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1783866140)] public class TLRequestImportLoginToken : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs b/src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs index bb73b28f..ac189afa 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestLogOut.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1461180992)] public class TLRequestLogOut : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs b/src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs index 0b67bcd4..7db0596c 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestRecoverPassword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1319464594)] public class TLRequestRecoverPassword : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs b/src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs index d4e3da00..b784f6b8 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestRequestPasswordRecovery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-661144474)] public class TLRequestRequestPasswordRecovery : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs index 102984e8..bbab8005 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestResendCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1056025023)] public class TLRequestResendCode : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs b/src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs index d6dfb9ed..6dd5d460 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestResetAuthorizations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1616179942)] public class TLRequestResetAuthorizations : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs b/src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs index 3757e731..62122cab 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestSendCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1502141361)] public class TLRequestSendCode : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs b/src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs index 27d263fa..afd19f2a 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestSignIn.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1126886015)] public class TLRequestSignIn : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs b/src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs index 2836973a..fcea434a 100644 --- a/src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs +++ b/src/TgSharp.TL/TL/Auth/TLRequestSignUp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-2131827673)] public class TLRequestSignUp : TLMethod diff --git a/src/TgSharp.TL/TL/Auth/TLSentCode.cs b/src/TgSharp.TL/TL/Auth/TLSentCode.cs index 5320f4f7..79a5dd31 100644 --- a/src/TgSharp.TL/TL/Auth/TLSentCode.cs +++ b/src/TgSharp.TL/TL/Auth/TLSentCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1577067778)] public class TLSentCode : TLObject diff --git a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs index 0c188e3f..9ea40aeb 100644 --- a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs +++ b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeApp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1035688326)] public class TLSentCodeTypeApp : TLAbsSentCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs index 2d068bab..6a1ea06b 100644 --- a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs +++ b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(1398007207)] public class TLSentCodeTypeCall : TLAbsSentCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs index aac533dd..50516562 100644 --- a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs +++ b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeFlashCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1425815847)] public class TLSentCodeTypeFlashCall : TLAbsSentCodeType diff --git a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs index d7cc63f8..eb092acf 100644 --- a/src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs +++ b/src/TgSharp.TL/TL/Auth/TLSentCodeTypeSms.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Auth +namespace TgSharp.TL.Auth { [TLObject(-1073693790)] public class TLSentCodeTypeSms : TLAbsSentCodeType diff --git a/src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs b/src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs index acc6bc9c..67fa061d 100644 --- a/src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs +++ b/src/TgSharp.TL/TL/Bots/TLRequestAnswerWebhookJSONQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Bots +namespace TgSharp.TL.Bots { [TLObject(-434028723)] public class TLRequestAnswerWebhookJSONQuery : TLMethod diff --git a/src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs b/src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs index f09fdd01..8b86227c 100644 --- a/src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs +++ b/src/TgSharp.TL/TL/Bots/TLRequestSendCustomRequest.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Bots +namespace TgSharp.TL.Bots { [TLObject(-1440257555)] public class TLRequestSendCustomRequest : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs b/src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs index e8011dea..8b5edfa6 100644 --- a/src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs +++ b/src/TgSharp.TL/TL/Channels/TLAbsChannelParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { public abstract class TLAbsChannelParticipants : TLObject { diff --git a/src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs b/src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs index 9b8540ec..3d8eebb3 100644 --- a/src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs +++ b/src/TgSharp.TL/TL/Channels/TLAdminLogResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-309659827)] public class TLAdminLogResults : TLObject diff --git a/src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs index eb5de8a5..8038163c 100644 --- a/src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs +++ b/src/TgSharp.TL/TL/Channels/TLChannelParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-791039645)] public class TLChannelParticipant : TLObject diff --git a/src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs index 34cdc4a1..918033e9 100644 --- a/src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs +++ b/src/TgSharp.TL/TL/Channels/TLChannelParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-177282392)] public class TLChannelParticipants : TLAbsChannelParticipants diff --git a/src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs b/src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs index e195d226..0a7b5b9e 100644 --- a/src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs +++ b/src/TgSharp.TL/TL/Channels/TLChannelParticipantsNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-266911767)] public class TLChannelParticipantsNotModified : TLAbsChannelParticipants diff --git a/src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs b/src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs index 8337e0fb..f7a9e7a1 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestCheckUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(283557164)] public class TLRequestCheckUsername : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs index 7c8c956c..bdf3e6df 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestCreateChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1029681423)] public class TLRequestCreateChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs index adf3dbf8..c98f7c24 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestDeleteChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-1072619549)] public class TLRequestDeleteChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs index 26f79efd..d3db0f75 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestDeleteHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-1355375294)] public class TLRequestDeleteHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs index f57b6518..c8a654eb 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestDeleteMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-2067661490)] public class TLRequestDeleteMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs index a03cf21c..49979ad9 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestDeleteUserHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-787622117)] public class TLRequestDeleteUserHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs index 7cb19ddc..1d351d25 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-751007486)] public class TLRequestEditAdmin : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs index a82e32de..b9798f1d 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditBanned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1920559378)] public class TLRequestEditBanned : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs index ec7eb29d..f67f870c 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditCreator.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-1892102881)] public class TLRequestEditCreator : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs index 7fe2a5b4..e615478f 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1491484525)] public class TLRequestEditLocation : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs index 4c35df51..eec079fd 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-248621111)] public class TLRequestEditPhoto : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs b/src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs index 620c8042..04857086 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestEditTitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1450044624)] public class TLRequestEditTitle : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs b/src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs index 279f95ab..f3776fdf 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestExportMessageLink.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-826838685)] public class TLRequestExportMessageLink : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs index 1479ecc3..deca39fe 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminLog.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(870184064)] public class TLRequestGetAdminLog : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs index 54c9db9b..cf8f6138 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetAdminedPublicChannels.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-122669393)] public class TLRequestGetAdminedPublicChannels : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs index 2d961efb..d425a140 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetChannels.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(176122811)] public class TLRequestGetChannels : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs index 76dd718d..06542e8f 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetFullChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(141781513)] public class TLRequestGetFullChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs index 98d28cd0..5f1d42d3 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetGroupsForDiscussion.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-170208392)] public class TLRequestGetGroupsForDiscussion : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs index 2fd317dc..fe98371e 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetInactiveChannels.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(300429806)] public class TLRequestGetInactiveChannels : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs index 048ca16f..c144eff8 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetLeftChannels.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-2092831552)] public class TLRequestGetLeftChannels : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs index 8ffb7434..73f1ecc7 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-1383294429)] public class TLRequestGetMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs index 97b5bb6e..4dd1a7ee 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1416484774)] public class TLRequestGetParticipant : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs index c7ad29e3..a711224e 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestGetParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(306054633)] public class TLRequestGetParticipants : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs index a1d3baf0..f8cd13a9 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestInviteToChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(429865580)] public class TLRequestInviteToChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs index a213730d..605ebcba 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestJoinChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(615851205)] public class TLRequestJoinChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs b/src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs index efba7c05..5b11e5d5 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestLeaveChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-130635115)] public class TLRequestLeaveChannel : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs b/src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs index 884594ba..2cb04d03 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestReadHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-871347913)] public class TLRequestReadHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs b/src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs index d8cd8074..62c10c3e 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestReadMessageContents.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-357180360)] public class TLRequestReadMessageContents : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs b/src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs index 8bd501cf..4b17a15f 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestReportSpam.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-32999408)] public class TLRequestReportSpam : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs b/src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs index b7148c70..77226535 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestSetDiscussionGroup.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(1079520178)] public class TLRequestSetDiscussionGroup : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs b/src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs index 74a504cf..5bde58d9 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestSetStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-359881479)] public class TLRequestSetStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs b/src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs index fee6bae7..a4904dd7 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestTogglePreHistoryHidden.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-356796084)] public class TLRequestTogglePreHistoryHidden : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs b/src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs index 29c3758b..c75d679f 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestToggleSignatures.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(527021574)] public class TLRequestToggleSignatures : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs b/src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs index 605286a7..42e2ad1f 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestToggleSlowMode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(-304832784)] public class TLRequestToggleSlowMode : TLMethod diff --git a/src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs b/src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs index 29607544..46ef28f6 100644 --- a/src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs +++ b/src/TgSharp.TL/TL/Channels/TLRequestUpdateUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Channels +namespace TgSharp.TL.Channels { [TLObject(890549214)] public class TLRequestUpdateUsername : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs index e219d1d2..06fa79e9 100644 --- a/src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs +++ b/src/TgSharp.TL/TL/Contacts/TLAbsBlocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { public abstract class TLAbsBlocked : TLObject { diff --git a/src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs b/src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs index 66992a9a..10aee0af 100644 --- a/src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLAbsContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { public abstract class TLAbsContacts : TLObject { diff --git a/src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs index f81f084f..4ceb5fd4 100644 --- a/src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs +++ b/src/TgSharp.TL/TL/Contacts/TLAbsTopPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { public abstract class TLAbsTopPeers : TLObject { diff --git a/src/TgSharp.TL/TL/Contacts/TLBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLBlocked.cs index 06c25d35..d71b0710 100644 --- a/src/TgSharp.TL/TL/Contacts/TLBlocked.cs +++ b/src/TgSharp.TL/TL/Contacts/TLBlocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(471043349)] public class TLBlocked : TLAbsBlocked diff --git a/src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs b/src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs index b9f91f33..59c5acb4 100644 --- a/src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs +++ b/src/TgSharp.TL/TL/Contacts/TLBlockedSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-1878523231)] public class TLBlockedSlice : TLAbsBlocked diff --git a/src/TgSharp.TL/TL/Contacts/TLContacts.cs b/src/TgSharp.TL/TL/Contacts/TLContacts.cs index 527ac0fa..7307a4e6 100644 --- a/src/TgSharp.TL/TL/Contacts/TLContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-353862078)] public class TLContacts : TLAbsContacts diff --git a/src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs b/src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs index 93941192..3ffb80be 100644 --- a/src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs +++ b/src/TgSharp.TL/TL/Contacts/TLContactsNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-1219778094)] public class TLContactsNotModified : TLAbsContacts diff --git a/src/TgSharp.TL/TL/Contacts/TLFound.cs b/src/TgSharp.TL/TL/Contacts/TLFound.cs index 2eb210b6..e934c53e 100644 --- a/src/TgSharp.TL/TL/Contacts/TLFound.cs +++ b/src/TgSharp.TL/TL/Contacts/TLFound.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-1290580579)] public class TLFound : TLObject diff --git a/src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs b/src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs index a76f299b..4b3a2122 100644 --- a/src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLImportedContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(2010127419)] public class TLImportedContacts : TLObject diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs b/src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs index ca4fc660..b9bf2478 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestAcceptContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-130964977)] public class TLRequestAcceptContact : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs b/src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs index c2090a93..324e2246 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestAddContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-386636848)] public class TLRequestAddContact : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs b/src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs index a2b4a698..c658a87e 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestBlock.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(858475004)] public class TLRequestBlock : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs index f48faca2..f83c8f5c 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteByPhones.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(269745566)] public class TLRequestDeleteByPhones : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs index 4ce3e2dc..cb68fe92 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestDeleteContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(157945344)] public class TLRequestDeleteContacts : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs index 12eb3483..118e8bd4 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetBlocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-176409329)] public class TLRequestGetBlocked : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs index b1c235a9..1bbb117b 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetContactIDs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(749357634)] public class TLRequestGetContactIDs : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs index 778e100d..37a87052 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-1071414113)] public class TLRequestGetContacts : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs index 7400fae5..5158a919 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetLocated.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(171270230)] public class TLRequestGetLocated : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs index 7b4cb608..caacf1da 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetSaved.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-2098076769)] public class TLRequestGetSaved : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs index c15099b1..1c339183 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetStatuses.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-995929106)] public class TLRequestGetStatuses : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs index 7035cdc5..1a4a33e1 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestGetTopPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-728224331)] public class TLRequestGetTopPeers : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs b/src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs index da4740d3..ff1621f7 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestImportContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(746589157)] public class TLRequestImportContacts : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs index f58c2fcf..4991ce4f 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestResetSaved.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-2020263951)] public class TLRequestResetSaved : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs index 8bcd6980..2250ff01 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestResetTopPeerRating.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(451113900)] public class TLRequestResetTopPeerRating : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs b/src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs index dbe6f60c..957cfb5d 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestResolveUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-113456221)] public class TLRequestResolveUsername : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs b/src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs index ca29841d..08839592 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestSearch.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(301470424)] public class TLRequestSearch : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs index 7ac5a453..b7703822 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestToggleTopPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-2062238246)] public class TLRequestToggleTopPeers : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs b/src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs index ecd669d0..4610d786 100644 --- a/src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs +++ b/src/TgSharp.TL/TL/Contacts/TLRequestUnblock.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-448724803)] public class TLRequestUnblock : TLMethod diff --git a/src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs b/src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs index bd5a473f..9917cedb 100644 --- a/src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs +++ b/src/TgSharp.TL/TL/Contacts/TLResolvedPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(2131196633)] public class TLResolvedPeer : TLObject diff --git a/src/TgSharp.TL/TL/Contacts/TLTopPeers.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeers.cs index ed450dfa..1f0ff984 100644 --- a/src/TgSharp.TL/TL/Contacts/TLTopPeers.cs +++ b/src/TgSharp.TL/TL/Contacts/TLTopPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(1891070632)] public class TLTopPeers : TLAbsTopPeers diff --git a/src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs index c4436e54..b065aa16 100644 --- a/src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs +++ b/src/TgSharp.TL/TL/Contacts/TLTopPeersDisabled.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-1255369827)] public class TLTopPeersDisabled : TLAbsTopPeers diff --git a/src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs b/src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs index b1f597f9..62f7ea94 100644 --- a/src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs +++ b/src/TgSharp.TL/TL/Contacts/TLTopPeersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Contacts +namespace TgSharp.TL.Contacts { [TLObject(-567906571)] public class TLTopPeersNotModified : TLAbsTopPeers diff --git a/src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs b/src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs index 40a75bb7..cf71222a 100644 --- a/src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs +++ b/src/TgSharp.TL/TL/Folders/TLRequestDeleteFolder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Folders +namespace TgSharp.TL.Folders { [TLObject(472471681)] public class TLRequestDeleteFolder : TLMethod diff --git a/src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs b/src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs index 2b9ea4fc..19664ff1 100644 --- a/src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs +++ b/src/TgSharp.TL/TL/Folders/TLRequestEditPeerFolders.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Folders +namespace TgSharp.TL.Folders { [TLObject(1749536939)] public class TLRequestEditPeerFolders : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs index f3b07fbf..f71d9e21 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsAppUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsAppUpdate : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs index 68122138..8ec44b92 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsDeepLinkInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsDeepLinkInfo : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs index c764d2cd..a8251f7b 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsPassportConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsPassportConfig : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAbsProxyData.cs b/src/TgSharp.TL/TL/Help/TLAbsProxyData.cs index e718a6c3..0786b8ab 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsProxyData.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsProxyData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsProxyData : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs index 291c654a..264e6e14 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsTermsOfServiceUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsTermsOfServiceUpdate : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs b/src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs index 4d57550d..1d732c35 100644 --- a/src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLAbsUserInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { public abstract class TLAbsUserInfo : TLObject { diff --git a/src/TgSharp.TL/TL/Help/TLAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLAppUpdate.cs index 21e583a7..66fab9e9 100644 --- a/src/TgSharp.TL/TL/Help/TLAppUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLAppUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(497489295)] public class TLAppUpdate : TLAbsAppUpdate diff --git a/src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs index caf5e193..476abf4e 100644 --- a/src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLDeepLinkInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1783556146)] public class TLDeepLinkInfo : TLAbsDeepLinkInfo diff --git a/src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs b/src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs index fabd3565..56d3ad64 100644 --- a/src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs +++ b/src/TgSharp.TL/TL/Help/TLDeepLinkInfoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1722786150)] public class TLDeepLinkInfoEmpty : TLAbsDeepLinkInfo diff --git a/src/TgSharp.TL/TL/Help/TLInviteText.cs b/src/TgSharp.TL/TL/Help/TLInviteText.cs index cd02d58f..4f6ec099 100644 --- a/src/TgSharp.TL/TL/Help/TLInviteText.cs +++ b/src/TgSharp.TL/TL/Help/TLInviteText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(415997816)] public class TLInviteText : TLObject diff --git a/src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs index 652c7607..73bc000a 100644 --- a/src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLNoAppUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1000708810)] public class TLNoAppUpdate : TLAbsAppUpdate diff --git a/src/TgSharp.TL/TL/Help/TLPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLPassportConfig.cs index 8b9a4b69..bf96e79c 100644 --- a/src/TgSharp.TL/TL/Help/TLPassportConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLPassportConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1600596305)] public class TLPassportConfig : TLAbsPassportConfig diff --git a/src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs b/src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs index 23d64df0..e6a185e8 100644 --- a/src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs +++ b/src/TgSharp.TL/TL/Help/TLPassportConfigNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1078332329)] public class TLPassportConfigNotModified : TLAbsPassportConfig diff --git a/src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs b/src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs index df02e258..91d6f97d 100644 --- a/src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs +++ b/src/TgSharp.TL/TL/Help/TLProxyDataEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-526508104)] public class TLProxyDataEmpty : TLAbsProxyData diff --git a/src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs b/src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs index 70c5b81e..56a8a6c2 100644 --- a/src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs +++ b/src/TgSharp.TL/TL/Help/TLProxyDataPromo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(737668643)] public class TLProxyDataPromo : TLAbsProxyData diff --git a/src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs b/src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs index c8900904..d6447f76 100644 --- a/src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs +++ b/src/TgSharp.TL/TL/Help/TLRecentMeUrls.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(235081943)] public class TLRecentMeUrls : TLObject diff --git a/src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs b/src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs index 4bfa1b39..ca14e0fb 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestAcceptTermsOfService.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-294455398)] public class TLRequestAcceptTermsOfService : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs index 44b5d722..7f9a9290 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestEditUserInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1723407216)] public class TLRequestEditUserInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs index 7b7dce5f..8422a4df 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetAppChangelog.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1877938321)] public class TLRequestGetAppChangelog : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs index 3fa8a1bc..29912d50 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetAppConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1735311088)] public class TLRequestGetAppConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs b/src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs index a2982160..403e007a 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetAppUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1378703997)] public class TLRequestGetAppUpdate : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs index 0745aa05..ff608761 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetCdnConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1375900482)] public class TLRequestGetCdnConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs index 40a4f71d..cf3cd33d 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-990308245)] public class TLRequestGetConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs index aab11292..3e578432 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetDeepLinkInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1072547679)] public class TLRequestGetDeepLinkInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs b/src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs index cddf814a..a8b188f6 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetInviteText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1295590211)] public class TLRequestGetInviteText : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs b/src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs index 9141c40c..bc823ccb 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetNearestDc.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(531836966)] public class TLRequestGetNearestDc : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs b/src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs index c243ba0e..da16b47d 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetPassportConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-966677240)] public class TLRequestGetPassportConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs b/src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs index 01c65e48..fca88868 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetProxyData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1031231713)] public class TLRequestGetProxyData : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs b/src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs index 9c94a1f4..90d3120b 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetRecentMeUrls.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1036054804)] public class TLRequestGetRecentMeUrls : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs b/src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs index 3f1a12c2..f0a7e454 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetSupport.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1663104819)] public class TLRequestGetSupport : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs b/src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs index 0936136d..dfc60d1e 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetSupportName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-748624084)] public class TLRequestGetSupportName : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs index 697f0edb..f624207a 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetTermsOfServiceUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(749019089)] public class TLRequestGetTermsOfServiceUpdate : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs b/src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs index e01732b3..b7e5b0fa 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestGetUserInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(59377875)] public class TLRequestGetUserInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs b/src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs index 56df8083..96334ec5 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestSaveAppLog.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(1862465352)] public class TLRequestSaveAppLog : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs b/src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs index 0da99cab..c3c230d3 100644 --- a/src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs +++ b/src/TgSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-333262899)] public class TLRequestSetBotUpdatesStatus : TLMethod diff --git a/src/TgSharp.TL/TL/Help/TLSupport.cs b/src/TgSharp.TL/TL/Help/TLSupport.cs index 6c1ba7e1..71dfe03b 100644 --- a/src/TgSharp.TL/TL/Help/TLSupport.cs +++ b/src/TgSharp.TL/TL/Help/TLSupport.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(398898678)] public class TLSupport : TLObject diff --git a/src/TgSharp.TL/TL/Help/TLSupportName.cs b/src/TgSharp.TL/TL/Help/TLSupportName.cs index 5b6b8cf6..ca8e97af 100644 --- a/src/TgSharp.TL/TL/Help/TLSupportName.cs +++ b/src/TgSharp.TL/TL/Help/TLSupportName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-1945767479)] public class TLSupportName : TLObject diff --git a/src/TgSharp.TL/TL/Help/TLTermsOfService.cs b/src/TgSharp.TL/TL/Help/TLTermsOfService.cs index 4ec60ede..b4cf6dd4 100644 --- a/src/TgSharp.TL/TL/Help/TLTermsOfService.cs +++ b/src/TgSharp.TL/TL/Help/TLTermsOfService.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(2013922064)] public class TLTermsOfService : TLObject diff --git a/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs index 52a38ba3..e9cd3632 100644 --- a/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs +++ b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(686618977)] public class TLTermsOfServiceUpdate : TLAbsTermsOfServiceUpdate diff --git a/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs index 63eec6ab..0fc85170 100644 --- a/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs +++ b/src/TgSharp.TL/TL/Help/TLTermsOfServiceUpdateEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-483352705)] public class TLTermsOfServiceUpdateEmpty : TLAbsTermsOfServiceUpdate diff --git a/src/TgSharp.TL/TL/Help/TLUserInfo.cs b/src/TgSharp.TL/TL/Help/TLUserInfo.cs index a3811eb9..6b28662b 100644 --- a/src/TgSharp.TL/TL/Help/TLUserInfo.cs +++ b/src/TgSharp.TL/TL/Help/TLUserInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(32192344)] public class TLUserInfo : TLAbsUserInfo diff --git a/src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs b/src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs index 30e1b85a..855f77ee 100644 --- a/src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs +++ b/src/TgSharp.TL/TL/Help/TLUserInfoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Help +namespace TgSharp.TL.Help { [TLObject(-206688531)] public class TLUserInfoEmpty : TLAbsUserInfo diff --git a/src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs index e2b918dd..8ba10741 100644 --- a/src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs +++ b/src/TgSharp.TL/TL/Langpack/TLRequestGetDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Langpack +namespace TgSharp.TL.Langpack { [TLObject(-845657435)] public class TLRequestGetDifference : TLMethod diff --git a/src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs index 1e10f82d..b901a7c2 100644 --- a/src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs +++ b/src/TgSharp.TL/TL/Langpack/TLRequestGetLangPack.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Langpack +namespace TgSharp.TL.Langpack { [TLObject(-219008246)] public class TLRequestGetLangPack : TLMethod diff --git a/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs index e515c9df..d52326d9 100644 --- a/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs +++ b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Langpack +namespace TgSharp.TL.Langpack { [TLObject(1784243458)] public class TLRequestGetLanguage : TLMethod diff --git a/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs index 293b51a3..f491094d 100644 --- a/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs +++ b/src/TgSharp.TL/TL/Langpack/TLRequestGetLanguages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Langpack +namespace TgSharp.TL.Langpack { [TLObject(1120311183)] public class TLRequestGetLanguages : TLMethod diff --git a/src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs b/src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs index a0c67977..b7089a5d 100644 --- a/src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs +++ b/src/TgSharp.TL/TL/Langpack/TLRequestGetStrings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Langpack +namespace TgSharp.TL.Langpack { [TLObject(-269862909)] public class TLRequestGetStrings : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs index 47d0995a..493f0169 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsAllStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsAllStickers : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsChats.cs b/src/TgSharp.TL/TL/Messages/TLAbsChats.cs index 41479478..6830cb0d 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsChats : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs index 60cac5cd..683f03a8 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsDhConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsDhConfig : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs b/src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs index 1d4603fa..e0afb913 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsDialogs : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs index 6571f075..5fd42e22 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsFavedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsFavedStickers : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs index 2faee3f1..a14bf240 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsFeaturedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsFeaturedStickers : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs index dcb48886..d848e337 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsFoundStickerSets.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsFoundStickerSets : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsMessages.cs b/src/TgSharp.TL/TL/Messages/TLAbsMessages.cs index 6dff4fcb..ac96d49e 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsMessages : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs index f7d38ff4..e9cf522b 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsRecentStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsRecentStickers : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs index c6ebc7e8..89303530 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsSavedGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsSavedGifs : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs b/src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs index bf7c4360..13919ef6 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsSentEncryptedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsSentEncryptedMessage : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs b/src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs index bee9edcc..9e0b5dd0 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsStickerSetInstallResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsStickerSetInstallResult : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAbsStickers.cs b/src/TgSharp.TL/TL/Messages/TLAbsStickers.cs index 37a6f6cd..49f00ca1 100644 --- a/src/TgSharp.TL/TL/Messages/TLAbsStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAbsStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { public abstract class TLAbsStickers : TLObject { diff --git a/src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs b/src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs index 8500b154..855424ac 100644 --- a/src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLAffectedHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1269012015)] public class TLAffectedHistory : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs b/src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs index 545687e2..78925a15 100644 --- a/src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLAffectedMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2066640507)] public class TLAffectedMessages : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLAllStickers.cs index b4a12d71..d4472a17 100644 --- a/src/TgSharp.TL/TL/Messages/TLAllStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLAllStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-302170017)] public class TLAllStickers : TLAbsAllStickers diff --git a/src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs index 5cc65f30..01a15a8c 100644 --- a/src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLAllStickersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-395967805)] public class TLAllStickersNotModified : TLAbsAllStickers diff --git a/src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs b/src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs index cbec90a5..28acb165 100644 --- a/src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLArchivedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1338747336)] public class TLArchivedStickers : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs index 23e4a106..85c3fc44 100644 --- a/src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs +++ b/src/TgSharp.TL/TL/Messages/TLBotCallbackAnswer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(911761060)] public class TLBotCallbackAnswer : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLBotResults.cs b/src/TgSharp.TL/TL/Messages/TLBotResults.cs index 24047dfa..3b28b4bb 100644 --- a/src/TgSharp.TL/TL/Messages/TLBotResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLBotResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1803769784)] public class TLBotResults : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLChannelMessages.cs b/src/TgSharp.TL/TL/Messages/TLChannelMessages.cs index 10dd9851..fb7bdb84 100644 --- a/src/TgSharp.TL/TL/Messages/TLChannelMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLChannelMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1725551049)] public class TLChannelMessages : TLAbsMessages diff --git a/src/TgSharp.TL/TL/Messages/TLChatFull.cs b/src/TgSharp.TL/TL/Messages/TLChatFull.cs index a5f2e47d..0ec0c374 100644 --- a/src/TgSharp.TL/TL/Messages/TLChatFull.cs +++ b/src/TgSharp.TL/TL/Messages/TLChatFull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-438840932)] public class TLChatFull : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLChats.cs b/src/TgSharp.TL/TL/Messages/TLChats.cs index 9007cad5..c6f465c0 100644 --- a/src/TgSharp.TL/TL/Messages/TLChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1694474197)] public class TLChats : TLAbsChats diff --git a/src/TgSharp.TL/TL/Messages/TLChatsSlice.cs b/src/TgSharp.TL/TL/Messages/TLChatsSlice.cs index e834eb7f..d5faf55f 100644 --- a/src/TgSharp.TL/TL/Messages/TLChatsSlice.cs +++ b/src/TgSharp.TL/TL/Messages/TLChatsSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1663561404)] public class TLChatsSlice : TLAbsChats diff --git a/src/TgSharp.TL/TL/Messages/TLDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLDhConfig.cs index 943fc9cf..4b16eea2 100644 --- a/src/TgSharp.TL/TL/Messages/TLDhConfig.cs +++ b/src/TgSharp.TL/TL/Messages/TLDhConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(740433629)] public class TLDhConfig : TLAbsDhConfig diff --git a/src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs b/src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs index f14a4be6..a4164d08 100644 --- a/src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLDhConfigNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1058912715)] public class TLDhConfigNotModified : TLAbsDhConfig diff --git a/src/TgSharp.TL/TL/Messages/TLDialogs.cs b/src/TgSharp.TL/TL/Messages/TLDialogs.cs index 9b86067b..eedeff07 100644 --- a/src/TgSharp.TL/TL/Messages/TLDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(364538944)] public class TLDialogs : TLAbsDialogs diff --git a/src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs index ae377d4d..4c508aa5 100644 --- a/src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLDialogsNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-253500010)] public class TLDialogsNotModified : TLAbsDialogs diff --git a/src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs b/src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs index 7b708414..3630674f 100644 --- a/src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs +++ b/src/TgSharp.TL/TL/Messages/TLDialogsSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1910543603)] public class TLDialogsSlice : TLAbsDialogs diff --git a/src/TgSharp.TL/TL/Messages/TLFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLFavedStickers.cs index 834dfcb1..2919889b 100644 --- a/src/TgSharp.TL/TL/Messages/TLFavedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLFavedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-209768682)] public class TLFavedStickers : TLAbsFavedStickers diff --git a/src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs index 90208a07..4ee77f9d 100644 --- a/src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLFavedStickersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1634752813)] public class TLFavedStickersNotModified : TLAbsFavedStickers diff --git a/src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs index 0a661266..1000b2ac 100644 --- a/src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLFeaturedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-123893531)] public class TLFeaturedStickers : TLAbsFeaturedStickers diff --git a/src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs index dd971f8a..a8bd73c0 100644 --- a/src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLFeaturedStickersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(82699215)] public class TLFeaturedStickersNotModified : TLAbsFeaturedStickers diff --git a/src/TgSharp.TL/TL/Messages/TLFoundGifs.cs b/src/TgSharp.TL/TL/Messages/TLFoundGifs.cs index 55287755..53b0f8bb 100644 --- a/src/TgSharp.TL/TL/Messages/TLFoundGifs.cs +++ b/src/TgSharp.TL/TL/Messages/TLFoundGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1158290442)] public class TLFoundGifs : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs index 019c2eb2..793f8656 100644 --- a/src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs +++ b/src/TgSharp.TL/TL/Messages/TLFoundStickerSets.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1359533640)] public class TLFoundStickerSets : TLAbsFoundStickerSets diff --git a/src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs index 64855c14..09fa186b 100644 --- a/src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLFoundStickerSetsNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(223655517)] public class TLFoundStickerSetsNotModified : TLAbsFoundStickerSets diff --git a/src/TgSharp.TL/TL/Messages/TLHighScores.cs b/src/TgSharp.TL/TL/Messages/TLHighScores.cs index b1496aee..8e50b165 100644 --- a/src/TgSharp.TL/TL/Messages/TLHighScores.cs +++ b/src/TgSharp.TL/TL/Messages/TLHighScores.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1707344487)] public class TLHighScores : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLInactiveChats.cs b/src/TgSharp.TL/TL/Messages/TLInactiveChats.cs index f0d77776..beb84eac 100644 --- a/src/TgSharp.TL/TL/Messages/TLInactiveChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLInactiveChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1456996667)] public class TLInactiveChats : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLMessageEditData.cs b/src/TgSharp.TL/TL/Messages/TLMessageEditData.cs index a305d038..14840382 100644 --- a/src/TgSharp.TL/TL/Messages/TLMessageEditData.cs +++ b/src/TgSharp.TL/TL/Messages/TLMessageEditData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(649453030)] public class TLMessageEditData : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLMessages.cs b/src/TgSharp.TL/TL/Messages/TLMessages.cs index ba03c9d7..65b340c4 100644 --- a/src/TgSharp.TL/TL/Messages/TLMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1938715001)] public class TLMessages : TLAbsMessages diff --git a/src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs b/src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs index 6901a5f9..b1c22675 100644 --- a/src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLMessagesNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1951620897)] public class TLMessagesNotModified : TLAbsMessages diff --git a/src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs b/src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs index dfffd631..1dc32727 100644 --- a/src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs +++ b/src/TgSharp.TL/TL/Messages/TLMessagesSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-923939298)] public class TLMessagesSlice : TLAbsMessages diff --git a/src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs b/src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs index 1e91548c..1d3683b0 100644 --- a/src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLPeerDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(863093588)] public class TLPeerDialogs : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRecentStickers.cs index 9b0a6b21..723fd483 100644 --- a/src/TgSharp.TL/TL/Messages/TLRecentStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRecentStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(586395571)] public class TLRecentStickers : TLAbsRecentStickers diff --git a/src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs index fd11c0a5..beff3597 100644 --- a/src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLRecentStickersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(186120336)] public class TLRecentStickersNotModified : TLAbsRecentStickers diff --git a/src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs index 24e8b89c..70ab1847 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestAcceptEncryption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1035731989)] public class TLRequestAcceptEncryption : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs b/src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs index db12cd75..bd93a2c6 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestAcceptUrlAuth.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-148247912)] public class TLRequestAcceptUrlAuth : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs b/src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs index 260e05d8..0ce1ce84 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestAddChatUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-106911223)] public class TLRequestAddChatUser : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs index 77f16009..390851d6 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestCheckChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1051570619)] public class TLRequestCheckChatInvite : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs b/src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs index 8391fe0a..668f8605 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestClearAllDrafts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(2119757468)] public class TLRequestClearAllDrafts : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs index 4a32768c..0bf1fb90 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestClearRecentStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1986437075)] public class TLRequestClearRecentStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs index c6107b83..6e11f848 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestCreateChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(164303470)] public class TLRequestCreateChat : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs index ae5b95cb..e5c03c9b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestDeleteChatUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-530505962)] public class TLRequestDeleteChatUser : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs index 857c0efd..930d521d 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestDeleteHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(469850889)] public class TLRequestDeleteHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs index b140d1ff..bfa6b505 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestDeleteMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-443640366)] public class TLRequestDeleteMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs index 02ff87b1..3486c1c6 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestDeleteScheduledMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1504586518)] public class TLRequestDeleteScheduledMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs index e6412989..16454222 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestDiscardEncryption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-304536635)] public class TLRequestDiscardEncryption : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs index ef3d52e0..4981fdff 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAbout.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-554301545)] public class TLRequestEditChatAbout : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs index d18a3076..87cdfae9 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditChatAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1444503762)] public class TLRequestEditChatAdmin : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs index 3b2428ce..8505f1a4 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditChatDefaultBannedRights.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1517917375)] public class TLRequestEditChatDefaultBannedRights : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs index 423c5660..8d73ee86 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditChatPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-900957736)] public class TLRequestEditChatPhoto : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs index 53a6eb29..782ae2ef 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditChatTitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-599447467)] public class TLRequestEditChatTitle : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs index 814d71e4..1c5e1247 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditInlineBotMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2091549254)] public class TLRequestEditInlineBotMessage : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs index 175b71c3..3f29f4f7 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestEditMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1224152952)] public class TLRequestEditMessage : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs index ac619510..c0bc79f1 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestExportChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(234312524)] public class TLRequestExportChatInvite : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs b/src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs index db10af27..90d307e7 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestFaveSticker.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1174420133)] public class TLRequestFaveSticker : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs index 8b84603d..35badd6c 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestForwardMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-637606386)] public class TLRequestForwardMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs index 2551e4cb..ea9cf548 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetAllChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-341307408)] public class TLRequestGetAllChats : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs index d2bc5da9..16c17cb8 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetAllDrafts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1782549861)] public class TLRequestGetAllDrafts : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs index 5976f8cf..6666da03 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetAllStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(479598769)] public class TLRequestGetAllStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs index 32fcbe4b..23503ac9 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetArchivedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1475442322)] public class TLRequestGetArchivedStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs index 2e097c77..c9db37ca 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetAttachedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-866424884)] public class TLRequestGetAttachedStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs index 7fc33d87..da3aaf76 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetBotCallbackAnswer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2130010132)] public class TLRequestGetBotCallbackAnswer : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs index bf413b9c..68a9532b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1013621127)] public class TLRequestGetChats : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs index 121776c7..8b9196e6 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetCommonChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(218777796)] public class TLRequestGetCommonChats : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs index 77e82b4f..914aad99 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetDhConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(651135312)] public class TLRequestGetDhConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs index 867bd117..197eed6b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogUnreadMarks.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(585256482)] public class TLRequestGetDialogUnreadMarks : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs index d9f6e485..02e2b60e 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1594999949)] public class TLRequestGetDialogs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs index 09a58f88..59e8ce11 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetDocumentByHash.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(864953444)] public class TLRequestGetDocumentByHash : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs index b6178d2b..b75e4459 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywords.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(899735650)] public class TLRequestGetEmojiKeywords : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs index 2c5f17b1..0be300d2 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(352892591)] public class TLRequestGetEmojiKeywordsDifference : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs index fdcfd0fe..f1b59be3 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiKeywordsLanguages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1318675378)] public class TLRequestGetEmojiKeywordsLanguages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs index f59013f8..a38b2228 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetEmojiURL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-709817306)] public class TLRequestGetEmojiURL : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs index eee056ad..28b19fe0 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetFavedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(567151374)] public class TLRequestGetFavedStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs index 32ee763d..0cdbb08b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetFeaturedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(766298703)] public class TLRequestGetFeaturedStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs index 33598f77..4779b7be 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetFullChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(998448230)] public class TLRequestGetFullChat : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs index f4f72c23..03570488 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetGameHighScores.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-400399203)] public class TLRequestGetGameHighScores : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs index 3ef09156..7dcc92f9 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-591691168)] public class TLRequestGetHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs index 4239c94e..47d001f9 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineBotResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1364105629)] public class TLRequestGetInlineBotResults : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs index 9ed0e439..74a1f48d 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetInlineGameHighScores.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(258170395)] public class TLRequestGetInlineGameHighScores : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs index e611d2de..48162bd2 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetMaskStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1706608543)] public class TLRequestGetMaskStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs index 1ec1b00e..ad9d0787 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetMessageEditData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-39416522)] public class TLRequestGetMessageEditData : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs index a2771f32..579b2e51 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1673946374)] public class TLRequestGetMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs index eb28bf2b..0ef744a8 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetMessagesViews.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-993483427)] public class TLRequestGetMessagesViews : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs index 0d7e53f7..04f4b064 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetOnlines.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1848369232)] public class TLRequestGetOnlines : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs index 4f757214..6c6e887c 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-462373635)] public class TLRequestGetPeerDialogs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs index 1c60f22b..413ef6fc 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetPeerSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(913498268)] public class TLRequestGetPeerSettings : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs index f48f5e45..d4cb1b17 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetPinnedDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-692498958)] public class TLRequestGetPinnedDialogs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs index dbe0d38f..a651cb6f 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetPollResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1941660731)] public class TLRequestGetPollResults : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs index 575edccd..0f47a486 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentLocations.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1144759543)] public class TLRequestGetRecentLocations : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs index a5c0c3ad..93b09d12 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetRecentStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1587647177)] public class TLRequestGetRecentStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs index cedee0e1..5e815e76 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetSavedGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2084618926)] public class TLRequestGetSavedGifs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs index 8075327a..d5683443 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-490575781)] public class TLRequestGetScheduledHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs index e5c5c45c..f81a56ea 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetScheduledMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1111817116)] public class TLRequestGetScheduledMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs index 349feb42..582586bd 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetSearchCounters.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1932455680)] public class TLRequestGetSearchCounters : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs index 097b577e..428c3edd 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetSplitRanges.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(486505992)] public class TLRequestGetSplitRanges : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs index 3f565a92..6a8ff8b1 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetStatsURL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2127811866)] public class TLRequestGetStatsURL : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs index 9a2ace34..696727f3 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(639215886)] public class TLRequestGetStickerSet : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs index 738cfa75..540a4688 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(71126828)] public class TLRequestGetStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs index f6b0eeb4..92e06b64 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetUnreadMentions.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1180140658)] public class TLRequestGetUnreadMentions : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs index 61021231..f29e70f2 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(852135825)] public class TLRequestGetWebPage : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs index 1a44a66e..35fb43d7 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestGetWebPagePreview.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1956073268)] public class TLRequestGetWebPagePreview : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs b/src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs index 8fdea58b..391a10cd 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestHidePeerSettingsBar.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1336717624)] public class TLRequestHidePeerSettingsBar : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs b/src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs index 31e1352e..e32bc7dd 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestImportChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1817183516)] public class TLRequestImportChatInvite : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs index cbe0bd32..9e74c395 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestInstallStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-946871200)] public class TLRequestInstallStickerSet : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs b/src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs index 79ed4cee..f4c5b28d 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestMarkDialogUnread.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1031349873)] public class TLRequestMarkDialogUnread : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs b/src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs index 3e5a3488..2ff517ce 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestMigrateChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(363051235)] public class TLRequestMigrateChat : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs index 9c41d0e9..925142f7 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReadEncryptedHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(2135648522)] public class TLRequestReadEncryptedHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs index ddeadcf4..3723078a 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReadFeaturedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1527873830)] public class TLRequestReadFeaturedStickers : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs index 4ef9c75f..1b14ab90 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReadHistory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(238054714)] public class TLRequestReadHistory : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs index 452d996c..38f02eb1 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReadMentions.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(251759059)] public class TLRequestReadMentions : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs b/src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs index d9c8b59d..5ae18a33 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReadMessageContents.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(916930423)] public class TLRequestReadMessageContents : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs index 53d1ddbb..6b7efd7d 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReceivedMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(94983360)] public class TLRequestReceivedMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs b/src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs index 81557298..b77f1e99 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReceivedQueue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1436924774)] public class TLRequestReceivedQueue : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs b/src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs index cff7cfc6..c311103b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReorderPinnedDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(991616823)] public class TLRequestReorderPinnedDialogs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs index a3b5d075..29019e35 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReorderStickerSets.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(2016638777)] public class TLRequestReorderStickerSets : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReport.cs b/src/TgSharp.TL/TL/Messages/TLRequestReport.cs index 7814bbbd..7f03e0af 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReport.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReport.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1115507112)] public class TLRequestReport : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs b/src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs index de5e9d96..ee4cce49 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReportEncryptedSpam.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1259113487)] public class TLRequestReportEncryptedSpam : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs b/src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs index 3c50f7f7..20ce9e58 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestReportSpam.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-820669733)] public class TLRequestReportSpam : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs b/src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs index 81116a47..1d1b705d 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestRequestEncryption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-162681021)] public class TLRequestRequestEncryption : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs b/src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs index c8c74770..922808b3 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestRequestUrlAuth.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-482388461)] public class TLRequestRequestUrlAuth : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs index 224875b1..2a9b5736 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSaveDraft.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1137057461)] public class TLRequestSaveDraft : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs index 7874e0b5..a404026a 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSaveGif.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(846868683)] public class TLRequestSaveGif : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs b/src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs index fdf17dc2..d47cd2e0 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSaveRecentSticker.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(958863608)] public class TLRequestSaveRecentSticker : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSearch.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearch.cs index f3640161..547470ee 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSearch.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSearch.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-2045448344)] public class TLRequestSearch : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs index 96fd0803..04cc95c5 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSearchGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1080395925)] public class TLRequestSearchGifs : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs index e10054b3..1623f03a 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSearchGlobal.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1083038300)] public class TLRequestSearchGlobal : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs b/src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs index 6268645d..148db00c 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSearchStickerSets.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1028140917)] public class TLRequestSearchStickerSets : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs index fccb7dce..192b2aab 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendEncrypted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1451792525)] public class TLRequestSendEncrypted : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs index ac063994..00af6976 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1701831834)] public class TLRequestSendEncryptedFile : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs index a1ed751e..3b951da9 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendEncryptedService.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(852769188)] public class TLRequestSendEncryptedService : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs index 77b17305..56161650 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendInlineBotResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(570955184)] public class TLRequestSendInlineBotResult : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs index 250d48b9..a80b625f 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(881978281)] public class TLRequestSendMedia : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs index 6c9e6400..33a240ab 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1376532592)] public class TLRequestSendMessage : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs index 49ccbcbf..caa1d13e 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendMultiMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-872345397)] public class TLRequestSendMultiMedia : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs index f29caa2e..f497dee8 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendScheduledMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1120369398)] public class TLRequestSendScheduledMessages : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs index 0538e668..f9c66533 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendScreenshotNotification.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-914493408)] public class TLRequestSendScreenshotNotification : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs b/src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs index 274959a2..d047cf56 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSendVote.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(283795844)] public class TLRequestSendVote : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs index 6de00bed..44674177 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetBotCallbackAnswer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-712043766)] public class TLRequestSetBotCallbackAnswer : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs index ed38d939..2f8b1614 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetBotPrecheckoutResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(163765653)] public class TLRequestSetBotPrecheckoutResults : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs index 732d259d..32eab78e 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetBotShippingResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-436833542)] public class TLRequestSetBotShippingResults : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs index 6ff2d7e9..837a2219 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetEncryptedTyping.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(2031374829)] public class TLRequestSetEncryptedTyping : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs index b3574f66..57e91ede 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetGameScore.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1896289088)] public class TLRequestSetGameScore : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs index 72b2c6a5..b734998f 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineBotResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-346119674)] public class TLRequestSetInlineBotResults : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs index 9bd7dfed..2e4de962 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetInlineGameScore.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(363700068)] public class TLRequestSetInlineGameScore : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs b/src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs index 6714204d..52b76824 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestSetTyping.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1551737264)] public class TLRequestSetTyping : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs b/src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs index c9e2508a..0649a09b 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestStartBot.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-421563528)] public class TLRequestStartBot : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs b/src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs index 4d4edb69..304084d1 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestToggleDialogPin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1489903017)] public class TLRequestToggleDialogPin : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs index 7a21f566..a121627e 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestUninstallStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-110209570)] public class TLRequestUninstallStickerSet : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs b/src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs index 31c75db5..7766dc1a 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestUpdatePinnedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-760547348)] public class TLRequestUpdatePinnedMessage : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs index 10638b8d..91220cb8 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestUploadEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1347929239)] public class TLRequestUploadEncryptedFile : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs b/src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs index da2c1c5f..27e84ca2 100644 --- a/src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs +++ b/src/TgSharp.TL/TL/Messages/TLRequestUploadMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1369162417)] public class TLRequestUploadMedia : TLMethod diff --git a/src/TgSharp.TL/TL/Messages/TLSavedGifs.cs b/src/TgSharp.TL/TL/Messages/TLSavedGifs.cs index 1a268b72..8aa097fd 100644 --- a/src/TgSharp.TL/TL/Messages/TLSavedGifs.cs +++ b/src/TgSharp.TL/TL/Messages/TLSavedGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(772213157)] public class TLSavedGifs : TLAbsSavedGifs diff --git a/src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs b/src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs index 8cf08f4e..2243cc8d 100644 --- a/src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLSavedGifsNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-402498398)] public class TLSavedGifsNotModified : TLAbsSavedGifs diff --git a/src/TgSharp.TL/TL/Messages/TLSearchCounter.cs b/src/TgSharp.TL/TL/Messages/TLSearchCounter.cs index 6395bc8f..8c964635 100644 --- a/src/TgSharp.TL/TL/Messages/TLSearchCounter.cs +++ b/src/TgSharp.TL/TL/Messages/TLSearchCounter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-398136321)] public class TLSearchCounter : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs b/src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs index e38d88ec..d1065769 100644 --- a/src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs +++ b/src/TgSharp.TL/TL/Messages/TLSentEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1802240206)] public class TLSentEncryptedFile : TLAbsSentEncryptedMessage diff --git a/src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs b/src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs index dd52ad30..9b529cd5 100644 --- a/src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs +++ b/src/TgSharp.TL/TL/Messages/TLSentEncryptedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(1443858741)] public class TLSentEncryptedMessage : TLAbsSentEncryptedMessage diff --git a/src/TgSharp.TL/TL/Messages/TLStickerSet.cs b/src/TgSharp.TL/TL/Messages/TLStickerSet.cs index 982940e9..04be2d10 100644 --- a/src/TgSharp.TL/TL/Messages/TLStickerSet.cs +++ b/src/TgSharp.TL/TL/Messages/TLStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-1240849242)] public class TLStickerSet : TLObject diff --git a/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs index b5a927f0..95f440e8 100644 --- a/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs +++ b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultArchive.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(904138920)] public class TLStickerSetInstallResultArchive : TLAbsStickerSetInstallResult diff --git a/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs index 1f09d4fd..8dff22fe 100644 --- a/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs +++ b/src/TgSharp.TL/TL/Messages/TLStickerSetInstallResultSuccess.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(946083368)] public class TLStickerSetInstallResultSuccess : TLAbsStickerSetInstallResult diff --git a/src/TgSharp.TL/TL/Messages/TLStickers.cs b/src/TgSharp.TL/TL/Messages/TLStickers.cs index 2379d17d..c3f47f43 100644 --- a/src/TgSharp.TL/TL/Messages/TLStickers.cs +++ b/src/TgSharp.TL/TL/Messages/TLStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-463889475)] public class TLStickers : TLAbsStickers diff --git a/src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs b/src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs index cd863136..7e3a2fde 100644 --- a/src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs +++ b/src/TgSharp.TL/TL/Messages/TLStickersNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Messages +namespace TgSharp.TL.Messages { [TLObject(-244016606)] public class TLStickersNotModified : TLAbsStickers diff --git a/src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs b/src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs index 4065218c..7d906acf 100644 --- a/src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs +++ b/src/TgSharp.TL/TL/Payments/TLAbsPaymentResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { public abstract class TLAbsPaymentResult : TLObject { diff --git a/src/TgSharp.TL/TL/Payments/TLPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLPaymentForm.cs index 75da9dd5..6a8837ec 100644 --- a/src/TgSharp.TL/TL/Payments/TLPaymentForm.cs +++ b/src/TgSharp.TL/TL/Payments/TLPaymentForm.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(1062645411)] public class TLPaymentForm : TLObject diff --git a/src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs b/src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs index e25ee869..d88bd5fe 100644 --- a/src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs +++ b/src/TgSharp.TL/TL/Payments/TLPaymentReceipt.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(1342771681)] public class TLPaymentReceipt : TLObject diff --git a/src/TgSharp.TL/TL/Payments/TLPaymentResult.cs b/src/TgSharp.TL/TL/Payments/TLPaymentResult.cs index 76a7ffd7..985150a6 100644 --- a/src/TgSharp.TL/TL/Payments/TLPaymentResult.cs +++ b/src/TgSharp.TL/TL/Payments/TLPaymentResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(1314881805)] public class TLPaymentResult : TLAbsPaymentResult diff --git a/src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs b/src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs index 324fe7b3..9049bd93 100644 --- a/src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs +++ b/src/TgSharp.TL/TL/Payments/TLPaymentVerificationNeeded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-666824391)] public class TLPaymentVerificationNeeded : TLAbsPaymentResult diff --git a/src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs index 1010ae71..67530511 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestClearSavedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-667062079)] public class TLRequestClearSavedInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs index 79d8e445..082d4e98 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentForm.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-1712285883)] public class TLRequestGetPaymentForm : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs index 3deb7fd6..d7ab0dff 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestGetPaymentReceipt.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-1601001088)] public class TLRequestGetPaymentReceipt : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs index 5814388b..befca7f4 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestGetSavedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(578650699)] public class TLRequestGetSavedInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs b/src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs index 7d843ec8..5fb17597 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestSendPaymentForm.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(730364339)] public class TLRequestSendPaymentForm : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs b/src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs index 3df3e528..32788664 100644 --- a/src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs +++ b/src/TgSharp.TL/TL/Payments/TLRequestValidateRequestedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(1997180532)] public class TLRequestValidateRequestedInfo : TLMethod diff --git a/src/TgSharp.TL/TL/Payments/TLSavedInfo.cs b/src/TgSharp.TL/TL/Payments/TLSavedInfo.cs index 59f6f862..9fd8f02f 100644 --- a/src/TgSharp.TL/TL/Payments/TLSavedInfo.cs +++ b/src/TgSharp.TL/TL/Payments/TLSavedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-74456004)] public class TLSavedInfo : TLObject diff --git a/src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs b/src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs index bd92ed91..81a451b9 100644 --- a/src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs +++ b/src/TgSharp.TL/TL/Payments/TLValidatedRequestedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Payments +namespace TgSharp.TL.Payments { [TLObject(-784000893)] public class TLValidatedRequestedInfo : TLObject diff --git a/src/TgSharp.TL/TL/Phone/TLPhoneCall.cs b/src/TgSharp.TL/TL/Phone/TLPhoneCall.cs index 5a5d82c9..0ec974fe 100644 --- a/src/TgSharp.TL/TL/Phone/TLPhoneCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(-326966976)] public class TLPhoneCall : TLObject diff --git a/src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs index c2234ee0..c16ef648 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestAcceptCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(1003664544)] public class TLRequestAcceptCall : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs index 159de39d..030c3b69 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestConfirmCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(788404002)] public class TLRequestConfirmCall : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs index 09d183d9..d32947a5 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestDiscardCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(-1295269440)] public class TLRequestDiscardCall : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs b/src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs index 0db8b4ec..2d08c705 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestGetCallConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(1430593449)] public class TLRequestGetCallConfig : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs index 5d86cd77..ffdbec3d 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestReceivedCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(399855457)] public class TLRequestReceivedCall : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs b/src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs index 259650d4..192abd5e 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestRequestCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(1124046573)] public class TLRequestRequestCall : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs b/src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs index 33474fce..34775557 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestSaveCallDebug.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(662363518)] public class TLRequestSaveCallDebug : TLMethod diff --git a/src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs b/src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs index 300e183e..56b08760 100644 --- a/src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs +++ b/src/TgSharp.TL/TL/Phone/TLRequestSetCallRating.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Phone +namespace TgSharp.TL.Phone { [TLObject(1508562471)] public class TLRequestSetCallRating : TLMethod diff --git a/src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs b/src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs index 32715ff5..a7d43dd8 100644 --- a/src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs +++ b/src/TgSharp.TL/TL/Photos/TLAbsPhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { public abstract class TLAbsPhotos : TLObject { diff --git a/src/TgSharp.TL/TL/Photos/TLPhoto.cs b/src/TgSharp.TL/TL/Photos/TLPhoto.cs index 3aa092ef..8fed041c 100644 --- a/src/TgSharp.TL/TL/Photos/TLPhoto.cs +++ b/src/TgSharp.TL/TL/Photos/TLPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(539045032)] public class TLPhoto : TLObject diff --git a/src/TgSharp.TL/TL/Photos/TLPhotos.cs b/src/TgSharp.TL/TL/Photos/TLPhotos.cs index 09ac8869..57ba3457 100644 --- a/src/TgSharp.TL/TL/Photos/TLPhotos.cs +++ b/src/TgSharp.TL/TL/Photos/TLPhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(-1916114267)] public class TLPhotos : TLAbsPhotos diff --git a/src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs b/src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs index 06bea8ed..23f98e1f 100644 --- a/src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs +++ b/src/TgSharp.TL/TL/Photos/TLPhotosSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(352657236)] public class TLPhotosSlice : TLAbsPhotos diff --git a/src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs b/src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs index e49f63fe..151cab3a 100644 --- a/src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs +++ b/src/TgSharp.TL/TL/Photos/TLRequestDeletePhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(-2016444625)] public class TLRequestDeletePhotos : TLMethod diff --git a/src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs b/src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs index 7b30322e..4112ef72 100644 --- a/src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs +++ b/src/TgSharp.TL/TL/Photos/TLRequestGetUserPhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(-1848823128)] public class TLRequestGetUserPhotos : TLMethod diff --git a/src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs b/src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs index 17ee9324..6e02e34a 100644 --- a/src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs +++ b/src/TgSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(-256159406)] public class TLRequestUpdateProfilePhoto : TLMethod diff --git a/src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs b/src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs index 9972864b..189b3fa3 100644 --- a/src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs +++ b/src/TgSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Photos +namespace TgSharp.TL.Photos { [TLObject(1328726168)] public class TLRequestUploadProfilePhoto : TLMethod diff --git a/src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs index ac2a4212..c2f7b82a 100644 --- a/src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs +++ b/src/TgSharp.TL/TL/Stickers/TLRequestAddStickerToSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Stickers +namespace TgSharp.TL.Stickers { [TLObject(-2041315650)] public class TLRequestAddStickerToSet : TLMethod diff --git a/src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs b/src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs index e086a8f4..3640355d 100644 --- a/src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs +++ b/src/TgSharp.TL/TL/Stickers/TLRequestChangeStickerPosition.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Stickers +namespace TgSharp.TL.Stickers { [TLObject(-4795190)] public class TLRequestChangeStickerPosition : TLMethod diff --git a/src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs index b35a578e..3132ef50 100644 --- a/src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs +++ b/src/TgSharp.TL/TL/Stickers/TLRequestCreateStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Stickers +namespace TgSharp.TL.Stickers { [TLObject(-1680314774)] public class TLRequestCreateStickerSet : TLMethod diff --git a/src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs b/src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs index 0656250b..a2736c24 100644 --- a/src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs +++ b/src/TgSharp.TL/TL/Stickers/TLRequestRemoveStickerFromSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Stickers +namespace TgSharp.TL.Stickers { [TLObject(-143257775)] public class TLRequestRemoveStickerFromSet : TLMethod diff --git a/src/TgSharp.TL/TL/Storage/TLAbsFileType.cs b/src/TgSharp.TL/TL/Storage/TLAbsFileType.cs index a4101b80..11a4924e 100644 --- a/src/TgSharp.TL/TL/Storage/TLAbsFileType.cs +++ b/src/TgSharp.TL/TL/Storage/TLAbsFileType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { public abstract class TLAbsFileType : TLObject { diff --git a/src/TgSharp.TL/TL/Storage/TLFileGif.cs b/src/TgSharp.TL/TL/Storage/TLFileGif.cs index 5b7a9522..6aa9d8b2 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileGif.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileGif.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(-891180321)] public class TLFileGif : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileJpeg.cs b/src/TgSharp.TL/TL/Storage/TLFileJpeg.cs index 7d8df300..5a8c5979 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileJpeg.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileJpeg.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(8322574)] public class TLFileJpeg : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileMov.cs b/src/TgSharp.TL/TL/Storage/TLFileMov.cs index ab4a1be9..4eaa7627 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileMov.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileMov.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(1258941372)] public class TLFileMov : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileMp3.cs b/src/TgSharp.TL/TL/Storage/TLFileMp3.cs index fdab7e42..8dbd83a4 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileMp3.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileMp3.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(1384777335)] public class TLFileMp3 : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileMp4.cs b/src/TgSharp.TL/TL/Storage/TLFileMp4.cs index 0b3d2143..02acc4e4 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileMp4.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileMp4.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(-1278304028)] public class TLFileMp4 : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFilePartial.cs b/src/TgSharp.TL/TL/Storage/TLFilePartial.cs index eb1339df..c9d372ae 100644 --- a/src/TgSharp.TL/TL/Storage/TLFilePartial.cs +++ b/src/TgSharp.TL/TL/Storage/TLFilePartial.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(1086091090)] public class TLFilePartial : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFilePdf.cs b/src/TgSharp.TL/TL/Storage/TLFilePdf.cs index b8a07045..504703e9 100644 --- a/src/TgSharp.TL/TL/Storage/TLFilePdf.cs +++ b/src/TgSharp.TL/TL/Storage/TLFilePdf.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(-1373745011)] public class TLFilePdf : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFilePng.cs b/src/TgSharp.TL/TL/Storage/TLFilePng.cs index 825bc57e..b7207987 100644 --- a/src/TgSharp.TL/TL/Storage/TLFilePng.cs +++ b/src/TgSharp.TL/TL/Storage/TLFilePng.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(172975040)] public class TLFilePng : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileUnknown.cs b/src/TgSharp.TL/TL/Storage/TLFileUnknown.cs index c199b974..bb54e1d4 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileUnknown.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileUnknown.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(-1432995067)] public class TLFileUnknown : TLAbsFileType diff --git a/src/TgSharp.TL/TL/Storage/TLFileWebp.cs b/src/TgSharp.TL/TL/Storage/TLFileWebp.cs index 6aa227e0..ff2d3d95 100644 --- a/src/TgSharp.TL/TL/Storage/TLFileWebp.cs +++ b/src/TgSharp.TL/TL/Storage/TLFileWebp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Storage +namespace TgSharp.TL.Storage { [TLObject(276907596)] public class TLFileWebp : TLAbsFileType diff --git a/src/TgSharp.TL/TL/TLAbsBaseTheme.cs b/src/TgSharp.TL/TL/TLAbsBaseTheme.cs index a7c3ba81..f3e67690 100644 --- a/src/TgSharp.TL/TL/TLAbsBaseTheme.cs +++ b/src/TgSharp.TL/TL/TLAbsBaseTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsBaseTheme : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsBool.cs b/src/TgSharp.TL/TL/TLAbsBool.cs index 24eff27e..9969837d 100644 --- a/src/TgSharp.TL/TL/TLAbsBool.cs +++ b/src/TgSharp.TL/TL/TLAbsBool.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsBool : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs b/src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs index 9b2df26e..d51567fc 100644 --- a/src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsBotInlineMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsBotInlineMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsBotInlineResult.cs b/src/TgSharp.TL/TL/TLAbsBotInlineResult.cs index d43c33c5..75670688 100644 --- a/src/TgSharp.TL/TL/TLAbsBotInlineResult.cs +++ b/src/TgSharp.TL/TL/TLAbsBotInlineResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsBotInlineResult : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs b/src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs index 50cdd04c..aa496216 100644 --- a/src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs +++ b/src/TgSharp.TL/TL/TLAbsChannelAdminLogEventAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChannelAdminLogEventAction : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChannelLocation.cs b/src/TgSharp.TL/TL/TLAbsChannelLocation.cs index 35a9c54d..dc4cbe5e 100644 --- a/src/TgSharp.TL/TL/TLAbsChannelLocation.cs +++ b/src/TgSharp.TL/TL/TLAbsChannelLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChannelLocation : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs b/src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs index 66594fb8..2e2b5d6a 100644 --- a/src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs +++ b/src/TgSharp.TL/TL/TLAbsChannelMessagesFilter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChannelMessagesFilter : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChannelParticipant.cs b/src/TgSharp.TL/TL/TLAbsChannelParticipant.cs index 4d8a0776..65cb1354 100644 --- a/src/TgSharp.TL/TL/TLAbsChannelParticipant.cs +++ b/src/TgSharp.TL/TL/TLAbsChannelParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChannelParticipant : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs b/src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs index 54bc985d..bc67467d 100644 --- a/src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs +++ b/src/TgSharp.TL/TL/TLAbsChannelParticipantsFilter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChannelParticipantsFilter : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChat.cs b/src/TgSharp.TL/TL/TLAbsChat.cs index 7ce509f9..b3c1fa5a 100644 --- a/src/TgSharp.TL/TL/TLAbsChat.cs +++ b/src/TgSharp.TL/TL/TLAbsChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChat : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChatFull.cs b/src/TgSharp.TL/TL/TLAbsChatFull.cs index ce1c9a08..9a096004 100644 --- a/src/TgSharp.TL/TL/TLAbsChatFull.cs +++ b/src/TgSharp.TL/TL/TLAbsChatFull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChatFull : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChatInvite.cs b/src/TgSharp.TL/TL/TLAbsChatInvite.cs index c3bbeb78..9c98cea0 100644 --- a/src/TgSharp.TL/TL/TLAbsChatInvite.cs +++ b/src/TgSharp.TL/TL/TLAbsChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChatInvite : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChatParticipant.cs b/src/TgSharp.TL/TL/TLAbsChatParticipant.cs index 0f6348ea..266b7c68 100644 --- a/src/TgSharp.TL/TL/TLAbsChatParticipant.cs +++ b/src/TgSharp.TL/TL/TLAbsChatParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChatParticipant : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChatParticipants.cs b/src/TgSharp.TL/TL/TLAbsChatParticipants.cs index 918d6fcd..2b0375d4 100644 --- a/src/TgSharp.TL/TL/TLAbsChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLAbsChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChatParticipants : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsChatPhoto.cs b/src/TgSharp.TL/TL/TLAbsChatPhoto.cs index 75a47c16..9e25323d 100644 --- a/src/TgSharp.TL/TL/TLAbsChatPhoto.cs +++ b/src/TgSharp.TL/TL/TLAbsChatPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsChatPhoto : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsDialog.cs b/src/TgSharp.TL/TL/TLAbsDialog.cs index 0de10769..187f0b18 100644 --- a/src/TgSharp.TL/TL/TLAbsDialog.cs +++ b/src/TgSharp.TL/TL/TLAbsDialog.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsDialog : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsDialogPeer.cs b/src/TgSharp.TL/TL/TLAbsDialogPeer.cs index e486b960..1c7b12c8 100644 --- a/src/TgSharp.TL/TL/TLAbsDialogPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsDialogPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsDialogPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsDocument.cs b/src/TgSharp.TL/TL/TLAbsDocument.cs index 8da4094f..550f69e0 100644 --- a/src/TgSharp.TL/TL/TLAbsDocument.cs +++ b/src/TgSharp.TL/TL/TLAbsDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsDocument : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs b/src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs index 7e7057ee..a3c5c6d1 100644 --- a/src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs +++ b/src/TgSharp.TL/TL/TLAbsDocumentAttribute.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsDocumentAttribute : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsDraftMessage.cs b/src/TgSharp.TL/TL/TLAbsDraftMessage.cs index 08a1bc9c..e3d60964 100644 --- a/src/TgSharp.TL/TL/TLAbsDraftMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsDraftMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsDraftMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs b/src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs index 5500e88b..ab86c039 100644 --- a/src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs +++ b/src/TgSharp.TL/TL/TLAbsEmojiKeyword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsEmojiKeyword : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsEncryptedChat.cs b/src/TgSharp.TL/TL/TLAbsEncryptedChat.cs index 715c2e45..12f8f7e2 100644 --- a/src/TgSharp.TL/TL/TLAbsEncryptedChat.cs +++ b/src/TgSharp.TL/TL/TLAbsEncryptedChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsEncryptedChat : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsEncryptedFile.cs b/src/TgSharp.TL/TL/TLAbsEncryptedFile.cs index 61646de9..4221c7e4 100644 --- a/src/TgSharp.TL/TL/TLAbsEncryptedFile.cs +++ b/src/TgSharp.TL/TL/TLAbsEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsEncryptedFile : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs b/src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs index 32312326..cf93c23d 100644 --- a/src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsEncryptedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsEncryptedMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs b/src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs index 9099c2f2..709f4302 100644 --- a/src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs +++ b/src/TgSharp.TL/TL/TLAbsExportedChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsExportedChatInvite : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsFoundGif.cs b/src/TgSharp.TL/TL/TLAbsFoundGif.cs index a2c12072..1a310d67 100644 --- a/src/TgSharp.TL/TL/TLAbsFoundGif.cs +++ b/src/TgSharp.TL/TL/TLAbsFoundGif.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsFoundGif : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsGeoPoint.cs b/src/TgSharp.TL/TL/TLAbsGeoPoint.cs index 3d4be73f..0dd63dda 100644 --- a/src/TgSharp.TL/TL/TLAbsGeoPoint.cs +++ b/src/TgSharp.TL/TL/TLAbsGeoPoint.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsGeoPoint : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs b/src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs index af91ad33..bfbf551b 100644 --- a/src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsInputBotInlineMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputBotInlineMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs b/src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs index 79bfed50..99010a40 100644 --- a/src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs +++ b/src/TgSharp.TL/TL/TLAbsInputBotInlineResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputBotInlineResult : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputChannel.cs b/src/TgSharp.TL/TL/TLAbsInputChannel.cs index a76843ed..812bea77 100644 --- a/src/TgSharp.TL/TL/TLAbsInputChannel.cs +++ b/src/TgSharp.TL/TL/TLAbsInputChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputChannel : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs b/src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs index 8c815fae..1249d8de 100644 --- a/src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs +++ b/src/TgSharp.TL/TL/TLAbsInputChatPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputChatPhoto : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs b/src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs index e016511f..a3a66539 100644 --- a/src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs +++ b/src/TgSharp.TL/TL/TLAbsInputCheckPasswordSRP.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputCheckPasswordSRP : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs b/src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs index 4b6ebbe7..d63ec3ab 100644 --- a/src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsInputDialogPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputDialogPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputDocument.cs b/src/TgSharp.TL/TL/TLAbsInputDocument.cs index 5a26972a..c5e1c184 100644 --- a/src/TgSharp.TL/TL/TLAbsInputDocument.cs +++ b/src/TgSharp.TL/TL/TLAbsInputDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputDocument : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs b/src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs index 76eff700..738093bf 100644 --- a/src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs +++ b/src/TgSharp.TL/TL/TLAbsInputEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputEncryptedFile : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputFile.cs b/src/TgSharp.TL/TL/TLAbsInputFile.cs index 7733a188..c03eeabc 100644 --- a/src/TgSharp.TL/TL/TLAbsInputFile.cs +++ b/src/TgSharp.TL/TL/TLAbsInputFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputFile : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputFileLocation.cs b/src/TgSharp.TL/TL/TLAbsInputFileLocation.cs index bf80ea35..3005913b 100644 --- a/src/TgSharp.TL/TL/TLAbsInputFileLocation.cs +++ b/src/TgSharp.TL/TL/TLAbsInputFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputFileLocation : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputGame.cs b/src/TgSharp.TL/TL/TLAbsInputGame.cs index c63b04c6..17900894 100644 --- a/src/TgSharp.TL/TL/TLAbsInputGame.cs +++ b/src/TgSharp.TL/TL/TLAbsInputGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputGame : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs b/src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs index 0a0341d4..29d77451 100644 --- a/src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs +++ b/src/TgSharp.TL/TL/TLAbsInputGeoPoint.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputGeoPoint : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputMedia.cs b/src/TgSharp.TL/TL/TLAbsInputMedia.cs index c1efd336..0a6ade8a 100644 --- a/src/TgSharp.TL/TL/TLAbsInputMedia.cs +++ b/src/TgSharp.TL/TL/TLAbsInputMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputMedia : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputMessage.cs b/src/TgSharp.TL/TL/TLAbsInputMessage.cs index a3eda58f..ff956eb9 100644 --- a/src/TgSharp.TL/TL/TLAbsInputMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsInputMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs b/src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs index cf4c671c..e60bb3d9 100644 --- a/src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsInputNotifyPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputNotifyPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs b/src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs index 1748b5ec..4ec7d4d2 100644 --- a/src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs +++ b/src/TgSharp.TL/TL/TLAbsInputPaymentCredentials.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputPaymentCredentials : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputPeer.cs b/src/TgSharp.TL/TL/TLAbsInputPeer.cs index c74b9bc1..4d6f5be3 100644 --- a/src/TgSharp.TL/TL/TLAbsInputPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsInputPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputPhoto.cs b/src/TgSharp.TL/TL/TLAbsInputPhoto.cs index fd51aa87..231ec4e9 100644 --- a/src/TgSharp.TL/TL/TLAbsInputPhoto.cs +++ b/src/TgSharp.TL/TL/TLAbsInputPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputPhoto : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs b/src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs index 026314c8..c4bea117 100644 --- a/src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs +++ b/src/TgSharp.TL/TL/TLAbsInputPrivacyKey.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputPrivacyKey : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs b/src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs index 7ef0f2f6..9bc525d8 100644 --- a/src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs +++ b/src/TgSharp.TL/TL/TLAbsInputPrivacyRule.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputPrivacyRule : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputSecureFile.cs b/src/TgSharp.TL/TL/TLAbsInputSecureFile.cs index f888b62e..e96378f0 100644 --- a/src/TgSharp.TL/TL/TLAbsInputSecureFile.cs +++ b/src/TgSharp.TL/TL/TLAbsInputSecureFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputSecureFile : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputStickerSet.cs b/src/TgSharp.TL/TL/TLAbsInputStickerSet.cs index 2efbffab..fdcd909c 100644 --- a/src/TgSharp.TL/TL/TLAbsInputStickerSet.cs +++ b/src/TgSharp.TL/TL/TLAbsInputStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputStickerSet : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs b/src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs index 6201f4fc..f19f8f51 100644 --- a/src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs +++ b/src/TgSharp.TL/TL/TLAbsInputStickeredMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputStickeredMedia : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputTheme.cs b/src/TgSharp.TL/TL/TLAbsInputTheme.cs index 542c1717..d816eae4 100644 --- a/src/TgSharp.TL/TL/TLAbsInputTheme.cs +++ b/src/TgSharp.TL/TL/TLAbsInputTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputTheme : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputUser.cs b/src/TgSharp.TL/TL/TLAbsInputUser.cs index c1f8df32..3185ae50 100644 --- a/src/TgSharp.TL/TL/TLAbsInputUser.cs +++ b/src/TgSharp.TL/TL/TLAbsInputUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputUser : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputWallPaper.cs b/src/TgSharp.TL/TL/TLAbsInputWallPaper.cs index df3b940b..b949ac8c 100644 --- a/src/TgSharp.TL/TL/TLAbsInputWallPaper.cs +++ b/src/TgSharp.TL/TL/TLAbsInputWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputWallPaper : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs b/src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs index 8e1c7913..f25698cd 100644 --- a/src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs +++ b/src/TgSharp.TL/TL/TLAbsInputWebFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsInputWebFileLocation : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsJSONValue.cs b/src/TgSharp.TL/TL/TLAbsJSONValue.cs index e39e1617..2eed1adc 100644 --- a/src/TgSharp.TL/TL/TLAbsJSONValue.cs +++ b/src/TgSharp.TL/TL/TLAbsJSONValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsJSONValue : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsKeyboardButton.cs b/src/TgSharp.TL/TL/TLAbsKeyboardButton.cs index d49d28b6..51f8e456 100644 --- a/src/TgSharp.TL/TL/TLAbsKeyboardButton.cs +++ b/src/TgSharp.TL/TL/TLAbsKeyboardButton.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsKeyboardButton : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsLangPackString.cs b/src/TgSharp.TL/TL/TLAbsLangPackString.cs index 15c61507..0b2802f3 100644 --- a/src/TgSharp.TL/TL/TLAbsLangPackString.cs +++ b/src/TgSharp.TL/TL/TLAbsLangPackString.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsLangPackString : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsMessage.cs b/src/TgSharp.TL/TL/TLAbsMessage.cs index ce038f90..6ab68ee1 100644 --- a/src/TgSharp.TL/TL/TLAbsMessage.cs +++ b/src/TgSharp.TL/TL/TLAbsMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsMessage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsMessageAction.cs b/src/TgSharp.TL/TL/TLAbsMessageAction.cs index e0e579fa..4f52acba 100644 --- a/src/TgSharp.TL/TL/TLAbsMessageAction.cs +++ b/src/TgSharp.TL/TL/TLAbsMessageAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsMessageAction : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsMessageEntity.cs b/src/TgSharp.TL/TL/TLAbsMessageEntity.cs index 8ad7a8b0..0bb7d4dd 100644 --- a/src/TgSharp.TL/TL/TLAbsMessageEntity.cs +++ b/src/TgSharp.TL/TL/TLAbsMessageEntity.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsMessageEntity : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsMessageMedia.cs b/src/TgSharp.TL/TL/TLAbsMessageMedia.cs index 5d14eb26..e7577616 100644 --- a/src/TgSharp.TL/TL/TLAbsMessageMedia.cs +++ b/src/TgSharp.TL/TL/TLAbsMessageMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsMessageMedia : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsMessagesFilter.cs b/src/TgSharp.TL/TL/TLAbsMessagesFilter.cs index 7a6a0eef..0405b62d 100644 --- a/src/TgSharp.TL/TL/TLAbsMessagesFilter.cs +++ b/src/TgSharp.TL/TL/TLAbsMessagesFilter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsMessagesFilter : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsNotifyPeer.cs b/src/TgSharp.TL/TL/TLAbsNotifyPeer.cs index 95acd48a..82fffc9d 100644 --- a/src/TgSharp.TL/TL/TLAbsNotifyPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsNotifyPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsNotifyPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPageBlock.cs b/src/TgSharp.TL/TL/TLAbsPageBlock.cs index 39672ba3..308d1c37 100644 --- a/src/TgSharp.TL/TL/TLAbsPageBlock.cs +++ b/src/TgSharp.TL/TL/TLAbsPageBlock.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPageBlock : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPageListItem.cs b/src/TgSharp.TL/TL/TLAbsPageListItem.cs index 5df2dad2..17e97818 100644 --- a/src/TgSharp.TL/TL/TLAbsPageListItem.cs +++ b/src/TgSharp.TL/TL/TLAbsPageListItem.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPageListItem : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs b/src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs index f80e47fb..b84d0fe4 100644 --- a/src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs +++ b/src/TgSharp.TL/TL/TLAbsPageListOrderedItem.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPageListOrderedItem : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs b/src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs index a30aeb1c..b886abdc 100644 --- a/src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs +++ b/src/TgSharp.TL/TL/TLAbsPasswordKdfAlgo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPasswordKdfAlgo : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPeer.cs b/src/TgSharp.TL/TL/TLAbsPeer.cs index 7b8c3887..46b1a7d2 100644 --- a/src/TgSharp.TL/TL/TLAbsPeer.cs +++ b/src/TgSharp.TL/TL/TLAbsPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPeer : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPhoneCall.cs b/src/TgSharp.TL/TL/TLAbsPhoneCall.cs index 7cb844af..3e3881f2 100644 --- a/src/TgSharp.TL/TL/TLAbsPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLAbsPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPhoneCall : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs b/src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs index 33528338..e44ad014 100644 --- a/src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs +++ b/src/TgSharp.TL/TL/TLAbsPhoneCallDiscardReason.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPhoneCallDiscardReason : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPhoto.cs b/src/TgSharp.TL/TL/TLAbsPhoto.cs index f0f55aab..d8200e43 100644 --- a/src/TgSharp.TL/TL/TLAbsPhoto.cs +++ b/src/TgSharp.TL/TL/TLAbsPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPhoto : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPhotoSize.cs b/src/TgSharp.TL/TL/TLAbsPhotoSize.cs index a93568a1..3314d753 100644 --- a/src/TgSharp.TL/TL/TLAbsPhotoSize.cs +++ b/src/TgSharp.TL/TL/TLAbsPhotoSize.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPhotoSize : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPrivacyKey.cs b/src/TgSharp.TL/TL/TLAbsPrivacyKey.cs index aa8cc97b..4428a952 100644 --- a/src/TgSharp.TL/TL/TLAbsPrivacyKey.cs +++ b/src/TgSharp.TL/TL/TLAbsPrivacyKey.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPrivacyKey : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsPrivacyRule.cs b/src/TgSharp.TL/TL/TLAbsPrivacyRule.cs index 700e25c5..c8c05208 100644 --- a/src/TgSharp.TL/TL/TLAbsPrivacyRule.cs +++ b/src/TgSharp.TL/TL/TLAbsPrivacyRule.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsPrivacyRule : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs b/src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs index c25b8b5f..71e1ccfc 100644 --- a/src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs +++ b/src/TgSharp.TL/TL/TLAbsRecentMeUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsRecentMeUrl : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsReplyMarkup.cs b/src/TgSharp.TL/TL/TLAbsReplyMarkup.cs index f655bc89..de24cd60 100644 --- a/src/TgSharp.TL/TL/TLAbsReplyMarkup.cs +++ b/src/TgSharp.TL/TL/TLAbsReplyMarkup.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsReplyMarkup : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsReportReason.cs b/src/TgSharp.TL/TL/TLAbsReportReason.cs index 26a62da6..c2884d99 100644 --- a/src/TgSharp.TL/TL/TLAbsReportReason.cs +++ b/src/TgSharp.TL/TL/TLAbsReportReason.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsReportReason : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsRichText.cs b/src/TgSharp.TL/TL/TLAbsRichText.cs index 11048c83..3eafeadd 100644 --- a/src/TgSharp.TL/TL/TLAbsRichText.cs +++ b/src/TgSharp.TL/TL/TLAbsRichText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsRichText : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecureFile.cs b/src/TgSharp.TL/TL/TLAbsSecureFile.cs index 10463f10..bae9bed1 100644 --- a/src/TgSharp.TL/TL/TLAbsSecureFile.cs +++ b/src/TgSharp.TL/TL/TLAbsSecureFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecureFile : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs b/src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs index e7525b2f..c6f88aac 100644 --- a/src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs +++ b/src/TgSharp.TL/TL/TLAbsSecurePasswordKdfAlgo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecurePasswordKdfAlgo : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecurePlainData.cs b/src/TgSharp.TL/TL/TLAbsSecurePlainData.cs index eff9a6f5..d97cc552 100644 --- a/src/TgSharp.TL/TL/TLAbsSecurePlainData.cs +++ b/src/TgSharp.TL/TL/TLAbsSecurePlainData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecurePlainData : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs b/src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs index e4f52290..cd8afff5 100644 --- a/src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs +++ b/src/TgSharp.TL/TL/TLAbsSecureRequiredType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecureRequiredType : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecureValueError.cs b/src/TgSharp.TL/TL/TLAbsSecureValueError.cs index 314f8a15..33310cdd 100644 --- a/src/TgSharp.TL/TL/TLAbsSecureValueError.cs +++ b/src/TgSharp.TL/TL/TLAbsSecureValueError.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecureValueError : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSecureValueType.cs b/src/TgSharp.TL/TL/TLAbsSecureValueType.cs index 298c4eb0..d16f6fbd 100644 --- a/src/TgSharp.TL/TL/TLAbsSecureValueType.cs +++ b/src/TgSharp.TL/TL/TLAbsSecureValueType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSecureValueType : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsSendMessageAction.cs b/src/TgSharp.TL/TL/TLAbsSendMessageAction.cs index 6db476b0..f5d14855 100644 --- a/src/TgSharp.TL/TL/TLAbsSendMessageAction.cs +++ b/src/TgSharp.TL/TL/TLAbsSendMessageAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsSendMessageAction : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs b/src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs index 3de2abe4..d40fdd5b 100644 --- a/src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs +++ b/src/TgSharp.TL/TL/TLAbsStickerSetCovered.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsStickerSetCovered : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs b/src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs index e384e176..21152936 100644 --- a/src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs +++ b/src/TgSharp.TL/TL/TLAbsTopPeerCategory.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsTopPeerCategory : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUpdate.cs b/src/TgSharp.TL/TL/TLAbsUpdate.cs index 92ad18f1..b06a3e03 100644 --- a/src/TgSharp.TL/TL/TLAbsUpdate.cs +++ b/src/TgSharp.TL/TL/TLAbsUpdate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUpdate : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUpdates.cs b/src/TgSharp.TL/TL/TLAbsUpdates.cs index a87d3693..3eb46c9b 100644 --- a/src/TgSharp.TL/TL/TLAbsUpdates.cs +++ b/src/TgSharp.TL/TL/TLAbsUpdates.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUpdates : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs b/src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs index f35f1525..d359f458 100644 --- a/src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs +++ b/src/TgSharp.TL/TL/TLAbsUrlAuthResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUrlAuthResult : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUser.cs b/src/TgSharp.TL/TL/TLAbsUser.cs index 1e5cc026..5dc41c06 100644 --- a/src/TgSharp.TL/TL/TLAbsUser.cs +++ b/src/TgSharp.TL/TL/TLAbsUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUser : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs b/src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs index df027723..a2ace6fb 100644 --- a/src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs +++ b/src/TgSharp.TL/TL/TLAbsUserProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUserProfilePhoto : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsUserStatus.cs b/src/TgSharp.TL/TL/TLAbsUserStatus.cs index 7db6a073..952ec881 100644 --- a/src/TgSharp.TL/TL/TLAbsUserStatus.cs +++ b/src/TgSharp.TL/TL/TLAbsUserStatus.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsUserStatus : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsWallPaper.cs b/src/TgSharp.TL/TL/TLAbsWallPaper.cs index efb5e671..be115b75 100644 --- a/src/TgSharp.TL/TL/TLAbsWallPaper.cs +++ b/src/TgSharp.TL/TL/TLAbsWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsWallPaper : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsWebDocument.cs b/src/TgSharp.TL/TL/TLAbsWebDocument.cs index c8496e7b..a0acc934 100644 --- a/src/TgSharp.TL/TL/TLAbsWebDocument.cs +++ b/src/TgSharp.TL/TL/TLAbsWebDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsWebDocument : TLObject { diff --git a/src/TgSharp.TL/TL/TLAbsWebPage.cs b/src/TgSharp.TL/TL/TLAbsWebPage.cs index ae364677..db17a2d3 100644 --- a/src/TgSharp.TL/TL/TLAbsWebPage.cs +++ b/src/TgSharp.TL/TL/TLAbsWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { public abstract class TLAbsWebPage : TLObject { diff --git a/src/TgSharp.TL/TL/TLAccountDaysTTL.cs b/src/TgSharp.TL/TL/TLAccountDaysTTL.cs index a2185732..50754b36 100644 --- a/src/TgSharp.TL/TL/TLAccountDaysTTL.cs +++ b/src/TgSharp.TL/TL/TLAccountDaysTTL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1194283041)] public class TLAccountDaysTTL : TLObject diff --git a/src/TgSharp.TL/TL/TLAuthorization.cs b/src/TgSharp.TL/TL/TLAuthorization.cs index 9775bf27..df9dfe31 100644 --- a/src/TgSharp.TL/TL/TLAuthorization.cs +++ b/src/TgSharp.TL/TL/TLAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1392388579)] public class TLAuthorization : TLObject diff --git a/src/TgSharp.TL/TL/TLAutoDownloadSettings.cs b/src/TgSharp.TL/TL/TLAutoDownloadSettings.cs index 82fe176a..bffc7142 100644 --- a/src/TgSharp.TL/TL/TLAutoDownloadSettings.cs +++ b/src/TgSharp.TL/TL/TLAutoDownloadSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-532532493)] public class TLAutoDownloadSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLBaseThemeArctic.cs b/src/TgSharp.TL/TL/TLBaseThemeArctic.cs index bf60d956..0840ac06 100644 --- a/src/TgSharp.TL/TL/TLBaseThemeArctic.cs +++ b/src/TgSharp.TL/TL/TLBaseThemeArctic.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1527845466)] public class TLBaseThemeArctic : TLAbsBaseTheme diff --git a/src/TgSharp.TL/TL/TLBaseThemeClassic.cs b/src/TgSharp.TL/TL/TLBaseThemeClassic.cs index 48a12224..9c98cbea 100644 --- a/src/TgSharp.TL/TL/TLBaseThemeClassic.cs +++ b/src/TgSharp.TL/TL/TLBaseThemeClassic.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1012849566)] public class TLBaseThemeClassic : TLAbsBaseTheme diff --git a/src/TgSharp.TL/TL/TLBaseThemeDay.cs b/src/TgSharp.TL/TL/TLBaseThemeDay.cs index adbeee46..e707f940 100644 --- a/src/TgSharp.TL/TL/TLBaseThemeDay.cs +++ b/src/TgSharp.TL/TL/TLBaseThemeDay.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-69724536)] public class TLBaseThemeDay : TLAbsBaseTheme diff --git a/src/TgSharp.TL/TL/TLBaseThemeNight.cs b/src/TgSharp.TL/TL/TLBaseThemeNight.cs index 1f523b7e..8b667634 100644 --- a/src/TgSharp.TL/TL/TLBaseThemeNight.cs +++ b/src/TgSharp.TL/TL/TLBaseThemeNight.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1212997976)] public class TLBaseThemeNight : TLAbsBaseTheme diff --git a/src/TgSharp.TL/TL/TLBaseThemeTinted.cs b/src/TgSharp.TL/TL/TLBaseThemeTinted.cs index 281439d7..ccddd4da 100644 --- a/src/TgSharp.TL/TL/TLBaseThemeTinted.cs +++ b/src/TgSharp.TL/TL/TLBaseThemeTinted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1834973166)] public class TLBaseThemeTinted : TLAbsBaseTheme diff --git a/src/TgSharp.TL/TL/TLBoolFalse.cs b/src/TgSharp.TL/TL/TLBoolFalse.cs index 68509858..3aec9929 100644 --- a/src/TgSharp.TL/TL/TLBoolFalse.cs +++ b/src/TgSharp.TL/TL/TLBoolFalse.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1132882121)] public class TLBoolFalse : TLAbsBool diff --git a/src/TgSharp.TL/TL/TLBoolTrue.cs b/src/TgSharp.TL/TL/TLBoolTrue.cs index 3497909a..e38b2eb7 100644 --- a/src/TgSharp.TL/TL/TLBoolTrue.cs +++ b/src/TgSharp.TL/TL/TLBoolTrue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1720552011)] public class TLBoolTrue : TLAbsBool diff --git a/src/TgSharp.TL/TL/TLBotCommand.cs b/src/TgSharp.TL/TL/TLBotCommand.cs index 66c95a46..f58239e1 100644 --- a/src/TgSharp.TL/TL/TLBotCommand.cs +++ b/src/TgSharp.TL/TL/TLBotCommand.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1032140601)] public class TLBotCommand : TLObject diff --git a/src/TgSharp.TL/TL/TLBotInfo.cs b/src/TgSharp.TL/TL/TLBotInfo.cs index 4a61e109..e4062ba9 100644 --- a/src/TgSharp.TL/TL/TLBotInfo.cs +++ b/src/TgSharp.TL/TL/TLBotInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1729618630)] public class TLBotInfo : TLObject diff --git a/src/TgSharp.TL/TL/TLBotInlineMediaResult.cs b/src/TgSharp.TL/TL/TLBotInlineMediaResult.cs index 6ac69572..67bfbcac 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMediaResult.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMediaResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(400266251)] public class TLBotInlineMediaResult : TLAbsBotInlineResult diff --git a/src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs index 843d505a..c6ccac57 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMessageMediaAuto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1984755728)] public class TLBotInlineMessageMediaAuto : TLAbsBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs index b8bb0562..c4e01b48 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMessageMediaContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(416402882)] public class TLBotInlineMessageMediaContact : TLAbsBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs index 38df1446..ce6aac81 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMessageMediaGeo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1222451611)] public class TLBotInlineMessageMediaGeo : TLAbsBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs index 7ecef0ee..e379779e 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMessageMediaVenue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1970903652)] public class TLBotInlineMessageMediaVenue : TLAbsBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLBotInlineMessageText.cs b/src/TgSharp.TL/TL/TLBotInlineMessageText.cs index 4ec003f8..a49bfd37 100644 --- a/src/TgSharp.TL/TL/TLBotInlineMessageText.cs +++ b/src/TgSharp.TL/TL/TLBotInlineMessageText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1937807902)] public class TLBotInlineMessageText : TLAbsBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLBotInlineResult.cs b/src/TgSharp.TL/TL/TLBotInlineResult.cs index 6432540a..55426618 100644 --- a/src/TgSharp.TL/TL/TLBotInlineResult.cs +++ b/src/TgSharp.TL/TL/TLBotInlineResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(295067450)] public class TLBotInlineResult : TLAbsBotInlineResult diff --git a/src/TgSharp.TL/TL/TLCdnConfig.cs b/src/TgSharp.TL/TL/TLCdnConfig.cs index 323088f4..c477f38a 100644 --- a/src/TgSharp.TL/TL/TLCdnConfig.cs +++ b/src/TgSharp.TL/TL/TLCdnConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1462101002)] public class TLCdnConfig : TLObject diff --git a/src/TgSharp.TL/TL/TLCdnPublicKey.cs b/src/TgSharp.TL/TL/TLCdnPublicKey.cs index 6fc10e2b..385891df 100644 --- a/src/TgSharp.TL/TL/TLCdnPublicKey.cs +++ b/src/TgSharp.TL/TL/TLCdnPublicKey.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-914167110)] public class TLCdnPublicKey : TLObject diff --git a/src/TgSharp.TL/TL/TLChannel.cs b/src/TgSharp.TL/TL/TLChannel.cs index abac53d9..303cc007 100644 --- a/src/TgSharp.TL/TL/TLChannel.cs +++ b/src/TgSharp.TL/TL/TLChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-753232354)] public class TLChannel : TLAbsChat diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs index b3392dfd..7432f82a 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEvent.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(995769920)] public class TLChannelAdminLogEvent : TLObject diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs index baf049b9..63b166ee 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeAbout.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1427671598)] public class TLChannelAdminLogEventActionChangeAbout : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs index 033e8b95..155b63b1 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLinkedChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1569748965)] public class TLChannelAdminLogEventActionChangeLinkedChat : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs index e555bcc8..149fd63a 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(241923758)] public class TLChannelAdminLogEventActionChangeLocation : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs index 08f6d509..8f96699d 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1129042607)] public class TLChannelAdminLogEventActionChangePhoto : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs index 8d3bd8ac..8f4d17ea 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1312568665)] public class TLChannelAdminLogEventActionChangeStickerSet : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs index 801ee5d9..022eeddc 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeTitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-421545947)] public class TLChannelAdminLogEventActionChangeTitle : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs index 53118cf6..e74f1e59 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionChangeUsername.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1783299128)] public class TLChannelAdminLogEventActionChangeUsername : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs index 5dfea2d4..c0e18aa9 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDefaultBannedRights.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(771095562)] public class TLChannelAdminLogEventActionDefaultBannedRights : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs index 59c67486..e7a52d8e 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionDeleteMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1121994683)] public class TLChannelAdminLogEventActionDeleteMessage : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs index 8a7f96dd..83f80bcf 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionEditMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1889215493)] public class TLChannelAdminLogEventActionEditMessage : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs index ed5e129c..d0db6540 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-484690728)] public class TLChannelAdminLogEventActionParticipantInvite : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs index 7f2b534c..6b08eea6 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantJoin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(405815507)] public class TLChannelAdminLogEventActionParticipantJoin : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs index 558883a8..99e57daf 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantLeave.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-124291086)] public class TLChannelAdminLogEventActionParticipantLeave : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs index 5ede8bc7..5e27618b 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-714643696)] public class TLChannelAdminLogEventActionParticipantToggleAdmin : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs index 17b147d8..ae434f6e 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionParticipantToggleBan.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-422036098)] public class TLChannelAdminLogEventActionParticipantToggleBan : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs index 80a38d60..00d20cb3 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionStopPoll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1895328189)] public class TLChannelAdminLogEventActionStopPoll : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs index 6929d4e1..0329be34 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleInvites.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(460916654)] public class TLChannelAdminLogEventActionToggleInvites : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs index de4494ef..3fb84c49 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionTogglePreHistoryHidden.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1599903217)] public class TLChannelAdminLogEventActionTogglePreHistoryHidden : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs index a5e0b9be..19ff4c44 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSignatures.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(648939889)] public class TLChannelAdminLogEventActionToggleSignatures : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs index 9f8fd393..1ab9675d 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionToggleSlowMode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1401984889)] public class TLChannelAdminLogEventActionToggleSlowMode : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs index 9cf03636..56419af1 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventActionUpdatePinned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-370660328)] public class TLChannelAdminLogEventActionUpdatePinned : TLAbsChannelAdminLogEventAction diff --git a/src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs b/src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs index 9a227f84..40f13318 100644 --- a/src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs +++ b/src/TgSharp.TL/TL/TLChannelAdminLogEventsFilter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-368018716)] public class TLChannelAdminLogEventsFilter : TLObject diff --git a/src/TgSharp.TL/TL/TLChannelForbidden.cs b/src/TgSharp.TL/TL/TLChannelForbidden.cs index 47cf4f1a..db30fece 100644 --- a/src/TgSharp.TL/TL/TLChannelForbidden.cs +++ b/src/TgSharp.TL/TL/TLChannelForbidden.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(681420594)] public class TLChannelForbidden : TLAbsChat diff --git a/src/TgSharp.TL/TL/TLChannelFull.cs b/src/TgSharp.TL/TL/TLChannelFull.cs index 9ee2e2d6..956f7650 100644 --- a/src/TgSharp.TL/TL/TLChannelFull.cs +++ b/src/TgSharp.TL/TL/TLChannelFull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(763976820)] public class TLChannelFull : TLAbsChatFull diff --git a/src/TgSharp.TL/TL/TLChannelLocation.cs b/src/TgSharp.TL/TL/TLChannelLocation.cs index 9036199d..4ff7903e 100644 --- a/src/TgSharp.TL/TL/TLChannelLocation.cs +++ b/src/TgSharp.TL/TL/TLChannelLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(547062491)] public class TLChannelLocation : TLAbsChannelLocation diff --git a/src/TgSharp.TL/TL/TLChannelLocationEmpty.cs b/src/TgSharp.TL/TL/TLChannelLocationEmpty.cs index e365c695..ffd1b714 100644 --- a/src/TgSharp.TL/TL/TLChannelLocationEmpty.cs +++ b/src/TgSharp.TL/TL/TLChannelLocationEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1078612597)] public class TLChannelLocationEmpty : TLAbsChannelLocation diff --git a/src/TgSharp.TL/TL/TLChannelMessagesFilter.cs b/src/TgSharp.TL/TL/TLChannelMessagesFilter.cs index b2ef5cad..f745dca8 100644 --- a/src/TgSharp.TL/TL/TLChannelMessagesFilter.cs +++ b/src/TgSharp.TL/TL/TLChannelMessagesFilter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-847783593)] public class TLChannelMessagesFilter : TLAbsChannelMessagesFilter diff --git a/src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs b/src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs index 39c5ac95..f06fb733 100644 --- a/src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs +++ b/src/TgSharp.TL/TL/TLChannelMessagesFilterEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1798033689)] public class TLChannelMessagesFilterEmpty : TLAbsChannelMessagesFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipant.cs b/src/TgSharp.TL/TL/TLChannelParticipant.cs index 53929676..a16a1e99 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipant.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(367766557)] public class TLChannelParticipant : TLAbsChannelParticipant diff --git a/src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs b/src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs index 12c131a3..cc8000be 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-859915345)] public class TLChannelParticipantAdmin : TLAbsChannelParticipant diff --git a/src/TgSharp.TL/TL/TLChannelParticipantBanned.cs b/src/TgSharp.TL/TL/TLChannelParticipantBanned.cs index b07d7131..627ae005 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantBanned.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantBanned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(470789295)] public class TLChannelParticipantBanned : TLAbsChannelParticipant diff --git a/src/TgSharp.TL/TL/TLChannelParticipantCreator.cs b/src/TgSharp.TL/TL/TLChannelParticipantCreator.cs index 56f4d69b..73057aa8 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantCreator.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantCreator.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2138237532)] public class TLChannelParticipantCreator : TLAbsChannelParticipant diff --git a/src/TgSharp.TL/TL/TLChannelParticipantSelf.cs b/src/TgSharp.TL/TL/TLChannelParticipantSelf.cs index 63fa1214..0f786e30 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantSelf.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantSelf.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1557620115)] public class TLChannelParticipantSelf : TLAbsChannelParticipant diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs b/src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs index 6bd180a7..4002c480 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsAdmins.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1268741783)] public class TLChannelParticipantsAdmins : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs b/src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs index e4570f9e..ebb192db 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsBanned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(338142689)] public class TLChannelParticipantsBanned : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsBots.cs b/src/TgSharp.TL/TL/TLChannelParticipantsBots.cs index a460ddce..0f3c25d7 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsBots.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsBots.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1328445861)] public class TLChannelParticipantsBots : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs b/src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs index 2c4a90ee..73c6fb74 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1150621555)] public class TLChannelParticipantsContacts : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs b/src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs index 906cdaee..b66916ff 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsKicked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1548400251)] public class TLChannelParticipantsKicked : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs b/src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs index 0fb488bb..1d715fd9 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsRecent.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-566281095)] public class TLChannelParticipantsRecent : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs b/src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs index 62f9402d..5a773773 100644 --- a/src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs +++ b/src/TgSharp.TL/TL/TLChannelParticipantsSearch.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(106343499)] public class TLChannelParticipantsSearch : TLAbsChannelParticipantsFilter diff --git a/src/TgSharp.TL/TL/TLChat.cs b/src/TgSharp.TL/TL/TLChat.cs index 0aba4876..5983fb0b 100644 --- a/src/TgSharp.TL/TL/TLChat.cs +++ b/src/TgSharp.TL/TL/TLChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1004149726)] public class TLChat : TLAbsChat diff --git a/src/TgSharp.TL/TL/TLChatAdminRights.cs b/src/TgSharp.TL/TL/TLChatAdminRights.cs index 94b83286..a91b312a 100644 --- a/src/TgSharp.TL/TL/TLChatAdminRights.cs +++ b/src/TgSharp.TL/TL/TLChatAdminRights.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1605510357)] public class TLChatAdminRights : TLObject diff --git a/src/TgSharp.TL/TL/TLChatBannedRights.cs b/src/TgSharp.TL/TL/TLChatBannedRights.cs index 33635940..b98e7373 100644 --- a/src/TgSharp.TL/TL/TLChatBannedRights.cs +++ b/src/TgSharp.TL/TL/TLChatBannedRights.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1626209256)] public class TLChatBannedRights : TLObject diff --git a/src/TgSharp.TL/TL/TLChatEmpty.cs b/src/TgSharp.TL/TL/TLChatEmpty.cs index f12e15dd..28a8a408 100644 --- a/src/TgSharp.TL/TL/TLChatEmpty.cs +++ b/src/TgSharp.TL/TL/TLChatEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1683826688)] public class TLChatEmpty : TLAbsChat diff --git a/src/TgSharp.TL/TL/TLChatForbidden.cs b/src/TgSharp.TL/TL/TLChatForbidden.cs index 77341295..447406f8 100644 --- a/src/TgSharp.TL/TL/TLChatForbidden.cs +++ b/src/TgSharp.TL/TL/TLChatForbidden.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(120753115)] public class TLChatForbidden : TLAbsChat diff --git a/src/TgSharp.TL/TL/TLChatFull.cs b/src/TgSharp.TL/TL/TLChatFull.cs index 902bef0a..621511c1 100644 --- a/src/TgSharp.TL/TL/TLChatFull.cs +++ b/src/TgSharp.TL/TL/TLChatFull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(461151667)] public class TLChatFull : TLAbsChatFull diff --git a/src/TgSharp.TL/TL/TLChatInvite.cs b/src/TgSharp.TL/TL/TLChatInvite.cs index 66d1fc81..d2c7cf31 100644 --- a/src/TgSharp.TL/TL/TLChatInvite.cs +++ b/src/TgSharp.TL/TL/TLChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-540871282)] public class TLChatInvite : TLAbsChatInvite diff --git a/src/TgSharp.TL/TL/TLChatInviteAlready.cs b/src/TgSharp.TL/TL/TLChatInviteAlready.cs index 5b69d669..838d4324 100644 --- a/src/TgSharp.TL/TL/TLChatInviteAlready.cs +++ b/src/TgSharp.TL/TL/TLChatInviteAlready.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1516793212)] public class TLChatInviteAlready : TLAbsChatInvite diff --git a/src/TgSharp.TL/TL/TLChatInviteEmpty.cs b/src/TgSharp.TL/TL/TLChatInviteEmpty.cs index a144fe6c..d282628a 100644 --- a/src/TgSharp.TL/TL/TLChatInviteEmpty.cs +++ b/src/TgSharp.TL/TL/TLChatInviteEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1776236393)] public class TLChatInviteEmpty : TLAbsExportedChatInvite diff --git a/src/TgSharp.TL/TL/TLChatInviteExported.cs b/src/TgSharp.TL/TL/TLChatInviteExported.cs index 03a2d36f..a8450b73 100644 --- a/src/TgSharp.TL/TL/TLChatInviteExported.cs +++ b/src/TgSharp.TL/TL/TLChatInviteExported.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-64092740)] public class TLChatInviteExported : TLAbsExportedChatInvite diff --git a/src/TgSharp.TL/TL/TLChatOnlines.cs b/src/TgSharp.TL/TL/TLChatOnlines.cs index 5cbb8684..0041f904 100644 --- a/src/TgSharp.TL/TL/TLChatOnlines.cs +++ b/src/TgSharp.TL/TL/TLChatOnlines.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-264117680)] public class TLChatOnlines : TLObject diff --git a/src/TgSharp.TL/TL/TLChatParticipant.cs b/src/TgSharp.TL/TL/TLChatParticipant.cs index c46cb868..7f82ce51 100644 --- a/src/TgSharp.TL/TL/TLChatParticipant.cs +++ b/src/TgSharp.TL/TL/TLChatParticipant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-925415106)] public class TLChatParticipant : TLAbsChatParticipant diff --git a/src/TgSharp.TL/TL/TLChatParticipantAdmin.cs b/src/TgSharp.TL/TL/TLChatParticipantAdmin.cs index 11714566..27d93e49 100644 --- a/src/TgSharp.TL/TL/TLChatParticipantAdmin.cs +++ b/src/TgSharp.TL/TL/TLChatParticipantAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-489233354)] public class TLChatParticipantAdmin : TLAbsChatParticipant diff --git a/src/TgSharp.TL/TL/TLChatParticipantCreator.cs b/src/TgSharp.TL/TL/TLChatParticipantCreator.cs index 0f59d9de..6fa28b94 100644 --- a/src/TgSharp.TL/TL/TLChatParticipantCreator.cs +++ b/src/TgSharp.TL/TL/TLChatParticipantCreator.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-636267638)] public class TLChatParticipantCreator : TLAbsChatParticipant diff --git a/src/TgSharp.TL/TL/TLChatParticipants.cs b/src/TgSharp.TL/TL/TLChatParticipants.cs index b699ee1c..f4218560 100644 --- a/src/TgSharp.TL/TL/TLChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1061556205)] public class TLChatParticipants : TLAbsChatParticipants diff --git a/src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs b/src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs index 222df56e..67d833a2 100644 --- a/src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs +++ b/src/TgSharp.TL/TL/TLChatParticipantsForbidden.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-57668565)] public class TLChatParticipantsForbidden : TLAbsChatParticipants diff --git a/src/TgSharp.TL/TL/TLChatPhoto.cs b/src/TgSharp.TL/TL/TLChatPhoto.cs index 4ce91d82..9d1c0eef 100644 --- a/src/TgSharp.TL/TL/TLChatPhoto.cs +++ b/src/TgSharp.TL/TL/TLChatPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1197267925)] public class TLChatPhoto : TLAbsChatPhoto diff --git a/src/TgSharp.TL/TL/TLChatPhotoEmpty.cs b/src/TgSharp.TL/TL/TLChatPhotoEmpty.cs index 0ff41c9c..a54e81f1 100644 --- a/src/TgSharp.TL/TL/TLChatPhotoEmpty.cs +++ b/src/TgSharp.TL/TL/TLChatPhotoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(935395612)] public class TLChatPhotoEmpty : TLAbsChatPhoto diff --git a/src/TgSharp.TL/TL/TLCodeSettings.cs b/src/TgSharp.TL/TL/TLCodeSettings.cs index 12dbc278..59d5b7cb 100644 --- a/src/TgSharp.TL/TL/TLCodeSettings.cs +++ b/src/TgSharp.TL/TL/TLCodeSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-557924733)] public class TLCodeSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLConfig.cs b/src/TgSharp.TL/TL/TLConfig.cs index e039f98c..b1dbbed7 100644 --- a/src/TgSharp.TL/TL/TLConfig.cs +++ b/src/TgSharp.TL/TL/TLConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(856375399)] public class TLConfig : TLObject diff --git a/src/TgSharp.TL/TL/TLContact.cs b/src/TgSharp.TL/TL/TLContact.cs index 7581f7fd..8f88295c 100644 --- a/src/TgSharp.TL/TL/TLContact.cs +++ b/src/TgSharp.TL/TL/TLContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-116274796)] public class TLContact : TLObject diff --git a/src/TgSharp.TL/TL/TLContactBlocked.cs b/src/TgSharp.TL/TL/TLContactBlocked.cs index e580ffda..08a7ba9d 100644 --- a/src/TgSharp.TL/TL/TLContactBlocked.cs +++ b/src/TgSharp.TL/TL/TLContactBlocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1444661369)] public class TLContactBlocked : TLObject diff --git a/src/TgSharp.TL/TL/TLContactStatus.cs b/src/TgSharp.TL/TL/TLContactStatus.cs index 970bfbd5..0f8996d5 100644 --- a/src/TgSharp.TL/TL/TLContactStatus.cs +++ b/src/TgSharp.TL/TL/TLContactStatus.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-748155807)] public class TLContactStatus : TLObject diff --git a/src/TgSharp.TL/TL/TLDataJSON.cs b/src/TgSharp.TL/TL/TLDataJSON.cs index 82b52b8d..57d09c26 100644 --- a/src/TgSharp.TL/TL/TLDataJSON.cs +++ b/src/TgSharp.TL/TL/TLDataJSON.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2104790276)] public class TLDataJSON : TLObject diff --git a/src/TgSharp.TL/TL/TLDcOption.cs b/src/TgSharp.TL/TL/TLDcOption.cs index 749e16db..c1ed32d2 100644 --- a/src/TgSharp.TL/TL/TLDcOption.cs +++ b/src/TgSharp.TL/TL/TLDcOption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(414687501)] public class TLDcOption : TLObject diff --git a/src/TgSharp.TL/TL/TLDialog.cs b/src/TgSharp.TL/TL/TLDialog.cs index 9f6ab1fb..45e99278 100644 --- a/src/TgSharp.TL/TL/TLDialog.cs +++ b/src/TgSharp.TL/TL/TLDialog.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(739712882)] public class TLDialog : TLAbsDialog diff --git a/src/TgSharp.TL/TL/TLDialogFolder.cs b/src/TgSharp.TL/TL/TLDialogFolder.cs index 538c451d..b6de1093 100644 --- a/src/TgSharp.TL/TL/TLDialogFolder.cs +++ b/src/TgSharp.TL/TL/TLDialogFolder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1908216652)] public class TLDialogFolder : TLAbsDialog diff --git a/src/TgSharp.TL/TL/TLDialogPeer.cs b/src/TgSharp.TL/TL/TLDialogPeer.cs index 14e9453e..25a31754 100644 --- a/src/TgSharp.TL/TL/TLDialogPeer.cs +++ b/src/TgSharp.TL/TL/TLDialogPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-445792507)] public class TLDialogPeer : TLAbsDialogPeer diff --git a/src/TgSharp.TL/TL/TLDialogPeerFolder.cs b/src/TgSharp.TL/TL/TLDialogPeerFolder.cs index ddb8a425..a064dfa0 100644 --- a/src/TgSharp.TL/TL/TLDialogPeerFolder.cs +++ b/src/TgSharp.TL/TL/TLDialogPeerFolder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1363483106)] public class TLDialogPeerFolder : TLAbsDialogPeer diff --git a/src/TgSharp.TL/TL/TLDocument.cs b/src/TgSharp.TL/TL/TLDocument.cs index 6bbdbb43..7893d433 100644 --- a/src/TgSharp.TL/TL/TLDocument.cs +++ b/src/TgSharp.TL/TL/TLDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1683841855)] public class TLDocument : TLAbsDocument diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs b/src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs index af4197f1..ee90c4de 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeAnimated.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(297109817)] public class TLDocumentAttributeAnimated : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs b/src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs index e49ec467..18f7e5d9 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeAudio.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1739392570)] public class TLDocumentAttributeAudio : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs b/src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs index 6694cdd5..5fe96eb4 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeFilename.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(358154344)] public class TLDocumentAttributeFilename : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs b/src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs index f594ea28..ef2723e2 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeHasStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1744710921)] public class TLDocumentAttributeHasStickers : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs b/src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs index e15ca08d..5a9b1448 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeImageSize.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1815593308)] public class TLDocumentAttributeImageSize : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs b/src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs index 7c55e1ed..6fa7627f 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeSticker.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1662637586)] public class TLDocumentAttributeSticker : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs b/src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs index df7fcf4d..f33a785d 100644 --- a/src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs +++ b/src/TgSharp.TL/TL/TLDocumentAttributeVideo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(250621158)] public class TLDocumentAttributeVideo : TLAbsDocumentAttribute diff --git a/src/TgSharp.TL/TL/TLDocumentEmpty.cs b/src/TgSharp.TL/TL/TLDocumentEmpty.cs index 7f9bdd40..263855b6 100644 --- a/src/TgSharp.TL/TL/TLDocumentEmpty.cs +++ b/src/TgSharp.TL/TL/TLDocumentEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(922273905)] public class TLDocumentEmpty : TLAbsDocument diff --git a/src/TgSharp.TL/TL/TLDraftMessage.cs b/src/TgSharp.TL/TL/TLDraftMessage.cs index eadb450a..f42703b0 100644 --- a/src/TgSharp.TL/TL/TLDraftMessage.cs +++ b/src/TgSharp.TL/TL/TLDraftMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-40996577)] public class TLDraftMessage : TLAbsDraftMessage diff --git a/src/TgSharp.TL/TL/TLDraftMessageEmpty.cs b/src/TgSharp.TL/TL/TLDraftMessageEmpty.cs index 3e7b1f26..b5761287 100644 --- a/src/TgSharp.TL/TL/TLDraftMessageEmpty.cs +++ b/src/TgSharp.TL/TL/TLDraftMessageEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(453805082)] public class TLDraftMessageEmpty : TLAbsDraftMessage diff --git a/src/TgSharp.TL/TL/TLEmojiKeyword.cs b/src/TgSharp.TL/TL/TLEmojiKeyword.cs index 197bbd5b..ccfee74c 100644 --- a/src/TgSharp.TL/TL/TLEmojiKeyword.cs +++ b/src/TgSharp.TL/TL/TLEmojiKeyword.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-709641735)] public class TLEmojiKeyword : TLAbsEmojiKeyword diff --git a/src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs b/src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs index 00ebbddd..b69b5785 100644 --- a/src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs +++ b/src/TgSharp.TL/TL/TLEmojiKeywordDeleted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(594408994)] public class TLEmojiKeywordDeleted : TLAbsEmojiKeyword diff --git a/src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs b/src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs index 18bbef9a..cda93ea9 100644 --- a/src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs +++ b/src/TgSharp.TL/TL/TLEmojiKeywordsDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1556570557)] public class TLEmojiKeywordsDifference : TLObject diff --git a/src/TgSharp.TL/TL/TLEmojiLanguage.cs b/src/TgSharp.TL/TL/TLEmojiLanguage.cs index b1d46e2c..f9030d4b 100644 --- a/src/TgSharp.TL/TL/TLEmojiLanguage.cs +++ b/src/TgSharp.TL/TL/TLEmojiLanguage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1275374751)] public class TLEmojiLanguage : TLObject diff --git a/src/TgSharp.TL/TL/TLEmojiURL.cs b/src/TgSharp.TL/TL/TLEmojiURL.cs index c5efbf50..b9114725 100644 --- a/src/TgSharp.TL/TL/TLEmojiURL.cs +++ b/src/TgSharp.TL/TL/TLEmojiURL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1519029347)] public class TLEmojiURL : TLObject diff --git a/src/TgSharp.TL/TL/TLEncryptedChat.cs b/src/TgSharp.TL/TL/TLEncryptedChat.cs index 530fbbf3..3bd3ea22 100644 --- a/src/TgSharp.TL/TL/TLEncryptedChat.cs +++ b/src/TgSharp.TL/TL/TLEncryptedChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-94974410)] public class TLEncryptedChat : TLAbsEncryptedChat diff --git a/src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs b/src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs index 6d5fbb99..76a0ac7d 100644 --- a/src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs +++ b/src/TgSharp.TL/TL/TLEncryptedChatDiscarded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(332848423)] public class TLEncryptedChatDiscarded : TLAbsEncryptedChat diff --git a/src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs b/src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs index 48f89fa2..848be5df 100644 --- a/src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs +++ b/src/TgSharp.TL/TL/TLEncryptedChatEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1417756512)] public class TLEncryptedChatEmpty : TLAbsEncryptedChat diff --git a/src/TgSharp.TL/TL/TLEncryptedChatRequested.cs b/src/TgSharp.TL/TL/TLEncryptedChatRequested.cs index 3ca92b48..f2270c31 100644 --- a/src/TgSharp.TL/TL/TLEncryptedChatRequested.cs +++ b/src/TgSharp.TL/TL/TLEncryptedChatRequested.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-931638658)] public class TLEncryptedChatRequested : TLAbsEncryptedChat diff --git a/src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs b/src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs index 0332230d..fd4e1ce7 100644 --- a/src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs +++ b/src/TgSharp.TL/TL/TLEncryptedChatWaiting.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1006044124)] public class TLEncryptedChatWaiting : TLAbsEncryptedChat diff --git a/src/TgSharp.TL/TL/TLEncryptedFile.cs b/src/TgSharp.TL/TL/TLEncryptedFile.cs index 536b282b..9314f9da 100644 --- a/src/TgSharp.TL/TL/TLEncryptedFile.cs +++ b/src/TgSharp.TL/TL/TLEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1248893260)] public class TLEncryptedFile : TLAbsEncryptedFile diff --git a/src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs b/src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs index 9358c8ef..cc04aeaf 100644 --- a/src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs +++ b/src/TgSharp.TL/TL/TLEncryptedFileEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1038136962)] public class TLEncryptedFileEmpty : TLAbsEncryptedFile diff --git a/src/TgSharp.TL/TL/TLEncryptedMessage.cs b/src/TgSharp.TL/TL/TLEncryptedMessage.cs index 6898761d..1173679a 100644 --- a/src/TgSharp.TL/TL/TLEncryptedMessage.cs +++ b/src/TgSharp.TL/TL/TLEncryptedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-317144808)] public class TLEncryptedMessage : TLAbsEncryptedMessage diff --git a/src/TgSharp.TL/TL/TLEncryptedMessageService.cs b/src/TgSharp.TL/TL/TLEncryptedMessageService.cs index b040dafe..8f40dd94 100644 --- a/src/TgSharp.TL/TL/TLEncryptedMessageService.cs +++ b/src/TgSharp.TL/TL/TLEncryptedMessageService.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(594758406)] public class TLEncryptedMessageService : TLAbsEncryptedMessage diff --git a/src/TgSharp.TL/TL/TLError.cs b/src/TgSharp.TL/TL/TLError.cs index f3c11518..bfbb73ff 100644 --- a/src/TgSharp.TL/TL/TLError.cs +++ b/src/TgSharp.TL/TL/TLError.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-994444869)] public class TLError : TLObject diff --git a/src/TgSharp.TL/TL/TLExportedMessageLink.cs b/src/TgSharp.TL/TL/TLExportedMessageLink.cs index 2b255d5b..2ca0160b 100644 --- a/src/TgSharp.TL/TL/TLExportedMessageLink.cs +++ b/src/TgSharp.TL/TL/TLExportedMessageLink.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1571494644)] public class TLExportedMessageLink : TLObject diff --git a/src/TgSharp.TL/TL/TLFileHash.cs b/src/TgSharp.TL/TL/TLFileHash.cs index 83b42dba..be60ad35 100644 --- a/src/TgSharp.TL/TL/TLFileHash.cs +++ b/src/TgSharp.TL/TL/TLFileHash.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1648543603)] public class TLFileHash : TLObject diff --git a/src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs b/src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs index 821ddf89..ee2b88ad 100644 --- a/src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs +++ b/src/TgSharp.TL/TL/TLFileLocationToBeDeprecated.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1132476723)] public class TLFileLocationToBeDeprecated : TLObject diff --git a/src/TgSharp.TL/TL/TLFolder.cs b/src/TgSharp.TL/TL/TLFolder.cs index fd1c665c..19861a47 100644 --- a/src/TgSharp.TL/TL/TLFolder.cs +++ b/src/TgSharp.TL/TL/TLFolder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-11252123)] public class TLFolder : TLObject diff --git a/src/TgSharp.TL/TL/TLFolderPeer.cs b/src/TgSharp.TL/TL/TLFolderPeer.cs index 3106a3ae..568c8f32 100644 --- a/src/TgSharp.TL/TL/TLFolderPeer.cs +++ b/src/TgSharp.TL/TL/TLFolderPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-373643672)] public class TLFolderPeer : TLObject diff --git a/src/TgSharp.TL/TL/TLFoundGif.cs b/src/TgSharp.TL/TL/TLFoundGif.cs index 31e3aa4b..1cae33e3 100644 --- a/src/TgSharp.TL/TL/TLFoundGif.cs +++ b/src/TgSharp.TL/TL/TLFoundGif.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(372165663)] public class TLFoundGif : TLAbsFoundGif diff --git a/src/TgSharp.TL/TL/TLFoundGifCached.cs b/src/TgSharp.TL/TL/TLFoundGifCached.cs index 36b51a18..d86578e7 100644 --- a/src/TgSharp.TL/TL/TLFoundGifCached.cs +++ b/src/TgSharp.TL/TL/TLFoundGifCached.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1670052855)] public class TLFoundGifCached : TLAbsFoundGif diff --git a/src/TgSharp.TL/TL/TLGame.cs b/src/TgSharp.TL/TL/TLGame.cs index 9699d300..c15058d8 100644 --- a/src/TgSharp.TL/TL/TLGame.cs +++ b/src/TgSharp.TL/TL/TLGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1107729093)] public class TLGame : TLObject diff --git a/src/TgSharp.TL/TL/TLGeoPoint.cs b/src/TgSharp.TL/TL/TLGeoPoint.cs index d71e1ee7..8e83ef8c 100644 --- a/src/TgSharp.TL/TL/TLGeoPoint.cs +++ b/src/TgSharp.TL/TL/TLGeoPoint.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(43446532)] public class TLGeoPoint : TLAbsGeoPoint diff --git a/src/TgSharp.TL/TL/TLGeoPointEmpty.cs b/src/TgSharp.TL/TL/TLGeoPointEmpty.cs index 0c186f2a..ef28993a 100644 --- a/src/TgSharp.TL/TL/TLGeoPointEmpty.cs +++ b/src/TgSharp.TL/TL/TLGeoPointEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(286776671)] public class TLGeoPointEmpty : TLAbsGeoPoint diff --git a/src/TgSharp.TL/TL/TLHighScore.cs b/src/TgSharp.TL/TL/TLHighScore.cs index 23fce160..351eac03 100644 --- a/src/TgSharp.TL/TL/TLHighScore.cs +++ b/src/TgSharp.TL/TL/TLHighScore.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1493171408)] public class TLHighScore : TLObject diff --git a/src/TgSharp.TL/TL/TLImportedContact.cs b/src/TgSharp.TL/TL/TLImportedContact.cs index c84e0cdb..2042b5ff 100644 --- a/src/TgSharp.TL/TL/TLImportedContact.cs +++ b/src/TgSharp.TL/TL/TLImportedContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-805141448)] public class TLImportedContact : TLObject diff --git a/src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs b/src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs index 1d996c63..61fbf4f5 100644 --- a/src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs +++ b/src/TgSharp.TL/TL/TLInlineBotSwitchPM.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1008755359)] public class TLInlineBotSwitchPM : TLObject diff --git a/src/TgSharp.TL/TL/TLInputAppEvent.cs b/src/TgSharp.TL/TL/TLInputAppEvent.cs index 0b53ed8f..8d39d278 100644 --- a/src/TgSharp.TL/TL/TLInputAppEvent.cs +++ b/src/TgSharp.TL/TL/TLInputAppEvent.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(488313413)] public class TLInputAppEvent : TLObject diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs index a151df20..b9d34330 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1262639204)] public class TLInputBotInlineMessageGame : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs index 67eb300e..9ad10188 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageID.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1995686519)] public class TLInputBotInlineMessageID : TLObject diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs index 94fc517d..2e33103f 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaAuto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(864077702)] public class TLInputBotInlineMessageMediaAuto : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs index db57eceb..4f22541e 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1494368259)] public class TLInputBotInlineMessageMediaContact : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs index 9c0c7a2a..f2f14cb9 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaGeo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1045340827)] public class TLInputBotInlineMessageMediaGeo : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs index 2b54153b..d02f3b96 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageMediaVenue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1098628881)] public class TLInputBotInlineMessageMediaVenue : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs b/src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs index 7c98534c..9fb09f82 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineMessageText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1036876423)] public class TLInputBotInlineMessageText : TLAbsInputBotInlineMessage diff --git a/src/TgSharp.TL/TL/TLInputBotInlineResult.cs b/src/TgSharp.TL/TL/TLInputBotInlineResult.cs index ac254bfa..5b44d2d6 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineResult.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineResult.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2000710887)] public class TLInputBotInlineResult : TLAbsInputBotInlineResult diff --git a/src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs index 5692940e..f9e94f75 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineResultDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-459324)] public class TLInputBotInlineResultDocument : TLAbsInputBotInlineResult diff --git a/src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs index ec4d93ba..33c14712 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineResultGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1336154098)] public class TLInputBotInlineResultGame : TLAbsInputBotInlineResult diff --git a/src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs b/src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs index e1427b4d..4d982e6b 100644 --- a/src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputBotInlineResultPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1462213465)] public class TLInputBotInlineResultPhoto : TLAbsInputBotInlineResult diff --git a/src/TgSharp.TL/TL/TLInputChannel.cs b/src/TgSharp.TL/TL/TLInputChannel.cs index 72b2e4a3..b0c7870d 100644 --- a/src/TgSharp.TL/TL/TLInputChannel.cs +++ b/src/TgSharp.TL/TL/TLInputChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1343524562)] public class TLInputChannel : TLAbsInputChannel diff --git a/src/TgSharp.TL/TL/TLInputChannelEmpty.cs b/src/TgSharp.TL/TL/TLInputChannelEmpty.cs index d76b0dc1..24dce533 100644 --- a/src/TgSharp.TL/TL/TLInputChannelEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputChannelEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-292807034)] public class TLInputChannelEmpty : TLAbsInputChannel diff --git a/src/TgSharp.TL/TL/TLInputChannelFromMessage.cs b/src/TgSharp.TL/TL/TLInputChannelFromMessage.cs index 2507c427..001221ea 100644 --- a/src/TgSharp.TL/TL/TLInputChannelFromMessage.cs +++ b/src/TgSharp.TL/TL/TLInputChannelFromMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(707290417)] public class TLInputChannelFromMessage : TLAbsInputChannel diff --git a/src/TgSharp.TL/TL/TLInputChatPhoto.cs b/src/TgSharp.TL/TL/TLInputChatPhoto.cs index 13682bfd..c3b69173 100644 --- a/src/TgSharp.TL/TL/TLInputChatPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputChatPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1991004873)] public class TLInputChatPhoto : TLAbsInputChatPhoto diff --git a/src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs b/src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs index 2c9354be..4cbf4965 100644 --- a/src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputChatPhotoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(480546647)] public class TLInputChatPhotoEmpty : TLAbsInputChatPhoto diff --git a/src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs b/src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs index d5b8be30..b2abc002 100644 --- a/src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputChatUploadedPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1837345356)] public class TLInputChatUploadedPhoto : TLAbsInputChatPhoto diff --git a/src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs b/src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs index 49d86ce4..278a9990 100644 --- a/src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputCheckPasswordEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1736378792)] public class TLInputCheckPasswordEmpty : TLAbsInputCheckPasswordSRP diff --git a/src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs b/src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs index 51512f2a..40d71374 100644 --- a/src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs +++ b/src/TgSharp.TL/TL/TLInputCheckPasswordSRP.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-763367294)] public class TLInputCheckPasswordSRP : TLAbsInputCheckPasswordSRP diff --git a/src/TgSharp.TL/TL/TLInputClientProxy.cs b/src/TgSharp.TL/TL/TLInputClientProxy.cs index f1008b24..7b03f305 100644 --- a/src/TgSharp.TL/TL/TLInputClientProxy.cs +++ b/src/TgSharp.TL/TL/TLInputClientProxy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1968737087)] public class TLInputClientProxy : TLObject diff --git a/src/TgSharp.TL/TL/TLInputDialogPeer.cs b/src/TgSharp.TL/TL/TLInputDialogPeer.cs index 5fc91633..459a8f0a 100644 --- a/src/TgSharp.TL/TL/TLInputDialogPeer.cs +++ b/src/TgSharp.TL/TL/TLInputDialogPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-55902537)] public class TLInputDialogPeer : TLAbsInputDialogPeer diff --git a/src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs b/src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs index d366ad41..ceb6b487 100644 --- a/src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs +++ b/src/TgSharp.TL/TL/TLInputDialogPeerFolder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1684014375)] public class TLInputDialogPeerFolder : TLAbsInputDialogPeer diff --git a/src/TgSharp.TL/TL/TLInputDocument.cs b/src/TgSharp.TL/TL/TLInputDocument.cs index 99806675..5899b16c 100644 --- a/src/TgSharp.TL/TL/TLInputDocument.cs +++ b/src/TgSharp.TL/TL/TLInputDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(448771445)] public class TLInputDocument : TLAbsInputDocument diff --git a/src/TgSharp.TL/TL/TLInputDocumentEmpty.cs b/src/TgSharp.TL/TL/TLInputDocumentEmpty.cs index 335e85fc..087f5827 100644 --- a/src/TgSharp.TL/TL/TLInputDocumentEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputDocumentEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1928391342)] public class TLInputDocumentEmpty : TLAbsInputDocument diff --git a/src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs b/src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs index 271a3f24..534d6df4 100644 --- a/src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputDocumentFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1160743548)] public class TLInputDocumentFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputEncryptedChat.cs b/src/TgSharp.TL/TL/TLInputEncryptedChat.cs index 2fa4c3ce..18d14c2b 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedChat.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-247351839)] public class TLInputEncryptedChat : TLObject diff --git a/src/TgSharp.TL/TL/TLInputEncryptedFile.cs b/src/TgSharp.TL/TL/TLInputEncryptedFile.cs index 7919b087..68bfd80d 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedFile.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1511503333)] public class TLInputEncryptedFile : TLAbsInputEncryptedFile diff --git a/src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs index 76883a12..166fdb26 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(767652808)] public class TLInputEncryptedFileBigUploaded : TLAbsInputEncryptedFile diff --git a/src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs index c62cfde5..6c4e0c5b 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedFileEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(406307684)] public class TLInputEncryptedFileEmpty : TLAbsInputEncryptedFile diff --git a/src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs index f5aef5c4..57bf30b2 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-182231723)] public class TLInputEncryptedFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs b/src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs index e16520d4..7c622f12 100644 --- a/src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs +++ b/src/TgSharp.TL/TL/TLInputEncryptedFileUploaded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1690108678)] public class TLInputEncryptedFileUploaded : TLAbsInputEncryptedFile diff --git a/src/TgSharp.TL/TL/TLInputFile.cs b/src/TgSharp.TL/TL/TLInputFile.cs index 149b3fb2..f4c7b3c0 100644 --- a/src/TgSharp.TL/TL/TLInputFile.cs +++ b/src/TgSharp.TL/TL/TLInputFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-181407105)] public class TLInputFile : TLAbsInputFile diff --git a/src/TgSharp.TL/TL/TLInputFileBig.cs b/src/TgSharp.TL/TL/TLInputFileBig.cs index 7201ed0a..54907a1d 100644 --- a/src/TgSharp.TL/TL/TLInputFileBig.cs +++ b/src/TgSharp.TL/TL/TLInputFileBig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-95482955)] public class TLInputFileBig : TLAbsInputFile diff --git a/src/TgSharp.TL/TL/TLInputFileLocation.cs b/src/TgSharp.TL/TL/TLInputFileLocation.cs index bc5da793..8a5d3df0 100644 --- a/src/TgSharp.TL/TL/TLInputFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-539317279)] public class TLInputFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputFolderPeer.cs b/src/TgSharp.TL/TL/TLInputFolderPeer.cs index 8b6f0e7c..71a4c1cd 100644 --- a/src/TgSharp.TL/TL/TLInputFolderPeer.cs +++ b/src/TgSharp.TL/TL/TLInputFolderPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-70073706)] public class TLInputFolderPeer : TLObject diff --git a/src/TgSharp.TL/TL/TLInputGameID.cs b/src/TgSharp.TL/TL/TLInputGameID.cs index e56dc121..d9ea89e9 100644 --- a/src/TgSharp.TL/TL/TLInputGameID.cs +++ b/src/TgSharp.TL/TL/TLInputGameID.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(53231223)] public class TLInputGameID : TLAbsInputGame diff --git a/src/TgSharp.TL/TL/TLInputGameShortName.cs b/src/TgSharp.TL/TL/TLInputGameShortName.cs index 4cd81a08..6756ce1d 100644 --- a/src/TgSharp.TL/TL/TLInputGameShortName.cs +++ b/src/TgSharp.TL/TL/TLInputGameShortName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1020139510)] public class TLInputGameShortName : TLAbsInputGame diff --git a/src/TgSharp.TL/TL/TLInputGeoPoint.cs b/src/TgSharp.TL/TL/TLInputGeoPoint.cs index 94ec5183..ea4e42fe 100644 --- a/src/TgSharp.TL/TL/TLInputGeoPoint.cs +++ b/src/TgSharp.TL/TL/TLInputGeoPoint.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-206066487)] public class TLInputGeoPoint : TLAbsInputGeoPoint diff --git a/src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs b/src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs index 536bd9c0..9fa2fdf9 100644 --- a/src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputGeoPointEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-457104426)] public class TLInputGeoPointEmpty : TLAbsInputGeoPoint diff --git a/src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs b/src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs index b88cdd29..6fe543d3 100644 --- a/src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs +++ b/src/TgSharp.TL/TL/TLInputKeyboardButtonUrlAuth.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-802258988)] public class TLInputKeyboardButtonUrlAuth : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLInputMediaContact.cs b/src/TgSharp.TL/TL/TLInputMediaContact.cs index f40d40bc..dacff5d8 100644 --- a/src/TgSharp.TL/TL/TLInputMediaContact.cs +++ b/src/TgSharp.TL/TL/TLInputMediaContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-122978821)] public class TLInputMediaContact : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaDocument.cs b/src/TgSharp.TL/TL/TLInputMediaDocument.cs index 56f367f4..900ec49b 100644 --- a/src/TgSharp.TL/TL/TLInputMediaDocument.cs +++ b/src/TgSharp.TL/TL/TLInputMediaDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(598418386)] public class TLInputMediaDocument : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs b/src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs index b5be8d43..61ef2b8a 100644 --- a/src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs +++ b/src/TgSharp.TL/TL/TLInputMediaDocumentExternal.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-78455655)] public class TLInputMediaDocumentExternal : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaEmpty.cs b/src/TgSharp.TL/TL/TLInputMediaEmpty.cs index 719c19b9..b044cd53 100644 --- a/src/TgSharp.TL/TL/TLInputMediaEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputMediaEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1771768449)] public class TLInputMediaEmpty : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaGame.cs b/src/TgSharp.TL/TL/TLInputMediaGame.cs index dbf26a56..b3abc612 100644 --- a/src/TgSharp.TL/TL/TLInputMediaGame.cs +++ b/src/TgSharp.TL/TL/TLInputMediaGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-750828557)] public class TLInputMediaGame : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaGeoLive.cs b/src/TgSharp.TL/TL/TLInputMediaGeoLive.cs index 9631c6be..890ccadf 100644 --- a/src/TgSharp.TL/TL/TLInputMediaGeoLive.cs +++ b/src/TgSharp.TL/TL/TLInputMediaGeoLive.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-833715459)] public class TLInputMediaGeoLive : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs b/src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs index f3d0d6ae..f91a3671 100644 --- a/src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs +++ b/src/TgSharp.TL/TL/TLInputMediaGeoPoint.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-104578748)] public class TLInputMediaGeoPoint : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaGifExternal.cs b/src/TgSharp.TL/TL/TLInputMediaGifExternal.cs index 92fee658..1d0c030e 100644 --- a/src/TgSharp.TL/TL/TLInputMediaGifExternal.cs +++ b/src/TgSharp.TL/TL/TLInputMediaGifExternal.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1212395773)] public class TLInputMediaGifExternal : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaInvoice.cs b/src/TgSharp.TL/TL/TLInputMediaInvoice.cs index 937886a4..0aca78d1 100644 --- a/src/TgSharp.TL/TL/TLInputMediaInvoice.cs +++ b/src/TgSharp.TL/TL/TLInputMediaInvoice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-186607933)] public class TLInputMediaInvoice : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaPhoto.cs b/src/TgSharp.TL/TL/TLInputMediaPhoto.cs index 3e609109..a5be246d 100644 --- a/src/TgSharp.TL/TL/TLInputMediaPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputMediaPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1279654347)] public class TLInputMediaPhoto : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs b/src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs index 94a0eb83..382ce56e 100644 --- a/src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs +++ b/src/TgSharp.TL/TL/TLInputMediaPhotoExternal.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-440664550)] public class TLInputMediaPhotoExternal : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaPoll.cs b/src/TgSharp.TL/TL/TLInputMediaPoll.cs index 5df922d0..4cdb07c7 100644 --- a/src/TgSharp.TL/TL/TLInputMediaPoll.cs +++ b/src/TgSharp.TL/TL/TLInputMediaPoll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(112424539)] public class TLInputMediaPoll : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs b/src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs index f9d7ac4c..c737bbf6 100644 --- a/src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs +++ b/src/TgSharp.TL/TL/TLInputMediaUploadedDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1530447553)] public class TLInputMediaUploadedDocument : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs b/src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs index 904f64b3..897b0f8d 100644 --- a/src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputMediaUploadedPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(505969924)] public class TLInputMediaUploadedPhoto : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMediaVenue.cs b/src/TgSharp.TL/TL/TLInputMediaVenue.cs index 1174e96e..920faf34 100644 --- a/src/TgSharp.TL/TL/TLInputMediaVenue.cs +++ b/src/TgSharp.TL/TL/TLInputMediaVenue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1052959727)] public class TLInputMediaVenue : TLAbsInputMedia diff --git a/src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs b/src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs index 36133855..6d9ca6f8 100644 --- a/src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs +++ b/src/TgSharp.TL/TL/TLInputMessageEntityMentionName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(546203849)] public class TLInputMessageEntityMentionName : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLInputMessageID.cs b/src/TgSharp.TL/TL/TLInputMessageID.cs index 30574d2d..2be7fefa 100644 --- a/src/TgSharp.TL/TL/TLInputMessageID.cs +++ b/src/TgSharp.TL/TL/TLInputMessageID.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1502174430)] public class TLInputMessageID : TLAbsInputMessage diff --git a/src/TgSharp.TL/TL/TLInputMessagePinned.cs b/src/TgSharp.TL/TL/TLInputMessagePinned.cs index 27a54fd7..8f50dc0a 100644 --- a/src/TgSharp.TL/TL/TLInputMessagePinned.cs +++ b/src/TgSharp.TL/TL/TLInputMessagePinned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2037963464)] public class TLInputMessagePinned : TLAbsInputMessage diff --git a/src/TgSharp.TL/TL/TLInputMessageReplyTo.cs b/src/TgSharp.TL/TL/TLInputMessageReplyTo.cs index edc8f2d0..c5a9316e 100644 --- a/src/TgSharp.TL/TL/TLInputMessageReplyTo.cs +++ b/src/TgSharp.TL/TL/TLInputMessageReplyTo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1160215659)] public class TLInputMessageReplyTo : TLAbsInputMessage diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs index df1bb673..c2a50260 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterChatPhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(975236280)] public class TLInputMessagesFilterChatPhotos : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs index e4b4eec6..93e33ae8 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-530392189)] public class TLInputMessagesFilterContacts : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs index e3f3b08c..be98ce24 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1629621880)] public class TLInputMessagesFilterDocument : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs index 65f81235..064b6bcd 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1474492012)] public class TLInputMessagesFilterEmpty : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs index 4e9f36bd..54d04c52 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterGeo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-419271411)] public class TLInputMessagesFilterGeo : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs index 64419e93..9c9313ae 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterGif.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-3644025)] public class TLInputMessagesFilterGif : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs index d7b4f4d3..841c3275 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterMusic.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(928101534)] public class TLInputMessagesFilterMusic : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs index 7fd305a3..9f489014 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterMyMentions.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1040652646)] public class TLInputMessagesFilterMyMentions : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs index 2ce97f75..a83dc0cb 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterPhoneCalls.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2134272152)] public class TLInputMessagesFilterPhoneCalls : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs index 0dcf7b40..8453efb9 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotoVideo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1458172132)] public class TLInputMessagesFilterPhotoVideo : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs index 3914ab55..ba2357b7 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterPhotos.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1777752804)] public class TLInputMessagesFilterPhotos : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs index e4b835ee..fa8bda0c 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVideo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1253451181)] public class TLInputMessagesFilterRoundVideo : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs index 73811a6f..ab6fac20 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterRoundVoice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2054952868)] public class TLInputMessagesFilterRoundVoice : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs index 03c274ec..78cab661 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2129714567)] public class TLInputMessagesFilterUrl : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs index 09d5482f..531172ef 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterVideo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1614803355)] public class TLInputMessagesFilterVideo : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs b/src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs index a5a9303a..db8185ae 100644 --- a/src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs +++ b/src/TgSharp.TL/TL/TLInputMessagesFilterVoice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1358283666)] public class TLInputMessagesFilterVoice : TLAbsMessagesFilter diff --git a/src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs b/src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs index 08b8d58a..abc34450 100644 --- a/src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs +++ b/src/TgSharp.TL/TL/TLInputNotifyBroadcasts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1311015810)] public class TLInputNotifyBroadcasts : TLAbsInputNotifyPeer diff --git a/src/TgSharp.TL/TL/TLInputNotifyChats.cs b/src/TgSharp.TL/TL/TLInputNotifyChats.cs index 23df02a8..def73a66 100644 --- a/src/TgSharp.TL/TL/TLInputNotifyChats.cs +++ b/src/TgSharp.TL/TL/TLInputNotifyChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1251338318)] public class TLInputNotifyChats : TLAbsInputNotifyPeer diff --git a/src/TgSharp.TL/TL/TLInputNotifyPeer.cs b/src/TgSharp.TL/TL/TLInputNotifyPeer.cs index 7d0668b9..ac29446e 100644 --- a/src/TgSharp.TL/TL/TLInputNotifyPeer.cs +++ b/src/TgSharp.TL/TL/TLInputNotifyPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1195615476)] public class TLInputNotifyPeer : TLAbsInputNotifyPeer diff --git a/src/TgSharp.TL/TL/TLInputNotifyUsers.cs b/src/TgSharp.TL/TL/TLInputNotifyUsers.cs index 5a152b17..ce521300 100644 --- a/src/TgSharp.TL/TL/TLInputNotifyUsers.cs +++ b/src/TgSharp.TL/TL/TLInputNotifyUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(423314455)] public class TLInputNotifyUsers : TLAbsInputNotifyPeer diff --git a/src/TgSharp.TL/TL/TLInputPaymentCredentials.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentials.cs index 37db7e29..3c39cf9b 100644 --- a/src/TgSharp.TL/TL/TLInputPaymentCredentials.cs +++ b/src/TgSharp.TL/TL/TLInputPaymentCredentials.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(873977640)] public class TLInputPaymentCredentials : TLAbsInputPaymentCredentials diff --git a/src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs index 67a58192..0488c6d8 100644 --- a/src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs +++ b/src/TgSharp.TL/TL/TLInputPaymentCredentialsAndroidPay.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-905587442)] public class TLInputPaymentCredentialsAndroidPay : TLAbsInputPaymentCredentials diff --git a/src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs index 632b2b9f..745e71c9 100644 --- a/src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs +++ b/src/TgSharp.TL/TL/TLInputPaymentCredentialsApplePay.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(178373535)] public class TLInputPaymentCredentialsApplePay : TLAbsInputPaymentCredentials diff --git a/src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs b/src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs index 4b0b3ddd..a596c09d 100644 --- a/src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs +++ b/src/TgSharp.TL/TL/TLInputPaymentCredentialsSaved.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1056001329)] public class TLInputPaymentCredentialsSaved : TLAbsInputPaymentCredentials diff --git a/src/TgSharp.TL/TL/TLInputPeerChannel.cs b/src/TgSharp.TL/TL/TLInputPeerChannel.cs index 8cb74141..d013de80 100644 --- a/src/TgSharp.TL/TL/TLInputPeerChannel.cs +++ b/src/TgSharp.TL/TL/TLInputPeerChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(548253432)] public class TLInputPeerChannel : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs b/src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs index 8d829914..234907eb 100644 --- a/src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs +++ b/src/TgSharp.TL/TL/TLInputPeerChannelFromMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1667893317)] public class TLInputPeerChannelFromMessage : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerChat.cs b/src/TgSharp.TL/TL/TLInputPeerChat.cs index 4bbb2c34..6faddb1b 100644 --- a/src/TgSharp.TL/TL/TLInputPeerChat.cs +++ b/src/TgSharp.TL/TL/TLInputPeerChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(396093539)] public class TLInputPeerChat : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerEmpty.cs b/src/TgSharp.TL/TL/TLInputPeerEmpty.cs index ad6f8890..7729d212 100644 --- a/src/TgSharp.TL/TL/TLInputPeerEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputPeerEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2134579434)] public class TLInputPeerEmpty : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs b/src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs index eba329a1..0a3d2778 100644 --- a/src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs +++ b/src/TgSharp.TL/TL/TLInputPeerNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1673717362)] public class TLInputPeerNotifySettings : TLObject diff --git a/src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs b/src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs index ef53f85d..a744e6ca 100644 --- a/src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputPeerPhotoFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(668375447)] public class TLInputPeerPhotoFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputPeerSelf.cs b/src/TgSharp.TL/TL/TLInputPeerSelf.cs index 91088aac..20e70d16 100644 --- a/src/TgSharp.TL/TL/TLInputPeerSelf.cs +++ b/src/TgSharp.TL/TL/TLInputPeerSelf.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2107670217)] public class TLInputPeerSelf : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerUser.cs b/src/TgSharp.TL/TL/TLInputPeerUser.cs index e46a37cc..b9cb1329 100644 --- a/src/TgSharp.TL/TL/TLInputPeerUser.cs +++ b/src/TgSharp.TL/TL/TLInputPeerUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2072935910)] public class TLInputPeerUser : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs b/src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs index b5be22ce..750839e6 100644 --- a/src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs +++ b/src/TgSharp.TL/TL/TLInputPeerUserFromMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(398123750)] public class TLInputPeerUserFromMessage : TLAbsInputPeer diff --git a/src/TgSharp.TL/TL/TLInputPhoneCall.cs b/src/TgSharp.TL/TL/TLInputPhoneCall.cs index 81a9f354..dacb6c56 100644 --- a/src/TgSharp.TL/TL/TLInputPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLInputPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(506920429)] public class TLInputPhoneCall : TLObject diff --git a/src/TgSharp.TL/TL/TLInputPhoneContact.cs b/src/TgSharp.TL/TL/TLInputPhoneContact.cs index 05c3811d..7ef6db0d 100644 --- a/src/TgSharp.TL/TL/TLInputPhoneContact.cs +++ b/src/TgSharp.TL/TL/TLInputPhoneContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-208488460)] public class TLInputPhoneContact : TLObject diff --git a/src/TgSharp.TL/TL/TLInputPhoto.cs b/src/TgSharp.TL/TL/TLInputPhoto.cs index f8d9b62d..4aaaebd2 100644 --- a/src/TgSharp.TL/TL/TLInputPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1001634122)] public class TLInputPhoto : TLAbsInputPhoto diff --git a/src/TgSharp.TL/TL/TLInputPhotoEmpty.cs b/src/TgSharp.TL/TL/TLInputPhotoEmpty.cs index 17032b4a..2125edcb 100644 --- a/src/TgSharp.TL/TL/TLInputPhotoEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputPhotoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(483901197)] public class TLInputPhotoEmpty : TLAbsInputPhoto diff --git a/src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs b/src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs index 2b685780..103f2767 100644 --- a/src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputPhotoFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1075322878)] public class TLInputPhotoFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs b/src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs index c98ee7fd..c41eecb8 100644 --- a/src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputPhotoLegacyFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-667654413)] public class TLInputPhotoLegacyFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs index 1a32111d..83a60eac 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyAddedByPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-786326563)] public class TLInputPrivacyKeyAddedByPhone : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs index d49d2208..b294fab5 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1107622874)] public class TLInputPrivacyKeyChatInvite : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs index 38715af3..f41f0e28 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyForwards.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1529000952)] public class TLInputPrivacyKeyForwards : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs index 084e4ae4..7d075f00 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-88417185)] public class TLInputPrivacyKeyPhoneCall : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs index 623f9fcc..5a71a4c5 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneNumber.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(55761658)] public class TLInputPrivacyKeyPhoneNumber : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs index 0bc53a57..272c8683 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyPhoneP2P.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-610373422)] public class TLInputPrivacyKeyPhoneP2P : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs index 30ac7c9f..60369a35 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1461304012)] public class TLInputPrivacyKeyProfilePhoto : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs b/src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs index 8d8999c1..2ffd584a 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyKeyStatusTimestamp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1335282456)] public class TLInputPrivacyKeyStatusTimestamp : TLAbsInputPrivacyKey diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs index 494bf8ac..892b0daf 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowAll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(407582158)] public class TLInputPrivacyValueAllowAll : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs index d8c4de9f..944c22b9 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1283572154)] public class TLInputPrivacyValueAllowChatParticipants : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs index 33268104..8393ed12 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(218751099)] public class TLInputPrivacyValueAllowContacts : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs index 9983b5fb..f3e0601c 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueAllowUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(320652927)] public class TLInputPrivacyValueAllowUsers : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs index 21d0335c..e2d699fd 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowAll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-697604407)] public class TLInputPrivacyValueDisallowAll : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs index ce5600fe..571b7bf2 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-668769361)] public class TLInputPrivacyValueDisallowChatParticipants : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs index 0a1bb384..d3b65155 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(195371015)] public class TLInputPrivacyValueDisallowContacts : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs index 40217d5e..bfc7fc34 100644 --- a/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs +++ b/src/TgSharp.TL/TL/TLInputPrivacyValueDisallowUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1877932953)] public class TLInputPrivacyValueDisallowUsers : TLAbsInputPrivacyRule diff --git a/src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs b/src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs index 65940f87..95aa4755 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonChildAbuse.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1376497949)] public class TLInputReportReasonChildAbuse : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs b/src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs index 19cc064e..4ac126f4 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonCopyright.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1685456582)] public class TLInputReportReasonCopyright : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs b/src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs index 76068808..c46b9dc5 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonGeoIrrelevant.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-606798099)] public class TLInputReportReasonGeoIrrelevant : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonOther.cs b/src/TgSharp.TL/TL/TLInputReportReasonOther.cs index 7bd055dc..6728533a 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonOther.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonOther.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-512463606)] public class TLInputReportReasonOther : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonPornography.cs b/src/TgSharp.TL/TL/TLInputReportReasonPornography.cs index 80498cbb..4296f229 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonPornography.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonPornography.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(777640226)] public class TLInputReportReasonPornography : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonSpam.cs b/src/TgSharp.TL/TL/TLInputReportReasonSpam.cs index 621affed..94b830e2 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonSpam.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonSpam.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1490799288)] public class TLInputReportReasonSpam : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputReportReasonViolence.cs b/src/TgSharp.TL/TL/TLInputReportReasonViolence.cs index b9472482..20632f34 100644 --- a/src/TgSharp.TL/TL/TLInputReportReasonViolence.cs +++ b/src/TgSharp.TL/TL/TLInputReportReasonViolence.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(505595789)] public class TLInputReportReasonViolence : TLAbsReportReason diff --git a/src/TgSharp.TL/TL/TLInputSecureFile.cs b/src/TgSharp.TL/TL/TLInputSecureFile.cs index 18f4a919..53460e9b 100644 --- a/src/TgSharp.TL/TL/TLInputSecureFile.cs +++ b/src/TgSharp.TL/TL/TLInputSecureFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1399317950)] public class TLInputSecureFile : TLAbsInputSecureFile diff --git a/src/TgSharp.TL/TL/TLInputSecureFileLocation.cs b/src/TgSharp.TL/TL/TLInputSecureFileLocation.cs index f0e482c3..3cced317 100644 --- a/src/TgSharp.TL/TL/TLInputSecureFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputSecureFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-876089816)] public class TLInputSecureFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs b/src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs index f61fdc7c..78d7a9ab 100644 --- a/src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs +++ b/src/TgSharp.TL/TL/TLInputSecureFileUploaded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(859091184)] public class TLInputSecureFileUploaded : TLAbsInputSecureFile diff --git a/src/TgSharp.TL/TL/TLInputSecureValue.cs b/src/TgSharp.TL/TL/TLInputSecureValue.cs index 32c86e02..abcb7e5b 100644 --- a/src/TgSharp.TL/TL/TLInputSecureValue.cs +++ b/src/TgSharp.TL/TL/TLInputSecureValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-618540889)] public class TLInputSecureValue : TLObject diff --git a/src/TgSharp.TL/TL/TLInputSingleMedia.cs b/src/TgSharp.TL/TL/TLInputSingleMedia.cs index 9a5ef37d..7fc339e4 100644 --- a/src/TgSharp.TL/TL/TLInputSingleMedia.cs +++ b/src/TgSharp.TL/TL/TLInputSingleMedia.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(482797855)] public class TLInputSingleMedia : TLObject diff --git a/src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs b/src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs index 1d0ebcde..c35c55a0 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetAnimatedEmoji.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(42402760)] public class TLInputStickerSetAnimatedEmoji : TLAbsInputStickerSet diff --git a/src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs b/src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs index b9bf26fd..29635594 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-4838507)] public class TLInputStickerSetEmpty : TLAbsInputStickerSet diff --git a/src/TgSharp.TL/TL/TLInputStickerSetID.cs b/src/TgSharp.TL/TL/TLInputStickerSetID.cs index 83efac31..59950485 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetID.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetID.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1645763991)] public class TLInputStickerSetID : TLAbsInputStickerSet diff --git a/src/TgSharp.TL/TL/TLInputStickerSetItem.cs b/src/TgSharp.TL/TL/TLInputStickerSetItem.cs index f33a5943..dccf8f23 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetItem.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetItem.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-6249322)] public class TLInputStickerSetItem : TLObject diff --git a/src/TgSharp.TL/TL/TLInputStickerSetShortName.cs b/src/TgSharp.TL/TL/TLInputStickerSetShortName.cs index 5c7c4917..9cfbb12b 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetShortName.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetShortName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2044933984)] public class TLInputStickerSetShortName : TLAbsInputStickerSet diff --git a/src/TgSharp.TL/TL/TLInputStickerSetThumb.cs b/src/TgSharp.TL/TL/TLInputStickerSetThumb.cs index 0779e7e4..97806bbf 100644 --- a/src/TgSharp.TL/TL/TLInputStickerSetThumb.cs +++ b/src/TgSharp.TL/TL/TLInputStickerSetThumb.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(230353641)] public class TLInputStickerSetThumb : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs b/src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs index 488b4a45..9ea7727a 100644 --- a/src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs +++ b/src/TgSharp.TL/TL/TLInputStickeredMediaDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(70813275)] public class TLInputStickeredMediaDocument : TLAbsInputStickeredMedia diff --git a/src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs b/src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs index 0b3401e2..16228816 100644 --- a/src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs +++ b/src/TgSharp.TL/TL/TLInputStickeredMediaPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1251549527)] public class TLInputStickeredMediaPhoto : TLAbsInputStickeredMedia diff --git a/src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs b/src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs index b4894e44..7b9cb9fa 100644 --- a/src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputTakeoutFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(700340377)] public class TLInputTakeoutFileLocation : TLAbsInputFileLocation diff --git a/src/TgSharp.TL/TL/TLInputTheme.cs b/src/TgSharp.TL/TL/TLInputTheme.cs index c1a6d99e..1b43ce1a 100644 --- a/src/TgSharp.TL/TL/TLInputTheme.cs +++ b/src/TgSharp.TL/TL/TLInputTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1012306921)] public class TLInputTheme : TLAbsInputTheme diff --git a/src/TgSharp.TL/TL/TLInputThemeSettings.cs b/src/TgSharp.TL/TL/TLInputThemeSettings.cs index d7030da9..3c07bba3 100644 --- a/src/TgSharp.TL/TL/TLInputThemeSettings.cs +++ b/src/TgSharp.TL/TL/TLInputThemeSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1118798639)] public class TLInputThemeSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLInputThemeSlug.cs b/src/TgSharp.TL/TL/TLInputThemeSlug.cs index 121a9ec1..941b4b28 100644 --- a/src/TgSharp.TL/TL/TLInputThemeSlug.cs +++ b/src/TgSharp.TL/TL/TLInputThemeSlug.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-175567375)] public class TLInputThemeSlug : TLAbsInputTheme diff --git a/src/TgSharp.TL/TL/TLInputUser.cs b/src/TgSharp.TL/TL/TLInputUser.cs index 2dae5bf5..2d367745 100644 --- a/src/TgSharp.TL/TL/TLInputUser.cs +++ b/src/TgSharp.TL/TL/TLInputUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-668391402)] public class TLInputUser : TLAbsInputUser diff --git a/src/TgSharp.TL/TL/TLInputUserEmpty.cs b/src/TgSharp.TL/TL/TLInputUserEmpty.cs index af3669d4..ac5eaefe 100644 --- a/src/TgSharp.TL/TL/TLInputUserEmpty.cs +++ b/src/TgSharp.TL/TL/TLInputUserEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1182234929)] public class TLInputUserEmpty : TLAbsInputUser diff --git a/src/TgSharp.TL/TL/TLInputUserFromMessage.cs b/src/TgSharp.TL/TL/TLInputUserFromMessage.cs index ed4abe43..0263885a 100644 --- a/src/TgSharp.TL/TL/TLInputUserFromMessage.cs +++ b/src/TgSharp.TL/TL/TLInputUserFromMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(756118935)] public class TLInputUserFromMessage : TLAbsInputUser diff --git a/src/TgSharp.TL/TL/TLInputUserSelf.cs b/src/TgSharp.TL/TL/TLInputUserSelf.cs index efdaa37b..26ac7ea9 100644 --- a/src/TgSharp.TL/TL/TLInputUserSelf.cs +++ b/src/TgSharp.TL/TL/TLInputUserSelf.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-138301121)] public class TLInputUserSelf : TLAbsInputUser diff --git a/src/TgSharp.TL/TL/TLInputWallPaper.cs b/src/TgSharp.TL/TL/TLInputWallPaper.cs index cd491906..86ddd02c 100644 --- a/src/TgSharp.TL/TL/TLInputWallPaper.cs +++ b/src/TgSharp.TL/TL/TLInputWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-433014407)] public class TLInputWallPaper : TLAbsInputWallPaper diff --git a/src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs b/src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs index ffabc934..187522c8 100644 --- a/src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs +++ b/src/TgSharp.TL/TL/TLInputWallPaperNoFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2077770836)] public class TLInputWallPaperNoFile : TLAbsInputWallPaper diff --git a/src/TgSharp.TL/TL/TLInputWallPaperSlug.cs b/src/TgSharp.TL/TL/TLInputWallPaperSlug.cs index d78322d0..783ea4a2 100644 --- a/src/TgSharp.TL/TL/TLInputWallPaperSlug.cs +++ b/src/TgSharp.TL/TL/TLInputWallPaperSlug.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1913199744)] public class TLInputWallPaperSlug : TLAbsInputWallPaper diff --git a/src/TgSharp.TL/TL/TLInputWebDocument.cs b/src/TgSharp.TL/TL/TLInputWebDocument.cs index 6f8ddb02..65bf99e5 100644 --- a/src/TgSharp.TL/TL/TLInputWebDocument.cs +++ b/src/TgSharp.TL/TL/TLInputWebDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1678949555)] public class TLInputWebDocument : TLObject diff --git a/src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs b/src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs index 2138914b..52cbfbe4 100644 --- a/src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs +++ b/src/TgSharp.TL/TL/TLInputWebFileGeoPointLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1625153079)] public class TLInputWebFileGeoPointLocation : TLAbsInputWebFileLocation diff --git a/src/TgSharp.TL/TL/TLInputWebFileLocation.cs b/src/TgSharp.TL/TL/TLInputWebFileLocation.cs index 8c0dfb78..b6d95d03 100644 --- a/src/TgSharp.TL/TL/TLInputWebFileLocation.cs +++ b/src/TgSharp.TL/TL/TLInputWebFileLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1036396922)] public class TLInputWebFileLocation : TLAbsInputWebFileLocation diff --git a/src/TgSharp.TL/TL/TLInvoice.cs b/src/TgSharp.TL/TL/TLInvoice.cs index ccff6792..8c2ae063 100644 --- a/src/TgSharp.TL/TL/TLInvoice.cs +++ b/src/TgSharp.TL/TL/TLInvoice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1022713000)] public class TLInvoice : TLObject diff --git a/src/TgSharp.TL/TL/TLJsonArray.cs b/src/TgSharp.TL/TL/TLJsonArray.cs index 592f023d..4ec8aaaa 100644 --- a/src/TgSharp.TL/TL/TLJsonArray.cs +++ b/src/TgSharp.TL/TL/TLJsonArray.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-146520221)] public class TLJsonArray : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLJsonBool.cs b/src/TgSharp.TL/TL/TLJsonBool.cs index 88e9bcbf..f8bf728b 100644 --- a/src/TgSharp.TL/TL/TLJsonBool.cs +++ b/src/TgSharp.TL/TL/TLJsonBool.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-952869270)] public class TLJsonBool : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLJsonNull.cs b/src/TgSharp.TL/TL/TLJsonNull.cs index 41bb1c32..0e0ae1ea 100644 --- a/src/TgSharp.TL/TL/TLJsonNull.cs +++ b/src/TgSharp.TL/TL/TLJsonNull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1064139624)] public class TLJsonNull : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLJsonNumber.cs b/src/TgSharp.TL/TL/TLJsonNumber.cs index 50502cf3..da3765e4 100644 --- a/src/TgSharp.TL/TL/TLJsonNumber.cs +++ b/src/TgSharp.TL/TL/TLJsonNumber.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(736157604)] public class TLJsonNumber : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLJsonObject.cs b/src/TgSharp.TL/TL/TLJsonObject.cs index 3ec19d30..304aaad4 100644 --- a/src/TgSharp.TL/TL/TLJsonObject.cs +++ b/src/TgSharp.TL/TL/TLJsonObject.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1715350371)] public class TLJsonObject : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLJsonObjectValue.cs b/src/TgSharp.TL/TL/TLJsonObjectValue.cs index 3de89422..921b0fd6 100644 --- a/src/TgSharp.TL/TL/TLJsonObjectValue.cs +++ b/src/TgSharp.TL/TL/TLJsonObjectValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1059185703)] public class TLJsonObjectValue : TLObject diff --git a/src/TgSharp.TL/TL/TLJsonString.cs b/src/TgSharp.TL/TL/TLJsonString.cs index 0da09024..43ae77bc 100644 --- a/src/TgSharp.TL/TL/TLJsonString.cs +++ b/src/TgSharp.TL/TL/TLJsonString.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1222740358)] public class TLJsonString : TLAbsJSONValue diff --git a/src/TgSharp.TL/TL/TLKeyboardButton.cs b/src/TgSharp.TL/TL/TLKeyboardButton.cs index b39583e7..de0108ec 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButton.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButton.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1560655744)] public class TLKeyboardButton : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs b/src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs index f4011464..bdf6b83d 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonBuy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1344716869)] public class TLKeyboardButtonBuy : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs b/src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs index 5be40fea..1fcf1420 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonCallback.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1748655686)] public class TLKeyboardButtonCallback : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonGame.cs b/src/TgSharp.TL/TL/TLKeyboardButtonGame.cs index 1915409c..c445fa5b 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonGame.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1358175439)] public class TLKeyboardButtonGame : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs index 8a7b3886..02a4fa21 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonRequestGeoLocation.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-59151553)] public class TLKeyboardButtonRequestGeoLocation : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs index 6b641454..68248644 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonRequestPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1318425559)] public class TLKeyboardButtonRequestPhone : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonRow.cs b/src/TgSharp.TL/TL/TLKeyboardButtonRow.cs index 8195c2e8..ed1db8d4 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonRow.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonRow.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2002815875)] public class TLKeyboardButtonRow : TLObject diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs b/src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs index ef76520b..f46f0d52 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonSwitchInline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(90744648)] public class TLKeyboardButtonSwitchInline : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs b/src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs index 4ed8454c..e77a86cf 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(629866245)] public class TLKeyboardButtonUrl : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs b/src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs index df8c98b1..566f6958 100644 --- a/src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs +++ b/src/TgSharp.TL/TL/TLKeyboardButtonUrlAuth.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(280464681)] public class TLKeyboardButtonUrlAuth : TLAbsKeyboardButton diff --git a/src/TgSharp.TL/TL/TLLabeledPrice.cs b/src/TgSharp.TL/TL/TLLabeledPrice.cs index e559a135..56b27d30 100644 --- a/src/TgSharp.TL/TL/TLLabeledPrice.cs +++ b/src/TgSharp.TL/TL/TLLabeledPrice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-886477832)] public class TLLabeledPrice : TLObject diff --git a/src/TgSharp.TL/TL/TLLangPackDifference.cs b/src/TgSharp.TL/TL/TLLangPackDifference.cs index 6bf3e38d..b0835070 100644 --- a/src/TgSharp.TL/TL/TLLangPackDifference.cs +++ b/src/TgSharp.TL/TL/TLLangPackDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-209337866)] public class TLLangPackDifference : TLObject diff --git a/src/TgSharp.TL/TL/TLLangPackLanguage.cs b/src/TgSharp.TL/TL/TLLangPackLanguage.cs index 0222d48a..2186b3c4 100644 --- a/src/TgSharp.TL/TL/TLLangPackLanguage.cs +++ b/src/TgSharp.TL/TL/TLLangPackLanguage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-288727837)] public class TLLangPackLanguage : TLObject diff --git a/src/TgSharp.TL/TL/TLLangPackString.cs b/src/TgSharp.TL/TL/TLLangPackString.cs index 287db6be..deded9a4 100644 --- a/src/TgSharp.TL/TL/TLLangPackString.cs +++ b/src/TgSharp.TL/TL/TLLangPackString.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-892239370)] public class TLLangPackString : TLAbsLangPackString diff --git a/src/TgSharp.TL/TL/TLLangPackStringDeleted.cs b/src/TgSharp.TL/TL/TLLangPackStringDeleted.cs index 323fb144..754c86fe 100644 --- a/src/TgSharp.TL/TL/TLLangPackStringDeleted.cs +++ b/src/TgSharp.TL/TL/TLLangPackStringDeleted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(695856818)] public class TLLangPackStringDeleted : TLAbsLangPackString diff --git a/src/TgSharp.TL/TL/TLLangPackStringPluralized.cs b/src/TgSharp.TL/TL/TLLangPackStringPluralized.cs index 95f229cb..0d4c1727 100644 --- a/src/TgSharp.TL/TL/TLLangPackStringPluralized.cs +++ b/src/TgSharp.TL/TL/TLLangPackStringPluralized.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1816636575)] public class TLLangPackStringPluralized : TLAbsLangPackString diff --git a/src/TgSharp.TL/TL/TLMaskCoords.cs b/src/TgSharp.TL/TL/TLMaskCoords.cs index 216ef478..d0168548 100644 --- a/src/TgSharp.TL/TL/TLMaskCoords.cs +++ b/src/TgSharp.TL/TL/TLMaskCoords.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1361650766)] public class TLMaskCoords : TLObject diff --git a/src/TgSharp.TL/TL/TLMessage.cs b/src/TgSharp.TL/TL/TLMessage.cs index 7a601dcf..dc2837bc 100644 --- a/src/TgSharp.TL/TL/TLMessage.cs +++ b/src/TgSharp.TL/TL/TLMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1160515173)] public class TLMessage : TLAbsMessage diff --git a/src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs b/src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs index d5f288ae..29294708 100644 --- a/src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs +++ b/src/TgSharp.TL/TL/TLMessageActionBotAllowed.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1410748418)] public class TLMessageActionBotAllowed : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs b/src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs index 31c09c45..42803dc5 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChannelCreate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1781355374)] public class TLMessageActionChannelCreate : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs b/src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs index 7d1d9cb5..4072e7ab 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChannelMigrateFrom.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1336546578)] public class TLMessageActionChannelMigrateFrom : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs b/src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs index d4215e3d..e4da340e 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatAddUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1217033015)] public class TLMessageActionChatAddUser : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatCreate.cs b/src/TgSharp.TL/TL/TLMessageActionChatCreate.cs index ebe3a0ae..c78046a2 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatCreate.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatCreate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1503425638)] public class TLMessageActionChatCreate : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs b/src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs index 5a80c956..ca346c41 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatDeletePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1780220945)] public class TLMessageActionChatDeletePhoto : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs b/src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs index 5fd1d407..a14c2714 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatDeleteUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1297179892)] public class TLMessageActionChatDeleteUser : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs b/src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs index 6919c0bc..64414f15 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatEditPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2144015272)] public class TLMessageActionChatEditPhoto : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs b/src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs index 42f215ff..5c6618c1 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatEditTitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1247687078)] public class TLMessageActionChatEditTitle : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs b/src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs index d4bb8a7d..5305aa27 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatJoinedByLink.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-123931160)] public class TLMessageActionChatJoinedByLink : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs b/src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs index 2366547b..1bb7e758 100644 --- a/src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs +++ b/src/TgSharp.TL/TL/TLMessageActionChatMigrateTo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1371385889)] public class TLMessageActionChatMigrateTo : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs b/src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs index 88c11025..ff852e0c 100644 --- a/src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs +++ b/src/TgSharp.TL/TL/TLMessageActionContactSignUp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-202219658)] public class TLMessageActionContactSignUp : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionCustomAction.cs b/src/TgSharp.TL/TL/TLMessageActionCustomAction.cs index 4b01fd22..f9a637f7 100644 --- a/src/TgSharp.TL/TL/TLMessageActionCustomAction.cs +++ b/src/TgSharp.TL/TL/TLMessageActionCustomAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-85549226)] public class TLMessageActionCustomAction : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionEmpty.cs b/src/TgSharp.TL/TL/TLMessageActionEmpty.cs index 01c3ab23..99f0c6e6 100644 --- a/src/TgSharp.TL/TL/TLMessageActionEmpty.cs +++ b/src/TgSharp.TL/TL/TLMessageActionEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1230047312)] public class TLMessageActionEmpty : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionGameScore.cs b/src/TgSharp.TL/TL/TLMessageActionGameScore.cs index 01736603..4477a752 100644 --- a/src/TgSharp.TL/TL/TLMessageActionGameScore.cs +++ b/src/TgSharp.TL/TL/TLMessageActionGameScore.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1834538890)] public class TLMessageActionGameScore : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs b/src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs index 4abb95a0..4e1131f4 100644 --- a/src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs +++ b/src/TgSharp.TL/TL/TLMessageActionHistoryClear.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1615153660)] public class TLMessageActionHistoryClear : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs b/src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs index b911c973..e16850e6 100644 --- a/src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs +++ b/src/TgSharp.TL/TL/TLMessageActionPaymentSent.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1080663248)] public class TLMessageActionPaymentSent : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs b/src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs index e577931e..c12c17b8 100644 --- a/src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs +++ b/src/TgSharp.TL/TL/TLMessageActionPaymentSentMe.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1892568281)] public class TLMessageActionPaymentSentMe : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs b/src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs index 544b384e..6ab6d486 100644 --- a/src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLMessageActionPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2132731265)] public class TLMessageActionPhoneCall : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionPinMessage.cs b/src/TgSharp.TL/TL/TLMessageActionPinMessage.cs index 0b2003ca..c4310032 100644 --- a/src/TgSharp.TL/TL/TLMessageActionPinMessage.cs +++ b/src/TgSharp.TL/TL/TLMessageActionPinMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1799538451)] public class TLMessageActionPinMessage : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs b/src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs index 788d1039..7a32dd8e 100644 --- a/src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs +++ b/src/TgSharp.TL/TL/TLMessageActionScreenshotTaken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1200788123)] public class TLMessageActionScreenshotTaken : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs index 9707fb85..d3a8746c 100644 --- a/src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs +++ b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSent.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-648257196)] public class TLMessageActionSecureValuesSent : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs index d09b58f0..10e71532 100644 --- a/src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs +++ b/src/TgSharp.TL/TL/TLMessageActionSecureValuesSentMe.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(455635795)] public class TLMessageActionSecureValuesSentMe : TLAbsMessageAction diff --git a/src/TgSharp.TL/TL/TLMessageEmpty.cs b/src/TgSharp.TL/TL/TLMessageEmpty.cs index 257b0922..048f11aa 100644 --- a/src/TgSharp.TL/TL/TLMessageEmpty.cs +++ b/src/TgSharp.TL/TL/TLMessageEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2082087340)] public class TLMessageEmpty : TLAbsMessage diff --git a/src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs b/src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs index 64c325d3..e4dfedf5 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityBlockquote.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(34469328)] public class TLMessageEntityBlockquote : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityBold.cs b/src/TgSharp.TL/TL/TLMessageEntityBold.cs index b9e710be..a5355785 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityBold.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityBold.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1117713463)] public class TLMessageEntityBold : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs b/src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs index 6ef81e4d..121cc981 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityBotCommand.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1827637959)] public class TLMessageEntityBotCommand : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityCashtag.cs b/src/TgSharp.TL/TL/TLMessageEntityCashtag.cs index a06769d1..ab974be2 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityCashtag.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityCashtag.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1280209983)] public class TLMessageEntityCashtag : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityCode.cs b/src/TgSharp.TL/TL/TLMessageEntityCode.cs index 80e9b10b..6192b80a 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityCode.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityCode.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(681706865)] public class TLMessageEntityCode : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityEmail.cs b/src/TgSharp.TL/TL/TLMessageEntityEmail.cs index 2866dce4..be9050e2 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityEmail.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1692693954)] public class TLMessageEntityEmail : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityHashtag.cs b/src/TgSharp.TL/TL/TLMessageEntityHashtag.cs index 1f327f05..22da0797 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityHashtag.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityHashtag.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1868782349)] public class TLMessageEntityHashtag : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityItalic.cs b/src/TgSharp.TL/TL/TLMessageEntityItalic.cs index 85da1e2e..896b2e89 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityItalic.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityItalic.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2106619040)] public class TLMessageEntityItalic : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityMention.cs b/src/TgSharp.TL/TL/TLMessageEntityMention.cs index 6e2be160..75aaeeea 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityMention.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityMention.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-100378723)] public class TLMessageEntityMention : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityMentionName.cs b/src/TgSharp.TL/TL/TLMessageEntityMentionName.cs index d5e1f0b7..3eba8d20 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityMentionName.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityMentionName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(892193368)] public class TLMessageEntityMentionName : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityPhone.cs b/src/TgSharp.TL/TL/TLMessageEntityPhone.cs index dadcdd84..152eb69f 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityPhone.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1687559349)] public class TLMessageEntityPhone : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityPre.cs b/src/TgSharp.TL/TL/TLMessageEntityPre.cs index 2abb500a..5a8f1a1f 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityPre.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityPre.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1938967520)] public class TLMessageEntityPre : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityStrike.cs b/src/TgSharp.TL/TL/TLMessageEntityStrike.cs index a194f649..7105a3f4 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityStrike.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityStrike.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1090087980)] public class TLMessageEntityStrike : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs b/src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs index f06ca2fb..ace24a23 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityTextUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1990644519)] public class TLMessageEntityTextUrl : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityUnderline.cs b/src/TgSharp.TL/TL/TLMessageEntityUnderline.cs index bb771978..aa890178 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityUnderline.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityUnderline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1672577397)] public class TLMessageEntityUnderline : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityUnknown.cs b/src/TgSharp.TL/TL/TLMessageEntityUnknown.cs index e9b9e52d..77b851dc 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityUnknown.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityUnknown.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1148011883)] public class TLMessageEntityUnknown : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageEntityUrl.cs b/src/TgSharp.TL/TL/TLMessageEntityUrl.cs index e2e998db..353b337b 100644 --- a/src/TgSharp.TL/TL/TLMessageEntityUrl.cs +++ b/src/TgSharp.TL/TL/TLMessageEntityUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1859134776)] public class TLMessageEntityUrl : TLAbsMessageEntity diff --git a/src/TgSharp.TL/TL/TLMessageFwdHeader.cs b/src/TgSharp.TL/TL/TLMessageFwdHeader.cs index 96b53466..897884ae 100644 --- a/src/TgSharp.TL/TL/TLMessageFwdHeader.cs +++ b/src/TgSharp.TL/TL/TLMessageFwdHeader.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-332168592)] public class TLMessageFwdHeader : TLObject diff --git a/src/TgSharp.TL/TL/TLMessageMediaContact.cs b/src/TgSharp.TL/TL/TLMessageMediaContact.cs index d18cad75..99691c2b 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaContact.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-873313984)] public class TLMessageMediaContact : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaDocument.cs b/src/TgSharp.TL/TL/TLMessageMediaDocument.cs index 1d09dd55..be61fc2e 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaDocument.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1666158377)] public class TLMessageMediaDocument : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaEmpty.cs b/src/TgSharp.TL/TL/TLMessageMediaEmpty.cs index b99af33e..07ea9f98 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaEmpty.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1038967584)] public class TLMessageMediaEmpty : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaGame.cs b/src/TgSharp.TL/TL/TLMessageMediaGame.cs index ebbba3ab..33e105a7 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaGame.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaGame.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-38694904)] public class TLMessageMediaGame : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaGeo.cs b/src/TgSharp.TL/TL/TLMessageMediaGeo.cs index 83086798..e4453109 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaGeo.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaGeo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1457575028)] public class TLMessageMediaGeo : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs b/src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs index 7d439859..27bca87e 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaGeoLive.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2084316681)] public class TLMessageMediaGeoLive : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaInvoice.cs b/src/TgSharp.TL/TL/TLMessageMediaInvoice.cs index 06a8cf96..bce7b90a 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaInvoice.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaInvoice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2074799289)] public class TLMessageMediaInvoice : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaPhoto.cs b/src/TgSharp.TL/TL/TLMessageMediaPhoto.cs index 5b3a0fde..fb5f4119 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaPhoto.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1766936791)] public class TLMessageMediaPhoto : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaPoll.cs b/src/TgSharp.TL/TL/TLMessageMediaPoll.cs index 6ad288c1..5b281bf6 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaPoll.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaPoll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1272375192)] public class TLMessageMediaPoll : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs b/src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs index db4d295e..e1a59db1 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaUnsupported.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1618676578)] public class TLMessageMediaUnsupported : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaVenue.cs b/src/TgSharp.TL/TL/TLMessageMediaVenue.cs index ba5fd71b..50b515a5 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaVenue.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaVenue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(784356159)] public class TLMessageMediaVenue : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageMediaWebPage.cs b/src/TgSharp.TL/TL/TLMessageMediaWebPage.cs index 06443bce..113eb896 100644 --- a/src/TgSharp.TL/TL/TLMessageMediaWebPage.cs +++ b/src/TgSharp.TL/TL/TLMessageMediaWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1557277184)] public class TLMessageMediaWebPage : TLAbsMessageMedia diff --git a/src/TgSharp.TL/TL/TLMessageRange.cs b/src/TgSharp.TL/TL/TLMessageRange.cs index a5ef3d79..93b36ca6 100644 --- a/src/TgSharp.TL/TL/TLMessageRange.cs +++ b/src/TgSharp.TL/TL/TLMessageRange.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(182649427)] public class TLMessageRange : TLObject diff --git a/src/TgSharp.TL/TL/TLMessageService.cs b/src/TgSharp.TL/TL/TLMessageService.cs index 8e9e7181..d6580896 100644 --- a/src/TgSharp.TL/TL/TLMessageService.cs +++ b/src/TgSharp.TL/TL/TLMessageService.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1642487306)] public class TLMessageService : TLAbsMessage diff --git a/src/TgSharp.TL/TL/TLNearestDc.cs b/src/TgSharp.TL/TL/TLNearestDc.cs index d04149a9..078f2132 100644 --- a/src/TgSharp.TL/TL/TLNearestDc.cs +++ b/src/TgSharp.TL/TL/TLNearestDc.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1910892683)] public class TLNearestDc : TLObject diff --git a/src/TgSharp.TL/TL/TLNotifyBroadcasts.cs b/src/TgSharp.TL/TL/TLNotifyBroadcasts.cs index 8c116322..edb5c0a5 100644 --- a/src/TgSharp.TL/TL/TLNotifyBroadcasts.cs +++ b/src/TgSharp.TL/TL/TLNotifyBroadcasts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-703403793)] public class TLNotifyBroadcasts : TLAbsNotifyPeer diff --git a/src/TgSharp.TL/TL/TLNotifyChats.cs b/src/TgSharp.TL/TL/TLNotifyChats.cs index dbcfbe9e..101a511a 100644 --- a/src/TgSharp.TL/TL/TLNotifyChats.cs +++ b/src/TgSharp.TL/TL/TLNotifyChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1073230141)] public class TLNotifyChats : TLAbsNotifyPeer diff --git a/src/TgSharp.TL/TL/TLNotifyPeer.cs b/src/TgSharp.TL/TL/TLNotifyPeer.cs index c1b1ebd7..2fb229f5 100644 --- a/src/TgSharp.TL/TL/TLNotifyPeer.cs +++ b/src/TgSharp.TL/TL/TLNotifyPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1613493288)] public class TLNotifyPeer : TLAbsNotifyPeer diff --git a/src/TgSharp.TL/TL/TLNotifyUsers.cs b/src/TgSharp.TL/TL/TLNotifyUsers.cs index 448cb197..986bb36a 100644 --- a/src/TgSharp.TL/TL/TLNotifyUsers.cs +++ b/src/TgSharp.TL/TL/TLNotifyUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1261946036)] public class TLNotifyUsers : TLAbsNotifyPeer diff --git a/src/TgSharp.TL/TL/TLNull.cs b/src/TgSharp.TL/TL/TLNull.cs index 4990c18b..b084af17 100644 --- a/src/TgSharp.TL/TL/TLNull.cs +++ b/src/TgSharp.TL/TL/TLNull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1450380236)] public class TLNull : TLObject diff --git a/src/TgSharp.TL/TL/TLPage.cs b/src/TgSharp.TL/TL/TLPage.cs index 51964d69..98bce8e3 100644 --- a/src/TgSharp.TL/TL/TLPage.cs +++ b/src/TgSharp.TL/TL/TLPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1366746132)] public class TLPage : TLObject diff --git a/src/TgSharp.TL/TL/TLPageBlockAnchor.cs b/src/TgSharp.TL/TL/TLPageBlockAnchor.cs index e8911386..70cf2bcb 100644 --- a/src/TgSharp.TL/TL/TLPageBlockAnchor.cs +++ b/src/TgSharp.TL/TL/TLPageBlockAnchor.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-837994576)] public class TLPageBlockAnchor : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockAudio.cs b/src/TgSharp.TL/TL/TLPageBlockAudio.cs index ef2b9d55..8623140f 100644 --- a/src/TgSharp.TL/TL/TLPageBlockAudio.cs +++ b/src/TgSharp.TL/TL/TLPageBlockAudio.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2143067670)] public class TLPageBlockAudio : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs b/src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs index a6caeb3b..e7d1da44 100644 --- a/src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs +++ b/src/TgSharp.TL/TL/TLPageBlockAuthorDate.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1162877472)] public class TLPageBlockAuthorDate : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockBlockquote.cs b/src/TgSharp.TL/TL/TLPageBlockBlockquote.cs index 6c1dc35f..7a11eb9c 100644 --- a/src/TgSharp.TL/TL/TLPageBlockBlockquote.cs +++ b/src/TgSharp.TL/TL/TLPageBlockBlockquote.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(641563686)] public class TLPageBlockBlockquote : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockChannel.cs b/src/TgSharp.TL/TL/TLPageBlockChannel.cs index 9ffcd613..50cae460 100644 --- a/src/TgSharp.TL/TL/TLPageBlockChannel.cs +++ b/src/TgSharp.TL/TL/TLPageBlockChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-283684427)] public class TLPageBlockChannel : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockCollage.cs b/src/TgSharp.TL/TL/TLPageBlockCollage.cs index 53559628..a2c89411 100644 --- a/src/TgSharp.TL/TL/TLPageBlockCollage.cs +++ b/src/TgSharp.TL/TL/TLPageBlockCollage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1705048653)] public class TLPageBlockCollage : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockCover.cs b/src/TgSharp.TL/TL/TLPageBlockCover.cs index 613d7ad5..ea0e7a24 100644 --- a/src/TgSharp.TL/TL/TLPageBlockCover.cs +++ b/src/TgSharp.TL/TL/TLPageBlockCover.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(972174080)] public class TLPageBlockCover : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockDetails.cs b/src/TgSharp.TL/TL/TLPageBlockDetails.cs index 59b93d54..c8f5670e 100644 --- a/src/TgSharp.TL/TL/TLPageBlockDetails.cs +++ b/src/TgSharp.TL/TL/TLPageBlockDetails.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1987480557)] public class TLPageBlockDetails : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockDivider.cs b/src/TgSharp.TL/TL/TLPageBlockDivider.cs index 1613fe09..893ad9c9 100644 --- a/src/TgSharp.TL/TL/TLPageBlockDivider.cs +++ b/src/TgSharp.TL/TL/TLPageBlockDivider.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-618614392)] public class TLPageBlockDivider : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockEmbed.cs b/src/TgSharp.TL/TL/TLPageBlockEmbed.cs index e968189c..b4d46680 100644 --- a/src/TgSharp.TL/TL/TLPageBlockEmbed.cs +++ b/src/TgSharp.TL/TL/TLPageBlockEmbed.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1468953147)] public class TLPageBlockEmbed : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs b/src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs index 45ce009f..12261db6 100644 --- a/src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs +++ b/src/TgSharp.TL/TL/TLPageBlockEmbedPost.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-229005301)] public class TLPageBlockEmbedPost : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockFooter.cs b/src/TgSharp.TL/TL/TLPageBlockFooter.cs index ef9c49e0..0b40a73b 100644 --- a/src/TgSharp.TL/TL/TLPageBlockFooter.cs +++ b/src/TgSharp.TL/TL/TLPageBlockFooter.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1216809369)] public class TLPageBlockFooter : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockHeader.cs b/src/TgSharp.TL/TL/TLPageBlockHeader.cs index e7be881f..9f80dde5 100644 --- a/src/TgSharp.TL/TL/TLPageBlockHeader.cs +++ b/src/TgSharp.TL/TL/TLPageBlockHeader.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1076861716)] public class TLPageBlockHeader : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockKicker.cs b/src/TgSharp.TL/TL/TLPageBlockKicker.cs index be8d0f5f..f522512b 100644 --- a/src/TgSharp.TL/TL/TLPageBlockKicker.cs +++ b/src/TgSharp.TL/TL/TLPageBlockKicker.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(504660880)] public class TLPageBlockKicker : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockList.cs b/src/TgSharp.TL/TL/TLPageBlockList.cs index 2e8c4382..b3503587 100644 --- a/src/TgSharp.TL/TL/TLPageBlockList.cs +++ b/src/TgSharp.TL/TL/TLPageBlockList.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-454524911)] public class TLPageBlockList : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockMap.cs b/src/TgSharp.TL/TL/TLPageBlockMap.cs index c99590b9..176985f0 100644 --- a/src/TgSharp.TL/TL/TLPageBlockMap.cs +++ b/src/TgSharp.TL/TL/TLPageBlockMap.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1538310410)] public class TLPageBlockMap : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockOrderedList.cs b/src/TgSharp.TL/TL/TLPageBlockOrderedList.cs index a6b868e5..be38cd2d 100644 --- a/src/TgSharp.TL/TL/TLPageBlockOrderedList.cs +++ b/src/TgSharp.TL/TL/TLPageBlockOrderedList.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1702174239)] public class TLPageBlockOrderedList : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockParagraph.cs b/src/TgSharp.TL/TL/TLPageBlockParagraph.cs index 1b7eb825..36a1fb34 100644 --- a/src/TgSharp.TL/TL/TLPageBlockParagraph.cs +++ b/src/TgSharp.TL/TL/TLPageBlockParagraph.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1182402406)] public class TLPageBlockParagraph : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockPhoto.cs b/src/TgSharp.TL/TL/TLPageBlockPhoto.cs index eeb068f7..28165ed7 100644 --- a/src/TgSharp.TL/TL/TLPageBlockPhoto.cs +++ b/src/TgSharp.TL/TL/TLPageBlockPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(391759200)] public class TLPageBlockPhoto : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockPreformatted.cs b/src/TgSharp.TL/TL/TLPageBlockPreformatted.cs index 6e6041b2..6e6fc73e 100644 --- a/src/TgSharp.TL/TL/TLPageBlockPreformatted.cs +++ b/src/TgSharp.TL/TL/TLPageBlockPreformatted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1066346178)] public class TLPageBlockPreformatted : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockPullquote.cs b/src/TgSharp.TL/TL/TLPageBlockPullquote.cs index 5d70ebb7..f8fd2a75 100644 --- a/src/TgSharp.TL/TL/TLPageBlockPullquote.cs +++ b/src/TgSharp.TL/TL/TLPageBlockPullquote.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1329878739)] public class TLPageBlockPullquote : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs b/src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs index 706edf8c..d5ecb10a 100644 --- a/src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs +++ b/src/TgSharp.TL/TL/TLPageBlockRelatedArticles.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(370236054)] public class TLPageBlockRelatedArticles : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockSlideshow.cs b/src/TgSharp.TL/TL/TLPageBlockSlideshow.cs index b7bbc00a..fb0baaeb 100644 --- a/src/TgSharp.TL/TL/TLPageBlockSlideshow.cs +++ b/src/TgSharp.TL/TL/TLPageBlockSlideshow.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(52401552)] public class TLPageBlockSlideshow : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockSubheader.cs b/src/TgSharp.TL/TL/TLPageBlockSubheader.cs index d82705f7..4ab9fec4 100644 --- a/src/TgSharp.TL/TL/TLPageBlockSubheader.cs +++ b/src/TgSharp.TL/TL/TLPageBlockSubheader.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-248793375)] public class TLPageBlockSubheader : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockSubtitle.cs b/src/TgSharp.TL/TL/TLPageBlockSubtitle.cs index 74ace7d3..3dceb7db 100644 --- a/src/TgSharp.TL/TL/TLPageBlockSubtitle.cs +++ b/src/TgSharp.TL/TL/TLPageBlockSubtitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1879401953)] public class TLPageBlockSubtitle : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockTable.cs b/src/TgSharp.TL/TL/TLPageBlockTable.cs index 21fc8779..19a829c4 100644 --- a/src/TgSharp.TL/TL/TLPageBlockTable.cs +++ b/src/TgSharp.TL/TL/TLPageBlockTable.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1085412734)] public class TLPageBlockTable : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockTitle.cs b/src/TgSharp.TL/TL/TLPageBlockTitle.cs index 0840576f..66e6a288 100644 --- a/src/TgSharp.TL/TL/TLPageBlockTitle.cs +++ b/src/TgSharp.TL/TL/TLPageBlockTitle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1890305021)] public class TLPageBlockTitle : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockUnsupported.cs b/src/TgSharp.TL/TL/TLPageBlockUnsupported.cs index eb5e79b9..74571ad6 100644 --- a/src/TgSharp.TL/TL/TLPageBlockUnsupported.cs +++ b/src/TgSharp.TL/TL/TLPageBlockUnsupported.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(324435594)] public class TLPageBlockUnsupported : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageBlockVideo.cs b/src/TgSharp.TL/TL/TLPageBlockVideo.cs index 82941a7d..1c97fdbe 100644 --- a/src/TgSharp.TL/TL/TLPageBlockVideo.cs +++ b/src/TgSharp.TL/TL/TLPageBlockVideo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2089805750)] public class TLPageBlockVideo : TLAbsPageBlock diff --git a/src/TgSharp.TL/TL/TLPageCaption.cs b/src/TgSharp.TL/TL/TLPageCaption.cs index 08449b5f..8d1ddc73 100644 --- a/src/TgSharp.TL/TL/TLPageCaption.cs +++ b/src/TgSharp.TL/TL/TLPageCaption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1869903447)] public class TLPageCaption : TLObject diff --git a/src/TgSharp.TL/TL/TLPageListItemBlocks.cs b/src/TgSharp.TL/TL/TLPageListItemBlocks.cs index b72fa3df..65aade3b 100644 --- a/src/TgSharp.TL/TL/TLPageListItemBlocks.cs +++ b/src/TgSharp.TL/TL/TLPageListItemBlocks.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(635466748)] public class TLPageListItemBlocks : TLAbsPageListItem diff --git a/src/TgSharp.TL/TL/TLPageListItemText.cs b/src/TgSharp.TL/TL/TLPageListItemText.cs index 2503ed4d..f2e2df30 100644 --- a/src/TgSharp.TL/TL/TLPageListItemText.cs +++ b/src/TgSharp.TL/TL/TLPageListItemText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1188055347)] public class TLPageListItemText : TLAbsPageListItem diff --git a/src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs b/src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs index 65ef897f..61ac6800 100644 --- a/src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs +++ b/src/TgSharp.TL/TL/TLPageListOrderedItemBlocks.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1730311882)] public class TLPageListOrderedItemBlocks : TLAbsPageListOrderedItem diff --git a/src/TgSharp.TL/TL/TLPageListOrderedItemText.cs b/src/TgSharp.TL/TL/TLPageListOrderedItemText.cs index fdfdf46b..9264f8f4 100644 --- a/src/TgSharp.TL/TL/TLPageListOrderedItemText.cs +++ b/src/TgSharp.TL/TL/TLPageListOrderedItemText.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1577484359)] public class TLPageListOrderedItemText : TLAbsPageListOrderedItem diff --git a/src/TgSharp.TL/TL/TLPageRelatedArticle.cs b/src/TgSharp.TL/TL/TLPageRelatedArticle.cs index 80d15a64..087a73b6 100644 --- a/src/TgSharp.TL/TL/TLPageRelatedArticle.cs +++ b/src/TgSharp.TL/TL/TLPageRelatedArticle.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1282352120)] public class TLPageRelatedArticle : TLObject diff --git a/src/TgSharp.TL/TL/TLPageTableCell.cs b/src/TgSharp.TL/TL/TLPageTableCell.cs index 23578e36..1729ff55 100644 --- a/src/TgSharp.TL/TL/TLPageTableCell.cs +++ b/src/TgSharp.TL/TL/TLPageTableCell.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(878078826)] public class TLPageTableCell : TLObject diff --git a/src/TgSharp.TL/TL/TLPageTableRow.cs b/src/TgSharp.TL/TL/TLPageTableRow.cs index 892edc5a..78362e91 100644 --- a/src/TgSharp.TL/TL/TLPageTableRow.cs +++ b/src/TgSharp.TL/TL/TLPageTableRow.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-524237339)] public class TLPageTableRow : TLObject diff --git a/src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs b/src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs index 42dcfa70..8c9f3e07 100644 --- a/src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs +++ b/src/TgSharp.TL/TL/TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(982592842)] public class TLPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow : TLAbsPasswordKdfAlgo diff --git a/src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs b/src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs index 18a61d15..b028ad61 100644 --- a/src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs +++ b/src/TgSharp.TL/TL/TLPasswordKdfAlgoUnknown.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-732254058)] public class TLPasswordKdfAlgoUnknown : TLAbsPasswordKdfAlgo diff --git a/src/TgSharp.TL/TL/TLPaymentCharge.cs b/src/TgSharp.TL/TL/TLPaymentCharge.cs index 49699f8d..c4f0941c 100644 --- a/src/TgSharp.TL/TL/TLPaymentCharge.cs +++ b/src/TgSharp.TL/TL/TLPaymentCharge.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-368917890)] public class TLPaymentCharge : TLObject diff --git a/src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs b/src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs index bd423d9f..9ae5bb0a 100644 --- a/src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs +++ b/src/TgSharp.TL/TL/TLPaymentRequestedInfo.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1868808300)] public class TLPaymentRequestedInfo : TLObject diff --git a/src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs b/src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs index 9065728f..a2c1d629 100644 --- a/src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs +++ b/src/TgSharp.TL/TL/TLPaymentSavedCredentialsCard.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-842892769)] public class TLPaymentSavedCredentialsCard : TLObject diff --git a/src/TgSharp.TL/TL/TLPeerChannel.cs b/src/TgSharp.TL/TL/TLPeerChannel.cs index cb9c191a..e2bc716d 100644 --- a/src/TgSharp.TL/TL/TLPeerChannel.cs +++ b/src/TgSharp.TL/TL/TLPeerChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1109531342)] public class TLPeerChannel : TLAbsPeer diff --git a/src/TgSharp.TL/TL/TLPeerChat.cs b/src/TgSharp.TL/TL/TLPeerChat.cs index 5d24ea6d..889ba3e6 100644 --- a/src/TgSharp.TL/TL/TLPeerChat.cs +++ b/src/TgSharp.TL/TL/TLPeerChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1160714821)] public class TLPeerChat : TLAbsPeer diff --git a/src/TgSharp.TL/TL/TLPeerLocated.cs b/src/TgSharp.TL/TL/TLPeerLocated.cs index fc065e01..36db34be 100644 --- a/src/TgSharp.TL/TL/TLPeerLocated.cs +++ b/src/TgSharp.TL/TL/TLPeerLocated.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-901375139)] public class TLPeerLocated : TLObject diff --git a/src/TgSharp.TL/TL/TLPeerNotifySettings.cs b/src/TgSharp.TL/TL/TLPeerNotifySettings.cs index c1d3d805..22c6399e 100644 --- a/src/TgSharp.TL/TL/TLPeerNotifySettings.cs +++ b/src/TgSharp.TL/TL/TLPeerNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1353671392)] public class TLPeerNotifySettings : TLObject diff --git a/src/TgSharp.TL/TL/TLPeerSettings.cs b/src/TgSharp.TL/TL/TLPeerSettings.cs index 881cf36e..f541e01f 100644 --- a/src/TgSharp.TL/TL/TLPeerSettings.cs +++ b/src/TgSharp.TL/TL/TLPeerSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2122045747)] public class TLPeerSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLPeerUser.cs b/src/TgSharp.TL/TL/TLPeerUser.cs index 1c233ba4..ea3cf3fc 100644 --- a/src/TgSharp.TL/TL/TLPeerUser.cs +++ b/src/TgSharp.TL/TL/TLPeerUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1649296275)] public class TLPeerUser : TLAbsPeer diff --git a/src/TgSharp.TL/TL/TLPhoneCall.cs b/src/TgSharp.TL/TL/TLPhoneCall.cs index 0c404686..e844cf58 100644 --- a/src/TgSharp.TL/TL/TLPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2025673089)] public class TLPhoneCall : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneCallAccepted.cs b/src/TgSharp.TL/TL/TLPhoneCallAccepted.cs index 288147a4..ebc255a0 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallAccepted.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallAccepted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1719909046)] public class TLPhoneCallAccepted : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs index f45913cd..8bbada35 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonBusy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-84416311)] public class TLPhoneCallDiscardReasonBusy : TLAbsPhoneCallDiscardReason diff --git a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs index 803831e2..f35e9ddc 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonDisconnect.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-527056480)] public class TLPhoneCallDiscardReasonDisconnect : TLAbsPhoneCallDiscardReason diff --git a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs index da92b427..56d3357e 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonHangup.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1471006352)] public class TLPhoneCallDiscardReasonHangup : TLAbsPhoneCallDiscardReason diff --git a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs index bcfe26c7..552b456c 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallDiscardReasonMissed.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2048646399)] public class TLPhoneCallDiscardReasonMissed : TLAbsPhoneCallDiscardReason diff --git a/src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs b/src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs index 85e73d10..1394b7c2 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallDiscarded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1355435489)] public class TLPhoneCallDiscarded : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneCallEmpty.cs b/src/TgSharp.TL/TL/TLPhoneCallEmpty.cs index afe45841..db95c998 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallEmpty.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1399245077)] public class TLPhoneCallEmpty : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneCallProtocol.cs b/src/TgSharp.TL/TL/TLPhoneCallProtocol.cs index b64a103c..8c844435 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallProtocol.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallProtocol.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1564789301)] public class TLPhoneCallProtocol : TLObject diff --git a/src/TgSharp.TL/TL/TLPhoneCallRequested.cs b/src/TgSharp.TL/TL/TLPhoneCallRequested.cs index be5c4493..6a40f99f 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallRequested.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallRequested.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2014659757)] public class TLPhoneCallRequested : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneCallWaiting.cs b/src/TgSharp.TL/TL/TLPhoneCallWaiting.cs index cb85dab0..acfc1350 100644 --- a/src/TgSharp.TL/TL/TLPhoneCallWaiting.cs +++ b/src/TgSharp.TL/TL/TLPhoneCallWaiting.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(462375633)] public class TLPhoneCallWaiting : TLAbsPhoneCall diff --git a/src/TgSharp.TL/TL/TLPhoneConnection.cs b/src/TgSharp.TL/TL/TLPhoneConnection.cs index 88de362c..ecf47cbd 100644 --- a/src/TgSharp.TL/TL/TLPhoneConnection.cs +++ b/src/TgSharp.TL/TL/TLPhoneConnection.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1655957568)] public class TLPhoneConnection : TLObject diff --git a/src/TgSharp.TL/TL/TLPhoto.cs b/src/TgSharp.TL/TL/TLPhoto.cs index 1b44d9f2..f7701609 100644 --- a/src/TgSharp.TL/TL/TLPhoto.cs +++ b/src/TgSharp.TL/TL/TLPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-797637467)] public class TLPhoto : TLAbsPhoto diff --git a/src/TgSharp.TL/TL/TLPhotoCachedSize.cs b/src/TgSharp.TL/TL/TLPhotoCachedSize.cs index 30812b91..f654bd14 100644 --- a/src/TgSharp.TL/TL/TLPhotoCachedSize.cs +++ b/src/TgSharp.TL/TL/TLPhotoCachedSize.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-374917894)] public class TLPhotoCachedSize : TLAbsPhotoSize diff --git a/src/TgSharp.TL/TL/TLPhotoEmpty.cs b/src/TgSharp.TL/TL/TLPhotoEmpty.cs index 0bd103ef..269ba23a 100644 --- a/src/TgSharp.TL/TL/TLPhotoEmpty.cs +++ b/src/TgSharp.TL/TL/TLPhotoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(590459437)] public class TLPhotoEmpty : TLAbsPhoto diff --git a/src/TgSharp.TL/TL/TLPhotoSize.cs b/src/TgSharp.TL/TL/TLPhotoSize.cs index 22b6f1ac..f5cc17b1 100644 --- a/src/TgSharp.TL/TL/TLPhotoSize.cs +++ b/src/TgSharp.TL/TL/TLPhotoSize.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2009052699)] public class TLPhotoSize : TLAbsPhotoSize diff --git a/src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs b/src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs index fc42b4d2..83afbd2b 100644 --- a/src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs +++ b/src/TgSharp.TL/TL/TLPhotoSizeEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(236446268)] public class TLPhotoSizeEmpty : TLAbsPhotoSize diff --git a/src/TgSharp.TL/TL/TLPhotoStrippedSize.cs b/src/TgSharp.TL/TL/TLPhotoStrippedSize.cs index e92cc935..1fbaac95 100644 --- a/src/TgSharp.TL/TL/TLPhotoStrippedSize.cs +++ b/src/TgSharp.TL/TL/TLPhotoStrippedSize.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-525288402)] public class TLPhotoStrippedSize : TLAbsPhotoSize diff --git a/src/TgSharp.TL/TL/TLPoll.cs b/src/TgSharp.TL/TL/TLPoll.cs index 998ece2f..dbc760bb 100644 --- a/src/TgSharp.TL/TL/TLPoll.cs +++ b/src/TgSharp.TL/TL/TLPoll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-716006138)] public class TLPoll : TLObject diff --git a/src/TgSharp.TL/TL/TLPollAnswer.cs b/src/TgSharp.TL/TL/TLPollAnswer.cs index d406cc39..9193f9e5 100644 --- a/src/TgSharp.TL/TL/TLPollAnswer.cs +++ b/src/TgSharp.TL/TL/TLPollAnswer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1823064809)] public class TLPollAnswer : TLObject diff --git a/src/TgSharp.TL/TL/TLPollAnswerVoters.cs b/src/TgSharp.TL/TL/TLPollAnswerVoters.cs index 0a1c36d9..d35db698 100644 --- a/src/TgSharp.TL/TL/TLPollAnswerVoters.cs +++ b/src/TgSharp.TL/TL/TLPollAnswerVoters.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(997055186)] public class TLPollAnswerVoters : TLObject diff --git a/src/TgSharp.TL/TL/TLPollResults.cs b/src/TgSharp.TL/TL/TLPollResults.cs index f5fe1306..0cef9b8c 100644 --- a/src/TgSharp.TL/TL/TLPollResults.cs +++ b/src/TgSharp.TL/TL/TLPollResults.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1465219162)] public class TLPollResults : TLObject diff --git a/src/TgSharp.TL/TL/TLPopularContact.cs b/src/TgSharp.TL/TL/TLPopularContact.cs index 95074d73..3a08b05b 100644 --- a/src/TgSharp.TL/TL/TLPopularContact.cs +++ b/src/TgSharp.TL/TL/TLPopularContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1558266229)] public class TLPopularContact : TLObject diff --git a/src/TgSharp.TL/TL/TLPostAddress.cs b/src/TgSharp.TL/TL/TLPostAddress.cs index 20d93c63..943beadd 100644 --- a/src/TgSharp.TL/TL/TLPostAddress.cs +++ b/src/TgSharp.TL/TL/TLPostAddress.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(512535275)] public class TLPostAddress : TLObject diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs b/src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs index 62807fd2..51a09acc 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyAddedByPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1124062251)] public class TLPrivacyKeyAddedByPhone : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs b/src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs index 569340bf..813a5c2e 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1343122938)] public class TLPrivacyKeyChatInvite : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs b/src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs index 96c42aa8..2251b882 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyForwards.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1777096355)] public class TLPrivacyKeyForwards : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs index ec72e5dd..e5f4924b 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1030105979)] public class TLPrivacyKeyPhoneCall : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs index 9c9c86bd..6f351238 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneNumber.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-778378131)] public class TLPrivacyKeyPhoneNumber : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs index 5c8e818a..ef246a70 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyPhoneP2P.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(961092808)] public class TLPrivacyKeyPhoneP2P : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs b/src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs index 661b281f..49f4bf36 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1777000467)] public class TLPrivacyKeyProfilePhoto : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs b/src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs index fda811c4..55d06f1c 100644 --- a/src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs +++ b/src/TgSharp.TL/TL/TLPrivacyKeyStatusTimestamp.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1137792208)] public class TLPrivacyKeyStatusTimestamp : TLAbsPrivacyKey diff --git a/src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs index a04ff9c3..606a8ce1 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueAllowAll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1698855810)] public class TLPrivacyValueAllowAll : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs index 782c9a5c..b7a26482 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueAllowChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(415136107)] public class TLPrivacyValueAllowChatParticipants : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs index d9f3efc3..8d9f0bcb 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueAllowContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-123988)] public class TLPrivacyValueAllowContacts : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs b/src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs index 93008921..e0d76c6a 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueAllowUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1297858060)] public class TLPrivacyValueAllowUsers : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs index cadcdf3d..ffbe5271 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueDisallowAll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1955338397)] public class TLPrivacyValueDisallowAll : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs index 5c84a914..d02c81ae 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueDisallowChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1397881200)] public class TLPrivacyValueDisallowChatParticipants : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs index 63730290..a74b9d3d 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueDisallowContacts.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-125240806)] public class TLPrivacyValueDisallowContacts : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs b/src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs index 162fadfc..21350326 100644 --- a/src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs +++ b/src/TgSharp.TL/TL/TLPrivacyValueDisallowUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(209668535)] public class TLPrivacyValueDisallowUsers : TLAbsPrivacyRule diff --git a/src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs b/src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs index 3b7cbfdb..ebf078a3 100644 --- a/src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs +++ b/src/TgSharp.TL/TL/TLReceivedNotifyMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1551583367)] public class TLReceivedNotifyMessage : TLObject diff --git a/src/TgSharp.TL/TL/TLRecentMeUrlChat.cs b/src/TgSharp.TL/TL/TLRecentMeUrlChat.cs index 10cdbdbb..988dc8c1 100644 --- a/src/TgSharp.TL/TL/TLRecentMeUrlChat.cs +++ b/src/TgSharp.TL/TL/TLRecentMeUrlChat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1608834311)] public class TLRecentMeUrlChat : TLAbsRecentMeUrl diff --git a/src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs b/src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs index be68548f..7168f5c5 100644 --- a/src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs +++ b/src/TgSharp.TL/TL/TLRecentMeUrlChatInvite.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-347535331)] public class TLRecentMeUrlChatInvite : TLAbsRecentMeUrl diff --git a/src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs b/src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs index 3bf08af9..453857da 100644 --- a/src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs +++ b/src/TgSharp.TL/TL/TLRecentMeUrlStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1140172836)] public class TLRecentMeUrlStickerSet : TLAbsRecentMeUrl diff --git a/src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs b/src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs index d666f746..f8b34a76 100644 --- a/src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs +++ b/src/TgSharp.TL/TL/TLRecentMeUrlUnknown.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1189204285)] public class TLRecentMeUrlUnknown : TLAbsRecentMeUrl diff --git a/src/TgSharp.TL/TL/TLRecentMeUrlUser.cs b/src/TgSharp.TL/TL/TLRecentMeUrlUser.cs index 7169a5ab..af4968af 100644 --- a/src/TgSharp.TL/TL/TLRecentMeUrlUser.cs +++ b/src/TgSharp.TL/TL/TLRecentMeUrlUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1917045962)] public class TLRecentMeUrlUser : TLAbsRecentMeUrl diff --git a/src/TgSharp.TL/TL/TLReplyInlineMarkup.cs b/src/TgSharp.TL/TL/TLReplyInlineMarkup.cs index bf89b78c..692e7740 100644 --- a/src/TgSharp.TL/TL/TLReplyInlineMarkup.cs +++ b/src/TgSharp.TL/TL/TLReplyInlineMarkup.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1218642516)] public class TLReplyInlineMarkup : TLAbsReplyMarkup diff --git a/src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs b/src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs index 2a6f9c9f..22655eac 100644 --- a/src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs +++ b/src/TgSharp.TL/TL/TLReplyKeyboardForceReply.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-200242528)] public class TLReplyKeyboardForceReply : TLAbsReplyMarkup diff --git a/src/TgSharp.TL/TL/TLReplyKeyboardHide.cs b/src/TgSharp.TL/TL/TLReplyKeyboardHide.cs index 597ae387..3754f54e 100644 --- a/src/TgSharp.TL/TL/TLReplyKeyboardHide.cs +++ b/src/TgSharp.TL/TL/TLReplyKeyboardHide.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1606526075)] public class TLReplyKeyboardHide : TLAbsReplyMarkup diff --git a/src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs b/src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs index 454e575a..3039fa80 100644 --- a/src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs +++ b/src/TgSharp.TL/TL/TLReplyKeyboardMarkup.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(889353612)] public class TLReplyKeyboardMarkup : TLAbsReplyMarkup diff --git a/src/TgSharp.TL/TL/TLRequestInitConnection.cs b/src/TgSharp.TL/TL/TLRequestInitConnection.cs index 2c5edef1..b68f4312 100644 --- a/src/TgSharp.TL/TL/TLRequestInitConnection.cs +++ b/src/TgSharp.TL/TL/TLRequestInitConnection.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2018609336)] public class TLRequestInitConnection : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs index 2ae147a8..f3f36004 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsg.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-878758099)] public class TLRequestInvokeAfterMsg : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs index 29e4cd49..84d2e226 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeAfterMsgs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1036301552)] public class TLRequestInvokeAfterMsgs : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs index 67e4f6ae..a9e94779 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeWithLayer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-627372787)] public class TLRequestInvokeWithLayer : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs index a69bbbf9..39c435bf 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeWithMessagesRange.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(911373810)] public class TLRequestInvokeWithMessagesRange : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs index d61f1265..f2e8b32b 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeWithTakeout.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1398145746)] public class TLRequestInvokeWithTakeout : TLMethod diff --git a/src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs b/src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs index af7094cf..93ebe775 100644 --- a/src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs +++ b/src/TgSharp.TL/TL/TLRequestInvokeWithoutUpdates.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1080796745)] public class TLRequestInvokeWithoutUpdates : TLMethod diff --git a/src/TgSharp.TL/TL/TLRestrictionReason.cs b/src/TgSharp.TL/TL/TLRestrictionReason.cs index bbee1bc4..4e1e6169 100644 --- a/src/TgSharp.TL/TL/TLRestrictionReason.cs +++ b/src/TgSharp.TL/TL/TLRestrictionReason.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-797791052)] public class TLRestrictionReason : TLObject diff --git a/src/TgSharp.TL/TL/TLSavedPhoneContact.cs b/src/TgSharp.TL/TL/TLSavedPhoneContact.cs index 3ba7e349..b9eae8a0 100644 --- a/src/TgSharp.TL/TL/TLSavedPhoneContact.cs +++ b/src/TgSharp.TL/TL/TLSavedPhoneContact.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(289586518)] public class TLSavedPhoneContact : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs b/src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs index 929d9282..090ef630 100644 --- a/src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs +++ b/src/TgSharp.TL/TL/TLSecureCredentialsEncrypted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(871426631)] public class TLSecureCredentialsEncrypted : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureData.cs b/src/TgSharp.TL/TL/TLSecureData.cs index 275be37d..6e9594dc 100644 --- a/src/TgSharp.TL/TL/TLSecureData.cs +++ b/src/TgSharp.TL/TL/TLSecureData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1964327229)] public class TLSecureData : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureFile.cs b/src/TgSharp.TL/TL/TLSecureFile.cs index 7507b113..b15fb3f7 100644 --- a/src/TgSharp.TL/TL/TLSecureFile.cs +++ b/src/TgSharp.TL/TL/TLSecureFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-534283678)] public class TLSecureFile : TLAbsSecureFile diff --git a/src/TgSharp.TL/TL/TLSecureFileEmpty.cs b/src/TgSharp.TL/TL/TLSecureFileEmpty.cs index 6e95d617..e853ea61 100644 --- a/src/TgSharp.TL/TL/TLSecureFileEmpty.cs +++ b/src/TgSharp.TL/TL/TLSecureFileEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1679398724)] public class TLSecureFileEmpty : TLAbsSecureFile diff --git a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs index b09826b2..175c0f3d 100644 --- a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs +++ b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1141711456)] public class TLSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 : TLAbsSecurePasswordKdfAlgo diff --git a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs index 650fc32c..9a022758 100644 --- a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs +++ b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoSHA512.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2042159726)] public class TLSecurePasswordKdfAlgoSHA512 : TLAbsSecurePasswordKdfAlgo diff --git a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs index e09d6287..52335c8f 100644 --- a/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs +++ b/src/TgSharp.TL/TL/TLSecurePasswordKdfAlgoUnknown.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(4883767)] public class TLSecurePasswordKdfAlgoUnknown : TLAbsSecurePasswordKdfAlgo diff --git a/src/TgSharp.TL/TL/TLSecurePlainEmail.cs b/src/TgSharp.TL/TL/TLSecurePlainEmail.cs index d32769a5..a6178a7e 100644 --- a/src/TgSharp.TL/TL/TLSecurePlainEmail.cs +++ b/src/TgSharp.TL/TL/TLSecurePlainEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(569137759)] public class TLSecurePlainEmail : TLAbsSecurePlainData diff --git a/src/TgSharp.TL/TL/TLSecurePlainPhone.cs b/src/TgSharp.TL/TL/TLSecurePlainPhone.cs index 5b149684..c7c70774 100644 --- a/src/TgSharp.TL/TL/TLSecurePlainPhone.cs +++ b/src/TgSharp.TL/TL/TLSecurePlainPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2103482845)] public class TLSecurePlainPhone : TLAbsSecurePlainData diff --git a/src/TgSharp.TL/TL/TLSecureRequiredType.cs b/src/TgSharp.TL/TL/TLSecureRequiredType.cs index f4cb393d..bbd8b3ba 100644 --- a/src/TgSharp.TL/TL/TLSecureRequiredType.cs +++ b/src/TgSharp.TL/TL/TLSecureRequiredType.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2103600678)] public class TLSecureRequiredType : TLAbsSecureRequiredType diff --git a/src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs b/src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs index 5007f2f7..f86fe20a 100644 --- a/src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs +++ b/src/TgSharp.TL/TL/TLSecureRequiredTypeOneOf.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(41187252)] public class TLSecureRequiredTypeOneOf : TLAbsSecureRequiredType diff --git a/src/TgSharp.TL/TL/TLSecureSecretSettings.cs b/src/TgSharp.TL/TL/TLSecureSecretSettings.cs index 5204d98d..fa89f86f 100644 --- a/src/TgSharp.TL/TL/TLSecureSecretSettings.cs +++ b/src/TgSharp.TL/TL/TLSecureSecretSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(354925740)] public class TLSecureSecretSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureValue.cs b/src/TgSharp.TL/TL/TLSecureValue.cs index ee50b3ab..de15b0d2 100644 --- a/src/TgSharp.TL/TL/TLSecureValue.cs +++ b/src/TgSharp.TL/TL/TLSecureValue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(411017418)] public class TLSecureValue : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureValueError.cs b/src/TgSharp.TL/TL/TLSecureValueError.cs index b0ffbe1d..366e36cd 100644 --- a/src/TgSharp.TL/TL/TLSecureValueError.cs +++ b/src/TgSharp.TL/TL/TLSecureValueError.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2036501105)] public class TLSecureValueError : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorData.cs b/src/TgSharp.TL/TL/TLSecureValueErrorData.cs index da5fb9a6..4bbd3bc7 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorData.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorData.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-391902247)] public class TLSecureValueErrorData : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorFile.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFile.cs index a037010d..dff2eabc 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorFile.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2054162547)] public class TLSecureValueErrorFile : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs index 297eb4d4..c8a94b26 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorFiles.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1717706985)] public class TLSecureValueErrorFiles : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs b/src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs index d736150d..67e64284 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorFrontSide.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(12467706)] public class TLSecureValueErrorFrontSide : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs b/src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs index d8ee47d4..6d0fcf0c 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorReverseSide.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2037765467)] public class TLSecureValueErrorReverseSide : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs b/src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs index 8ea30f20..5187202b 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorSelfie.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-449327402)] public class TLSecureValueErrorSelfie : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs index 54407067..ba9d8784 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1592506512)] public class TLSecureValueErrorTranslationFile : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs index c6aff0ae..c25f4eef 100644 --- a/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs +++ b/src/TgSharp.TL/TL/TLSecureValueErrorTranslationFiles.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(878931416)] public class TLSecureValueErrorTranslationFiles : TLAbsSecureValueError diff --git a/src/TgSharp.TL/TL/TLSecureValueHash.cs b/src/TgSharp.TL/TL/TLSecureValueHash.cs index 4e7e42df..f94a8357 100644 --- a/src/TgSharp.TL/TL/TLSecureValueHash.cs +++ b/src/TgSharp.TL/TL/TLSecureValueHash.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-316748368)] public class TLSecureValueHash : TLObject diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs b/src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs index 7fff8c27..8fc99403 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeAddress.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-874308058)] public class TLSecureValueTypeAddress : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs b/src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs index d234379f..2e74771e 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeBankStatement.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1995211763)] public class TLSecureValueTypeBankStatement : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs b/src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs index 34fe582c..6753a925 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeDriverLicense.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(115615172)] public class TLSecureValueTypeDriverLicense : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs b/src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs index 4b3de79f..b47bd49b 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1908627474)] public class TLSecureValueTypeEmail : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs b/src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs index 0f06e197..0f5d1ba8 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeIdentityCard.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1596951477)] public class TLSecureValueTypeIdentityCard : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs b/src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs index 8eb555a0..03a9db04 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeInternalPassport.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1717268701)] public class TLSecureValueTypeInternalPassport : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypePassport.cs b/src/TgSharp.TL/TL/TLSecureValueTypePassport.cs index 3bf1185c..eeca536c 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypePassport.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypePassport.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1034709504)] public class TLSecureValueTypePassport : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs b/src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs index a1418217..76027686 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypePassportRegistration.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1713143702)] public class TLSecureValueTypePassportRegistration : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs b/src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs index 16888fff..1c7198df 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypePersonalDetails.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1658158621)] public class TLSecureValueTypePersonalDetails : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypePhone.cs b/src/TgSharp.TL/TL/TLSecureValueTypePhone.cs index 9eb4d8de..eb85d842 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypePhone.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypePhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1289704741)] public class TLSecureValueTypePhone : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs b/src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs index 099d5843..7b467f83 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeRentalAgreement.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1954007928)] public class TLSecureValueTypeRentalAgreement : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs b/src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs index 17256248..77413c32 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeTemporaryRegistration.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-368907213)] public class TLSecureValueTypeTemporaryRegistration : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs b/src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs index b63eb5a1..60d70b83 100644 --- a/src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs +++ b/src/TgSharp.TL/TL/TLSecureValueTypeUtilityBill.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-63531698)] public class TLSecureValueTypeUtilityBill : TLAbsSecureValueType diff --git a/src/TgSharp.TL/TL/TLSendMessageCancelAction.cs b/src/TgSharp.TL/TL/TLSendMessageCancelAction.cs index 448fd90a..bb4cf86e 100644 --- a/src/TgSharp.TL/TL/TLSendMessageCancelAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageCancelAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-44119819)] public class TLSendMessageCancelAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs b/src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs index 8c3f8709..60967198 100644 --- a/src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageChooseContactAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1653390447)] public class TLSendMessageChooseContactAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs b/src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs index a5f21966..93996dcb 100644 --- a/src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageGamePlayAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-580219064)] public class TLSendMessageGamePlayAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs b/src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs index dbdfdee5..22fa240f 100644 --- a/src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageGeoLocationAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(393186209)] public class TLSendMessageGeoLocationAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs index 7accf38e..633b1a1e 100644 --- a/src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageRecordAudioAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-718310409)] public class TLSendMessageRecordAudioAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs index 0cb188c2..0cb248a9 100644 --- a/src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageRecordRoundAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1997373508)] public class TLSendMessageRecordRoundAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs b/src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs index bf6a8909..6a2dae0f 100644 --- a/src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageRecordVideoAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1584933265)] public class TLSendMessageRecordVideoAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageTypingAction.cs b/src/TgSharp.TL/TL/TLSendMessageTypingAction.cs index ed72bf00..f8baef3b 100644 --- a/src/TgSharp.TL/TL/TLSendMessageTypingAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageTypingAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(381645902)] public class TLSendMessageTypingAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs index 4585b3db..96e9b015 100644 --- a/src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageUploadAudioAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-212740181)] public class TLSendMessageUploadAudioAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs index 3808671c..116977a2 100644 --- a/src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageUploadDocumentAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1441998364)] public class TLSendMessageUploadDocumentAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs index c7fdf6f6..283434d4 100644 --- a/src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageUploadPhotoAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-774682074)] public class TLSendMessageUploadPhotoAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs index 14ed5c23..ccc76c96 100644 --- a/src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageUploadRoundAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(608050278)] public class TLSendMessageUploadRoundAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs b/src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs index c30803ed..77fb4f7e 100644 --- a/src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs +++ b/src/TgSharp.TL/TL/TLSendMessageUploadVideoAction.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-378127636)] public class TLSendMessageUploadVideoAction : TLAbsSendMessageAction diff --git a/src/TgSharp.TL/TL/TLShippingOption.cs b/src/TgSharp.TL/TL/TLShippingOption.cs index d89497e6..2bac4ad4 100644 --- a/src/TgSharp.TL/TL/TLShippingOption.cs +++ b/src/TgSharp.TL/TL/TLShippingOption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1239335713)] public class TLShippingOption : TLObject diff --git a/src/TgSharp.TL/TL/TLStatsURL.cs b/src/TgSharp.TL/TL/TLStatsURL.cs index a87bcfc6..3a0b7582 100644 --- a/src/TgSharp.TL/TL/TLStatsURL.cs +++ b/src/TgSharp.TL/TL/TLStatsURL.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1202287072)] public class TLStatsURL : TLObject diff --git a/src/TgSharp.TL/TL/TLStickerPack.cs b/src/TgSharp.TL/TL/TLStickerPack.cs index fabeb554..c600e1ae 100644 --- a/src/TgSharp.TL/TL/TLStickerPack.cs +++ b/src/TgSharp.TL/TL/TLStickerPack.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(313694676)] public class TLStickerPack : TLObject diff --git a/src/TgSharp.TL/TL/TLStickerSet.cs b/src/TgSharp.TL/TL/TLStickerSet.cs index 53264a85..e151c6ec 100644 --- a/src/TgSharp.TL/TL/TLStickerSet.cs +++ b/src/TgSharp.TL/TL/TLStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-290164953)] public class TLStickerSet : TLObject diff --git a/src/TgSharp.TL/TL/TLStickerSetCovered.cs b/src/TgSharp.TL/TL/TLStickerSetCovered.cs index a8592916..c68c9d7a 100644 --- a/src/TgSharp.TL/TL/TLStickerSetCovered.cs +++ b/src/TgSharp.TL/TL/TLStickerSetCovered.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1678812626)] public class TLStickerSetCovered : TLAbsStickerSetCovered diff --git a/src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs b/src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs index e4d399b6..b5cc5d86 100644 --- a/src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs +++ b/src/TgSharp.TL/TL/TLStickerSetMultiCovered.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(872932635)] public class TLStickerSetMultiCovered : TLAbsStickerSetCovered diff --git a/src/TgSharp.TL/TL/TLTextAnchor.cs b/src/TgSharp.TL/TL/TLTextAnchor.cs index e52b897f..8efc6a3f 100644 --- a/src/TgSharp.TL/TL/TLTextAnchor.cs +++ b/src/TgSharp.TL/TL/TLTextAnchor.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(894777186)] public class TLTextAnchor : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextBold.cs b/src/TgSharp.TL/TL/TLTextBold.cs index cc354183..848305d2 100644 --- a/src/TgSharp.TL/TL/TLTextBold.cs +++ b/src/TgSharp.TL/TL/TLTextBold.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1730456516)] public class TLTextBold : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextConcat.cs b/src/TgSharp.TL/TL/TLTextConcat.cs index 8664f7d5..93556f9b 100644 --- a/src/TgSharp.TL/TL/TLTextConcat.cs +++ b/src/TgSharp.TL/TL/TLTextConcat.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2120376535)] public class TLTextConcat : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextEmail.cs b/src/TgSharp.TL/TL/TLTextEmail.cs index 7bdaca1e..97308024 100644 --- a/src/TgSharp.TL/TL/TLTextEmail.cs +++ b/src/TgSharp.TL/TL/TLTextEmail.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-564523562)] public class TLTextEmail : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextEmpty.cs b/src/TgSharp.TL/TL/TLTextEmpty.cs index f4d1db01..92d0dd68 100644 --- a/src/TgSharp.TL/TL/TLTextEmpty.cs +++ b/src/TgSharp.TL/TL/TLTextEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-599948721)] public class TLTextEmpty : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextFixed.cs b/src/TgSharp.TL/TL/TLTextFixed.cs index 97d8f504..272cd452 100644 --- a/src/TgSharp.TL/TL/TLTextFixed.cs +++ b/src/TgSharp.TL/TL/TLTextFixed.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1816074681)] public class TLTextFixed : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextImage.cs b/src/TgSharp.TL/TL/TLTextImage.cs index 9fdff4e0..9b6f83cc 100644 --- a/src/TgSharp.TL/TL/TLTextImage.cs +++ b/src/TgSharp.TL/TL/TLTextImage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(136105807)] public class TLTextImage : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextItalic.cs b/src/TgSharp.TL/TL/TLTextItalic.cs index b4c4cd5d..42a36e41 100644 --- a/src/TgSharp.TL/TL/TLTextItalic.cs +++ b/src/TgSharp.TL/TL/TLTextItalic.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-653089380)] public class TLTextItalic : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextMarked.cs b/src/TgSharp.TL/TL/TLTextMarked.cs index e392e4e0..465061c5 100644 --- a/src/TgSharp.TL/TL/TLTextMarked.cs +++ b/src/TgSharp.TL/TL/TLTextMarked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(55281185)] public class TLTextMarked : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextPhone.cs b/src/TgSharp.TL/TL/TLTextPhone.cs index 5d13b71c..540e68f3 100644 --- a/src/TgSharp.TL/TL/TLTextPhone.cs +++ b/src/TgSharp.TL/TL/TLTextPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(483104362)] public class TLTextPhone : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextPlain.cs b/src/TgSharp.TL/TL/TLTextPlain.cs index 407df5ed..741fbb33 100644 --- a/src/TgSharp.TL/TL/TLTextPlain.cs +++ b/src/TgSharp.TL/TL/TLTextPlain.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1950782688)] public class TLTextPlain : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextStrike.cs b/src/TgSharp.TL/TL/TLTextStrike.cs index af8548f6..81983e81 100644 --- a/src/TgSharp.TL/TL/TLTextStrike.cs +++ b/src/TgSharp.TL/TL/TLTextStrike.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1678197867)] public class TLTextStrike : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextSubscript.cs b/src/TgSharp.TL/TL/TLTextSubscript.cs index 760ef6a1..856c9894 100644 --- a/src/TgSharp.TL/TL/TLTextSubscript.cs +++ b/src/TgSharp.TL/TL/TLTextSubscript.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-311786236)] public class TLTextSubscript : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextSuperscript.cs b/src/TgSharp.TL/TL/TLTextSuperscript.cs index 109acc9e..aee3b287 100644 --- a/src/TgSharp.TL/TL/TLTextSuperscript.cs +++ b/src/TgSharp.TL/TL/TLTextSuperscript.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-939827711)] public class TLTextSuperscript : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextUnderline.cs b/src/TgSharp.TL/TL/TLTextUnderline.cs index e83cd468..5f592bdf 100644 --- a/src/TgSharp.TL/TL/TLTextUnderline.cs +++ b/src/TgSharp.TL/TL/TLTextUnderline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1054465340)] public class TLTextUnderline : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTextUrl.cs b/src/TgSharp.TL/TL/TLTextUrl.cs index d93a0ab9..484f88cf 100644 --- a/src/TgSharp.TL/TL/TLTextUrl.cs +++ b/src/TgSharp.TL/TL/TLTextUrl.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1009288385)] public class TLTextUrl : TLAbsRichText diff --git a/src/TgSharp.TL/TL/TLTheme.cs b/src/TgSharp.TL/TL/TLTheme.cs index 2292e2d2..946ceb52 100644 --- a/src/TgSharp.TL/TL/TLTheme.cs +++ b/src/TgSharp.TL/TL/TLTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(42930452)] public class TLTheme : TLObject diff --git a/src/TgSharp.TL/TL/TLThemeSettings.cs b/src/TgSharp.TL/TL/TLThemeSettings.cs index b603155f..1d929dc4 100644 --- a/src/TgSharp.TL/TL/TLThemeSettings.cs +++ b/src/TgSharp.TL/TL/TLThemeSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1676371894)] public class TLThemeSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLTopPeer.cs b/src/TgSharp.TL/TL/TLTopPeer.cs index 0e1cf212..d325daa6 100644 --- a/src/TgSharp.TL/TL/TLTopPeer.cs +++ b/src/TgSharp.TL/TL/TLTopPeer.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-305282981)] public class TLTopPeer : TLObject diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs index ce1f357b..aba5d270 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsInline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(344356834)] public class TLTopPeerCategoryBotsInline : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs index 509aeb65..d9989294 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryBotsPM.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1419371685)] public class TLTopPeerCategoryBotsPM : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs index ad05277c..d0bb1d2f 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryChannels.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(371037736)] public class TLTopPeerCategoryChannels : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs index 09c94ee2..2d358908 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryCorrespondents.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(104314861)] public class TLTopPeerCategoryCorrespondents : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs index a1582007..65240193 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardChats.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-68239120)] public class TLTopPeerCategoryForwardChats : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs index 74d450a0..27730091 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryForwardUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1472172887)] public class TLTopPeerCategoryForwardUsers : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs index 92b6fb19..6fc96f80 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryGroups.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1122524854)] public class TLTopPeerCategoryGroups : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs index 472349c9..f7c997f9 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-75283823)] public class TLTopPeerCategoryPeers : TLObject diff --git a/src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs b/src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs index a9e14121..2b493b97 100644 --- a/src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs +++ b/src/TgSharp.TL/TL/TLTopPeerCategoryPhoneCalls.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(511092620)] public class TLTopPeerCategoryPhoneCalls : TLAbsTopPeerCategory diff --git a/src/TgSharp.TL/TL/TLTrue.cs b/src/TgSharp.TL/TL/TLTrue.cs index cbd6261d..f455ad60 100644 --- a/src/TgSharp.TL/TL/TLTrue.cs +++ b/src/TgSharp.TL/TL/TLTrue.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1072550713)] public class TLTrue : TLObject diff --git a/src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs index b8fb267e..fc5af84c 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotCallbackQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-415938591)] public class TLUpdateBotCallbackQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs index 9a797962..bab6029a 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotInlineQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1417832080)] public class TLUpdateBotInlineQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs b/src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs index 3c5a5de7..9943a674 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotInlineSend.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(239663460)] public class TLUpdateBotInlineSend : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs index 7955dfbf..12257e2e 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotPrecheckoutQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1563376297)] public class TLUpdateBotPrecheckoutQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs index 9ec90677..71551015 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotShippingQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-523384512)] public class TLUpdateBotShippingQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs index 76306884..43d3b4c0 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSON.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2095595325)] public class TLUpdateBotWebhookJSON : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs index 820dc6c9..ac4d2e94 100644 --- a/src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateBotWebhookJSONQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1684914010)] public class TLUpdateBotWebhookJSONQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannel.cs b/src/TgSharp.TL/TL/TLUpdateChannel.cs index b14fed71..4ce3175f 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannel.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannel.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1227598250)] public class TLUpdateChannel : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs b/src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs index 11c5468c..08b8ae74 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelAvailableMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1893427255)] public class TLUpdateChannelAvailableMessages : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs b/src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs index c3056cad..0ffdc5b7 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelMessageViews.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1734268085)] public class TLUpdateChannelMessageViews : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs index 61a5e372..8a74a209 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelPinnedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1738988427)] public class TLUpdateChannelPinnedMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs b/src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs index 9ef4a0ed..14016e1a 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelReadMessagesContents.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1987495099)] public class TLUpdateChannelReadMessagesContents : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs b/src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs index e395bd35..c6832ea4 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelTooLong.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-352032773)] public class TLUpdateChannelTooLong : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs b/src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs index 5ec71f00..ef8fdbdf 100644 --- a/src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs +++ b/src/TgSharp.TL/TL/TLUpdateChannelWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1081547008)] public class TLUpdateChannelWebPage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs b/src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs index b50023c0..372ea15d 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatDefaultBannedRights.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1421875280)] public class TLUpdateChatDefaultBannedRights : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs index e9812abe..7203a2ea 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdd.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-364179876)] public class TLUpdateChatParticipantAdd : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs index 4254ce91..be367de4 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatParticipantAdmin.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1232070311)] public class TLUpdateChatParticipantAdmin : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs index c63840aa..32b34108 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatParticipantDelete.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1851755554)] public class TLUpdateChatParticipantDelete : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatParticipants.cs b/src/TgSharp.TL/TL/TLUpdateChatParticipants.cs index 0cf8ca7f..918995aa 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatParticipants.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatParticipants.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(125178264)] public class TLUpdateChatParticipants : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs index 02e2dec0..ae6a9b6f 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatPinnedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-519195831)] public class TLUpdateChatPinnedMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs b/src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs index cfa7a208..e9d2d00a 100644 --- a/src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs +++ b/src/TgSharp.TL/TL/TLUpdateChatUserTyping.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1704596961)] public class TLUpdateChatUserTyping : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateConfig.cs b/src/TgSharp.TL/TL/TLUpdateConfig.cs index 31fb9d5f..d929c2e6 100644 --- a/src/TgSharp.TL/TL/TLUpdateConfig.cs +++ b/src/TgSharp.TL/TL/TLUpdateConfig.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1574314746)] public class TLUpdateConfig : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateContactsReset.cs b/src/TgSharp.TL/TL/TLUpdateContactsReset.cs index 7e7d1b20..b2f81b0b 100644 --- a/src/TgSharp.TL/TL/TLUpdateContactsReset.cs +++ b/src/TgSharp.TL/TL/TLUpdateContactsReset.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1887741886)] public class TLUpdateContactsReset : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDcOptions.cs b/src/TgSharp.TL/TL/TLUpdateDcOptions.cs index 3e7a7dca..620ccb3c 100644 --- a/src/TgSharp.TL/TL/TLUpdateDcOptions.cs +++ b/src/TgSharp.TL/TL/TLUpdateDcOptions.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1906403213)] public class TLUpdateDcOptions : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs index 74e449a2..9770d289 100644 --- a/src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs +++ b/src/TgSharp.TL/TL/TLUpdateDeleteChannelMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1015733815)] public class TLUpdateDeleteChannelMessages : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs index bf55c8ca..52f355ff 100644 --- a/src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs +++ b/src/TgSharp.TL/TL/TLUpdateDeleteMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1576161051)] public class TLUpdateDeleteMessages : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs b/src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs index ada1c7a9..e8739fa6 100644 --- a/src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs +++ b/src/TgSharp.TL/TL/TLUpdateDeleteScheduledMessages.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1870238482)] public class TLUpdateDeleteScheduledMessages : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDialogPinned.cs b/src/TgSharp.TL/TL/TLUpdateDialogPinned.cs index 12d34943..0778e118 100644 --- a/src/TgSharp.TL/TL/TLUpdateDialogPinned.cs +++ b/src/TgSharp.TL/TL/TLUpdateDialogPinned.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1852826908)] public class TLUpdateDialogPinned : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs b/src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs index 15db86e4..f70bbaf8 100644 --- a/src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs +++ b/src/TgSharp.TL/TL/TLUpdateDialogUnreadMark.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-513517117)] public class TLUpdateDialogUnreadMark : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateDraftMessage.cs b/src/TgSharp.TL/TL/TLUpdateDraftMessage.cs index 83cdba77..cf461a43 100644 --- a/src/TgSharp.TL/TL/TLUpdateDraftMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateDraftMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-299124375)] public class TLUpdateDraftMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs b/src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs index ae793212..66dde830 100644 --- a/src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateEditChannelMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(457133559)] public class TLUpdateEditChannelMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateEditMessage.cs b/src/TgSharp.TL/TL/TLUpdateEditMessage.cs index 79596389..8ae35cdd 100644 --- a/src/TgSharp.TL/TL/TLUpdateEditMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateEditMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-469536605)] public class TLUpdateEditMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs b/src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs index c19b0b21..8e0ae801 100644 --- a/src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs +++ b/src/TgSharp.TL/TL/TLUpdateEncryptedChatTyping.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(386986326)] public class TLUpdateEncryptedChatTyping : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs b/src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs index 8c262fe0..81ca57ea 100644 --- a/src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs +++ b/src/TgSharp.TL/TL/TLUpdateEncryptedMessagesRead.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(956179895)] public class TLUpdateEncryptedMessagesRead : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateEncryption.cs b/src/TgSharp.TL/TL/TLUpdateEncryption.cs index 61ec3d7c..99cfa77f 100644 --- a/src/TgSharp.TL/TL/TLUpdateEncryption.cs +++ b/src/TgSharp.TL/TL/TLUpdateEncryption.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1264392051)] public class TLUpdateEncryption : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateFavedStickers.cs b/src/TgSharp.TL/TL/TLUpdateFavedStickers.cs index 274f1d65..21afd844 100644 --- a/src/TgSharp.TL/TL/TLUpdateFavedStickers.cs +++ b/src/TgSharp.TL/TL/TLUpdateFavedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-451831443)] public class TLUpdateFavedStickers : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateFolderPeers.cs b/src/TgSharp.TL/TL/TLUpdateFolderPeers.cs index 648e69bd..d418ba4d 100644 --- a/src/TgSharp.TL/TL/TLUpdateFolderPeers.cs +++ b/src/TgSharp.TL/TL/TLUpdateFolderPeers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(422972864)] public class TLUpdateFolderPeers : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs b/src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs index 3c27044e..a36ba058 100644 --- a/src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs +++ b/src/TgSharp.TL/TL/TLUpdateGeoLiveViewed.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2027964103)] public class TLUpdateGeoLiveViewed : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs b/src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs index 9c469b9b..532b3d61 100644 --- a/src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs +++ b/src/TgSharp.TL/TL/TLUpdateInlineBotCallbackQuery.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-103646630)] public class TLUpdateInlineBotCallbackQuery : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateLangPack.cs b/src/TgSharp.TL/TL/TLUpdateLangPack.cs index 68830bb7..338ed08d 100644 --- a/src/TgSharp.TL/TL/TLUpdateLangPack.cs +++ b/src/TgSharp.TL/TL/TLUpdateLangPack.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1442983757)] public class TLUpdateLangPack : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs b/src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs index bf32a7e7..de974493 100644 --- a/src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs +++ b/src/TgSharp.TL/TL/TLUpdateLangPackTooLong.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1180041828)] public class TLUpdateLangPackTooLong : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateLoginToken.cs b/src/TgSharp.TL/TL/TLUpdateLoginToken.cs index b69c9e31..6e89cf36 100644 --- a/src/TgSharp.TL/TL/TLUpdateLoginToken.cs +++ b/src/TgSharp.TL/TL/TLUpdateLoginToken.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1448076945)] public class TLUpdateLoginToken : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateMessageID.cs b/src/TgSharp.TL/TL/TLUpdateMessageID.cs index ffed25a2..77c08afd 100644 --- a/src/TgSharp.TL/TL/TLUpdateMessageID.cs +++ b/src/TgSharp.TL/TL/TLUpdateMessageID.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1318109142)] public class TLUpdateMessageID : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateMessagePoll.cs b/src/TgSharp.TL/TL/TLUpdateMessagePoll.cs index 0c814996..6d8ca669 100644 --- a/src/TgSharp.TL/TL/TLUpdateMessagePoll.cs +++ b/src/TgSharp.TL/TL/TLUpdateMessagePoll.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1398708869)] public class TLUpdateMessagePoll : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs index 9b954304..24c8e050 100644 --- a/src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateNewChannelMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1656358105)] public class TLUpdateNewChannelMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs index 8f298368..39ee6359 100644 --- a/src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateNewEncryptedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(314359194)] public class TLUpdateNewEncryptedMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNewMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewMessage.cs index 6368fc5c..93fa1473 100644 --- a/src/TgSharp.TL/TL/TLUpdateNewMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateNewMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(522914557)] public class TLUpdateNewMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs b/src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs index b4f759c2..c46832c5 100644 --- a/src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateNewScheduledMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(967122427)] public class TLUpdateNewScheduledMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs b/src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs index 9163ea44..e04f2319 100644 --- a/src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs +++ b/src/TgSharp.TL/TL/TLUpdateNewStickerSet.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1753886890)] public class TLUpdateNewStickerSet : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateNotifySettings.cs b/src/TgSharp.TL/TL/TLUpdateNotifySettings.cs index 29f16037..1c216b15 100644 --- a/src/TgSharp.TL/TL/TLUpdateNotifySettings.cs +++ b/src/TgSharp.TL/TL/TLUpdateNotifySettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1094555409)] public class TLUpdateNotifySettings : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePeerLocated.cs b/src/TgSharp.TL/TL/TLUpdatePeerLocated.cs index dc989ff5..74382048 100644 --- a/src/TgSharp.TL/TL/TLUpdatePeerLocated.cs +++ b/src/TgSharp.TL/TL/TLUpdatePeerLocated.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1263546448)] public class TLUpdatePeerLocated : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePeerSettings.cs b/src/TgSharp.TL/TL/TLUpdatePeerSettings.cs index d6600f14..63883d93 100644 --- a/src/TgSharp.TL/TL/TLUpdatePeerSettings.cs +++ b/src/TgSharp.TL/TL/TLUpdatePeerSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1786671974)] public class TLUpdatePeerSettings : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePhoneCall.cs b/src/TgSharp.TL/TL/TLUpdatePhoneCall.cs index 4969043d..bd573812 100644 --- a/src/TgSharp.TL/TL/TLUpdatePhoneCall.cs +++ b/src/TgSharp.TL/TL/TLUpdatePhoneCall.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1425052898)] public class TLUpdatePhoneCall : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs b/src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs index 1c3a392f..84dc6ec8 100644 --- a/src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs +++ b/src/TgSharp.TL/TL/TLUpdatePinnedDialogs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-99664734)] public class TLUpdatePinnedDialogs : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePrivacy.cs b/src/TgSharp.TL/TL/TLUpdatePrivacy.cs index 7dd80801..7ec6c8f1 100644 --- a/src/TgSharp.TL/TL/TLUpdatePrivacy.cs +++ b/src/TgSharp.TL/TL/TLUpdatePrivacy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-298113238)] public class TLUpdatePrivacy : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdatePtsChanged.cs b/src/TgSharp.TL/TL/TLUpdatePtsChanged.cs index 9149958b..b843bb0e 100644 --- a/src/TgSharp.TL/TL/TLUpdatePtsChanged.cs +++ b/src/TgSharp.TL/TL/TLUpdatePtsChanged.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(861169551)] public class TLUpdatePtsChanged : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs b/src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs index a53f5eb3..395efcb9 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadChannelInbox.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(856380452)] public class TLUpdateReadChannelInbox : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs b/src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs index 7fbf7590..2cea1ae1 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadChannelOutbox.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(634833351)] public class TLUpdateReadChannelOutbox : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs b/src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs index 52c9b804..f80582a3 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadFeaturedStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1461528386)] public class TLUpdateReadFeaturedStickers : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs b/src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs index 08773886..c7b73037 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadHistoryInbox.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1667805217)] public class TLUpdateReadHistoryInbox : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs b/src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs index d6e93ae9..876f35e4 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadHistoryOutbox.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(791617983)] public class TLUpdateReadHistoryOutbox : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs b/src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs index 6919cd21..6f9408fc 100644 --- a/src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs +++ b/src/TgSharp.TL/TL/TLUpdateReadMessagesContents.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1757493555)] public class TLUpdateReadMessagesContents : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateRecentStickers.cs b/src/TgSharp.TL/TL/TLUpdateRecentStickers.cs index e05853ea..e0b9a9e5 100644 --- a/src/TgSharp.TL/TL/TLUpdateRecentStickers.cs +++ b/src/TgSharp.TL/TL/TLUpdateRecentStickers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1706939360)] public class TLUpdateRecentStickers : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateSavedGifs.cs b/src/TgSharp.TL/TL/TLUpdateSavedGifs.cs index 985a7082..ef5d0bd0 100644 --- a/src/TgSharp.TL/TL/TLUpdateSavedGifs.cs +++ b/src/TgSharp.TL/TL/TLUpdateSavedGifs.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1821035490)] public class TLUpdateSavedGifs : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateServiceNotification.cs b/src/TgSharp.TL/TL/TLUpdateServiceNotification.cs index cf1c2068..f15c76e6 100644 --- a/src/TgSharp.TL/TL/TLUpdateServiceNotification.cs +++ b/src/TgSharp.TL/TL/TLUpdateServiceNotification.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-337352679)] public class TLUpdateServiceNotification : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateShort.cs b/src/TgSharp.TL/TL/TLUpdateShort.cs index 2cfa6e93..dce3d83c 100644 --- a/src/TgSharp.TL/TL/TLUpdateShort.cs +++ b/src/TgSharp.TL/TL/TLUpdateShort.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2027216577)] public class TLUpdateShort : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs index 819aa976..4f217636 100644 --- a/src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateShortChatMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(377562760)] public class TLUpdateShortChatMessage : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdateShortMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortMessage.cs index e037e16f..cf6dd8d1 100644 --- a/src/TgSharp.TL/TL/TLUpdateShortMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateShortMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1857044719)] public class TLUpdateShortMessage : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs b/src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs index e3de0360..2e8c2da8 100644 --- a/src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateShortSentMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(301019932)] public class TLUpdateShortSentMessage : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdateStickerSets.cs b/src/TgSharp.TL/TL/TLUpdateStickerSets.cs index 0cc12c8b..cb980e44 100644 --- a/src/TgSharp.TL/TL/TLUpdateStickerSets.cs +++ b/src/TgSharp.TL/TL/TLUpdateStickerSets.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1135492588)] public class TLUpdateStickerSets : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs b/src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs index 5826450f..5444f255 100644 --- a/src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs +++ b/src/TgSharp.TL/TL/TLUpdateStickerSetsOrder.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(196268545)] public class TLUpdateStickerSetsOrder : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateTheme.cs b/src/TgSharp.TL/TL/TLUpdateTheme.cs index 35491621..29f14eb3 100644 --- a/src/TgSharp.TL/TL/TLUpdateTheme.cs +++ b/src/TgSharp.TL/TL/TLUpdateTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2112423005)] public class TLUpdateTheme : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserBlocked.cs b/src/TgSharp.TL/TL/TLUpdateUserBlocked.cs index 3007c229..7ed2ea2b 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserBlocked.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserBlocked.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2131957734)] public class TLUpdateUserBlocked : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserName.cs b/src/TgSharp.TL/TL/TLUpdateUserName.cs index 66a4361f..8a13f91f 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserName.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserName.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1489818765)] public class TLUpdateUserName : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserPhone.cs b/src/TgSharp.TL/TL/TLUpdateUserPhone.cs index 4a7ca7d0..33b845b7 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserPhone.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserPhone.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(314130811)] public class TLUpdateUserPhone : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserPhoto.cs b/src/TgSharp.TL/TL/TLUpdateUserPhoto.cs index 8301ed50..627b7238 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserPhoto.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserPhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1791935732)] public class TLUpdateUserPhoto : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs b/src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs index b61a99a7..015e75da 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserPinnedMessage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1279515160)] public class TLUpdateUserPinnedMessage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserStatus.cs b/src/TgSharp.TL/TL/TLUpdateUserStatus.cs index a8d30581..3fad2d53 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserStatus.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserStatus.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(469489699)] public class TLUpdateUserStatus : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateUserTyping.cs b/src/TgSharp.TL/TL/TLUpdateUserTyping.cs index dcc46a25..63611aad 100644 --- a/src/TgSharp.TL/TL/TLUpdateUserTyping.cs +++ b/src/TgSharp.TL/TL/TLUpdateUserTyping.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1548249383)] public class TLUpdateUserTyping : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdateWebPage.cs b/src/TgSharp.TL/TL/TLUpdateWebPage.cs index 715a996c..fd17171b 100644 --- a/src/TgSharp.TL/TL/TLUpdateWebPage.cs +++ b/src/TgSharp.TL/TL/TLUpdateWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2139689491)] public class TLUpdateWebPage : TLAbsUpdate diff --git a/src/TgSharp.TL/TL/TLUpdates.cs b/src/TgSharp.TL/TL/TLUpdates.cs index d275eaed..f80c5290 100644 --- a/src/TgSharp.TL/TL/TLUpdates.cs +++ b/src/TgSharp.TL/TL/TLUpdates.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1957577280)] public class TLUpdates : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdatesCombined.cs b/src/TgSharp.TL/TL/TLUpdatesCombined.cs index 992c8238..bfac4b64 100644 --- a/src/TgSharp.TL/TL/TLUpdatesCombined.cs +++ b/src/TgSharp.TL/TL/TLUpdatesCombined.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1918567619)] public class TLUpdatesCombined : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUpdatesTooLong.cs b/src/TgSharp.TL/TL/TLUpdatesTooLong.cs index eb87ddd9..c98eca5d 100644 --- a/src/TgSharp.TL/TL/TLUpdatesTooLong.cs +++ b/src/TgSharp.TL/TL/TLUpdatesTooLong.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-484987010)] public class TLUpdatesTooLong : TLAbsUpdates diff --git a/src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs b/src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs index f81cb61e..f2945521 100644 --- a/src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs +++ b/src/TgSharp.TL/TL/TLUrlAuthResultAccepted.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1886646706)] public class TLUrlAuthResultAccepted : TLAbsUrlAuthResult diff --git a/src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs b/src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs index d3522ee9..dfd923dd 100644 --- a/src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs +++ b/src/TgSharp.TL/TL/TLUrlAuthResultDefault.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1445536993)] public class TLUrlAuthResultDefault : TLAbsUrlAuthResult diff --git a/src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs b/src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs index 1e2dd514..fd676fe1 100644 --- a/src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs +++ b/src/TgSharp.TL/TL/TLUrlAuthResultRequest.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1831650802)] public class TLUrlAuthResultRequest : TLAbsUrlAuthResult diff --git a/src/TgSharp.TL/TL/TLUser.cs b/src/TgSharp.TL/TL/TLUser.cs index f3768e5a..bf143872 100644 --- a/src/TgSharp.TL/TL/TLUser.cs +++ b/src/TgSharp.TL/TL/TLUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1820043071)] public class TLUser : TLAbsUser diff --git a/src/TgSharp.TL/TL/TLUserEmpty.cs b/src/TgSharp.TL/TL/TLUserEmpty.cs index 22bd1865..e4a93f46 100644 --- a/src/TgSharp.TL/TL/TLUserEmpty.cs +++ b/src/TgSharp.TL/TL/TLUserEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(537022650)] public class TLUserEmpty : TLAbsUser diff --git a/src/TgSharp.TL/TL/TLUserFull.cs b/src/TgSharp.TL/TL/TLUserFull.cs index f453a8c0..7eae31c3 100644 --- a/src/TgSharp.TL/TL/TLUserFull.cs +++ b/src/TgSharp.TL/TL/TLUserFull.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-302941166)] public class TLUserFull : TLObject diff --git a/src/TgSharp.TL/TL/TLUserProfilePhoto.cs b/src/TgSharp.TL/TL/TLUserProfilePhoto.cs index cafe6a47..634cb3ab 100644 --- a/src/TgSharp.TL/TL/TLUserProfilePhoto.cs +++ b/src/TgSharp.TL/TL/TLUserProfilePhoto.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-321430132)] public class TLUserProfilePhoto : TLAbsUserProfilePhoto diff --git a/src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs b/src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs index 0be03901..c383aa1c 100644 --- a/src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs +++ b/src/TgSharp.TL/TL/TLUserProfilePhotoEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1326562017)] public class TLUserProfilePhotoEmpty : TLAbsUserProfilePhoto diff --git a/src/TgSharp.TL/TL/TLUserStatusEmpty.cs b/src/TgSharp.TL/TL/TLUserStatusEmpty.cs index e7f4695c..4ad4a490 100644 --- a/src/TgSharp.TL/TL/TLUserStatusEmpty.cs +++ b/src/TgSharp.TL/TL/TLUserStatusEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(164646985)] public class TLUserStatusEmpty : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLUserStatusLastMonth.cs b/src/TgSharp.TL/TL/TLUserStatusLastMonth.cs index 04ae7ae6..9cab6fdc 100644 --- a/src/TgSharp.TL/TL/TLUserStatusLastMonth.cs +++ b/src/TgSharp.TL/TL/TLUserStatusLastMonth.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(2011940674)] public class TLUserStatusLastMonth : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLUserStatusLastWeek.cs b/src/TgSharp.TL/TL/TLUserStatusLastWeek.cs index ec3beff9..d37e916d 100644 --- a/src/TgSharp.TL/TL/TLUserStatusLastWeek.cs +++ b/src/TgSharp.TL/TL/TLUserStatusLastWeek.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(129960444)] public class TLUserStatusLastWeek : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLUserStatusOffline.cs b/src/TgSharp.TL/TL/TLUserStatusOffline.cs index 7d7dc401..26b64b0f 100644 --- a/src/TgSharp.TL/TL/TLUserStatusOffline.cs +++ b/src/TgSharp.TL/TL/TLUserStatusOffline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(9203775)] public class TLUserStatusOffline : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLUserStatusOnline.cs b/src/TgSharp.TL/TL/TLUserStatusOnline.cs index 74742ace..49e65fd5 100644 --- a/src/TgSharp.TL/TL/TLUserStatusOnline.cs +++ b/src/TgSharp.TL/TL/TLUserStatusOnline.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-306628279)] public class TLUserStatusOnline : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLUserStatusRecently.cs b/src/TgSharp.TL/TL/TLUserStatusRecently.cs index a7b7153a..0e63ff02 100644 --- a/src/TgSharp.TL/TL/TLUserStatusRecently.cs +++ b/src/TgSharp.TL/TL/TLUserStatusRecently.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-496024847)] public class TLUserStatusRecently : TLAbsUserStatus diff --git a/src/TgSharp.TL/TL/TLVector.cs b/src/TgSharp.TL/TL/TLVector.cs new file mode 100644 index 00000000..d4562a80 --- /dev/null +++ b/src/TgSharp.TL/TL/TLVector.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using TgSharp.TL; + +namespace TgSharp.TL +{ + [TLObject(481674261)] + public class TLVector : TLObject + { + public override int Constructor + { + get + { + return 481674261; + } + } + + // no fields + + public void ComputeFlags() + { + // do nothing + } + + public override void DeserializeBody(BinaryReader br) + { + // do nothing + } + + public override void SerializeBody(BinaryWriter bw) + { + bw.Write(Constructor); + // do nothing + } + } +} diff --git a/src/TgSharp.TL/TL/TLWallPaper.cs b/src/TgSharp.TL/TL/TLWallPaper.cs index 5a520288..19bc963d 100644 --- a/src/TgSharp.TL/TL/TLWallPaper.cs +++ b/src/TgSharp.TL/TL/TLWallPaper.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1539849235)] public class TLWallPaper : TLAbsWallPaper diff --git a/src/TgSharp.TL/TL/TLWallPaperNoFile.cs b/src/TgSharp.TL/TL/TLWallPaperNoFile.cs index 5fa39082..768bb4a7 100644 --- a/src/TgSharp.TL/TL/TLWallPaperNoFile.cs +++ b/src/TgSharp.TL/TL/TLWallPaperNoFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-1963717851)] public class TLWallPaperNoFile : TLAbsWallPaper diff --git a/src/TgSharp.TL/TL/TLWallPaperSettings.cs b/src/TgSharp.TL/TL/TLWallPaperSettings.cs index b5f7995f..c5064ba5 100644 --- a/src/TgSharp.TL/TL/TLWallPaperSettings.cs +++ b/src/TgSharp.TL/TL/TLWallPaperSettings.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(84438264)] public class TLWallPaperSettings : TLObject diff --git a/src/TgSharp.TL/TL/TLWebAuthorization.cs b/src/TgSharp.TL/TL/TLWebAuthorization.cs index 974ce996..c8754e46 100644 --- a/src/TgSharp.TL/TL/TLWebAuthorization.cs +++ b/src/TgSharp.TL/TL/TLWebAuthorization.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-892779534)] public class TLWebAuthorization : TLObject diff --git a/src/TgSharp.TL/TL/TLWebDocument.cs b/src/TgSharp.TL/TL/TLWebDocument.cs index e49f0925..60f1879d 100644 --- a/src/TgSharp.TL/TL/TLWebDocument.cs +++ b/src/TgSharp.TL/TL/TLWebDocument.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(475467473)] public class TLWebDocument : TLAbsWebDocument diff --git a/src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs b/src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs index 5b0df5d5..7db0b902 100644 --- a/src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs +++ b/src/TgSharp.TL/TL/TLWebDocumentNoProxy.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-104284986)] public class TLWebDocumentNoProxy : TLAbsWebDocument diff --git a/src/TgSharp.TL/TL/TLWebPage.cs b/src/TgSharp.TL/TL/TLWebPage.cs index 7685bdf7..5d5551bf 100644 --- a/src/TgSharp.TL/TL/TLWebPage.cs +++ b/src/TgSharp.TL/TL/TLWebPage.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-392411726)] public class TLWebPage : TLAbsWebPage diff --git a/src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs b/src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs index 47c3b7c9..566f8552 100644 --- a/src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs +++ b/src/TgSharp.TL/TL/TLWebPageAttributeTheme.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(1421174295)] public class TLWebPageAttributeTheme : TLObject diff --git a/src/TgSharp.TL/TL/TLWebPageEmpty.cs b/src/TgSharp.TL/TL/TLWebPageEmpty.cs index 85c996aa..b8ad702b 100644 --- a/src/TgSharp.TL/TL/TLWebPageEmpty.cs +++ b/src/TgSharp.TL/TL/TLWebPageEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-350980120)] public class TLWebPageEmpty : TLAbsWebPage diff --git a/src/TgSharp.TL/TL/TLWebPageNotModified.cs b/src/TgSharp.TL/TL/TLWebPageNotModified.cs index 39fbf5c0..2e302c21 100644 --- a/src/TgSharp.TL/TL/TLWebPageNotModified.cs +++ b/src/TgSharp.TL/TL/TLWebPageNotModified.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-2054908813)] public class TLWebPageNotModified : TLAbsWebPage diff --git a/src/TgSharp.TL/TL/TLWebPagePending.cs b/src/TgSharp.TL/TL/TLWebPagePending.cs index 372b094c..e82b3781 100644 --- a/src/TgSharp.TL/TL/TLWebPagePending.cs +++ b/src/TgSharp.TL/TL/TLWebPagePending.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL +namespace TgSharp.TL { [TLObject(-981018084)] public class TLWebPagePending : TLAbsWebPage diff --git a/src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs index 092e3a70..96533a23 100644 --- a/src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLAbsChannelDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { public abstract class TLAbsChannelDifference : TLObject { diff --git a/src/TgSharp.TL/TL/Updates/TLAbsDifference.cs b/src/TgSharp.TL/TL/Updates/TLAbsDifference.cs index f791aad0..ced1e737 100644 --- a/src/TgSharp.TL/TL/Updates/TLAbsDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLAbsDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { public abstract class TLAbsDifference : TLObject { diff --git a/src/TgSharp.TL/TL/Updates/TLChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifference.cs index dfeb7a58..bfa3b4b5 100644 --- a/src/TgSharp.TL/TL/Updates/TLChannelDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLChannelDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(543450958)] public class TLChannelDifference : TLAbsChannelDifference diff --git a/src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs index 72b6fab6..63f5857f 100644 --- a/src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs +++ b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(1041346555)] public class TLChannelDifferenceEmpty : TLAbsChannelDifference diff --git a/src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs index 061c6be4..162b65c9 100644 --- a/src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs +++ b/src/TgSharp.TL/TL/Updates/TLChannelDifferenceTooLong.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(-1531132162)] public class TLChannelDifferenceTooLong : TLAbsChannelDifference diff --git a/src/TgSharp.TL/TL/Updates/TLDifference.cs b/src/TgSharp.TL/TL/Updates/TLDifference.cs index 9c0cd702..c1665463 100644 --- a/src/TgSharp.TL/TL/Updates/TLDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(16030880)] public class TLDifference : TLAbsDifference diff --git a/src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs index e0799b36..29d7c117 100644 --- a/src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs +++ b/src/TgSharp.TL/TL/Updates/TLDifferenceEmpty.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(1567990072)] public class TLDifferenceEmpty : TLAbsDifference diff --git a/src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs index 42796f7a..0fbb1c4e 100644 --- a/src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs +++ b/src/TgSharp.TL/TL/Updates/TLDifferenceSlice.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(-1459938943)] public class TLDifferenceSlice : TLAbsDifference diff --git a/src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs b/src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs index e247d6c7..b94d2ba2 100644 --- a/src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs +++ b/src/TgSharp.TL/TL/Updates/TLDifferenceTooLong.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(1258196845)] public class TLDifferenceTooLong : TLAbsDifference diff --git a/src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs index d124b23c..792bdbaf 100644 --- a/src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLRequestGetChannelDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(51854712)] public class TLRequestGetChannelDifference : TLMethod diff --git a/src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs index 5b1254ee..ffee8603 100644 --- a/src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs +++ b/src/TgSharp.TL/TL/Updates/TLRequestGetDifference.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(630429265)] public class TLRequestGetDifference : TLMethod diff --git a/src/TgSharp.TL/TL/Updates/TLRequestGetState.cs b/src/TgSharp.TL/TL/Updates/TLRequestGetState.cs index fe959f8a..a0e76886 100644 --- a/src/TgSharp.TL/TL/Updates/TLRequestGetState.cs +++ b/src/TgSharp.TL/TL/Updates/TLRequestGetState.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(-304838614)] public class TLRequestGetState : TLMethod diff --git a/src/TgSharp.TL/TL/Updates/TLState.cs b/src/TgSharp.TL/TL/Updates/TLState.cs index 3170c7b4..9fc0b1d7 100644 --- a/src/TgSharp.TL/TL/Updates/TLState.cs +++ b/src/TgSharp.TL/TL/Updates/TLState.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Updates +namespace TgSharp.TL.Updates { [TLObject(-1519637954)] public class TLState : TLObject diff --git a/src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs index 058effa5..4a56cf9b 100644 --- a/src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLAbsCdnFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { public abstract class TLAbsCdnFile : TLObject { diff --git a/src/TgSharp.TL/TL/Upload/TLAbsFile.cs b/src/TgSharp.TL/TL/Upload/TLAbsFile.cs index d7711646..4ebff662 100644 --- a/src/TgSharp.TL/TL/Upload/TLAbsFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLAbsFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { public abstract class TLAbsFile : TLObject { diff --git a/src/TgSharp.TL/TL/Upload/TLCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLCdnFile.cs index 6588fc81..cb4a05f4 100644 --- a/src/TgSharp.TL/TL/Upload/TLCdnFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLCdnFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-1449145777)] public class TLCdnFile : TLAbsCdnFile diff --git a/src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs b/src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs index 4918162b..c2f249d1 100644 --- a/src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs +++ b/src/TgSharp.TL/TL/Upload/TLCdnFileReuploadNeeded.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-290921362)] public class TLCdnFileReuploadNeeded : TLAbsCdnFile diff --git a/src/TgSharp.TL/TL/Upload/TLFile.cs b/src/TgSharp.TL/TL/Upload/TLFile.cs index 441f6f59..d0a0a719 100644 --- a/src/TgSharp.TL/TL/Upload/TLFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(157948117)] public class TLFile : TLAbsFile diff --git a/src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs b/src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs index 52a6816d..2f0878b8 100644 --- a/src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs +++ b/src/TgSharp.TL/TL/Upload/TLFileCdnRedirect.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-242427324)] public class TLFileCdnRedirect : TLAbsFile diff --git a/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs index 1be49795..9ed60057 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(536919235)] public class TLRequestGetCdnFile : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs index 9f860687..cec1662e 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestGetCdnFileHashes.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(1302676017)] public class TLRequestGetCdnFileHashes : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs index 1d574441..20b19da1 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestGetFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-1319462148)] public class TLRequestGetFile : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs index a4be730a..7df63be0 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestGetFileHashes.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-956147407)] public class TLRequestGetFileHashes : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs index ed17e2fd..effcd52d 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestGetWebFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(619086221)] public class TLRequestGetWebFile : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs b/src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs index e2d71882..beb98e99 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestReuploadCdnFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-1691921240)] public class TLRequestReuploadCdnFile : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs b/src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs index fb53a119..edca2d48 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestSaveBigFilePart.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-562337987)] public class TLRequestSaveBigFilePart : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs b/src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs index 055d14d9..239bf573 100644 --- a/src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs +++ b/src/TgSharp.TL/TL/Upload/TLRequestSaveFilePart.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(-1291540959)] public class TLRequestSaveFilePart : TLMethod diff --git a/src/TgSharp.TL/TL/Upload/TLWebFile.cs b/src/TgSharp.TL/TL/Upload/TLWebFile.cs index 431fd821..351e81bc 100644 --- a/src/TgSharp.TL/TL/Upload/TLWebFile.cs +++ b/src/TgSharp.TL/TL/Upload/TLWebFile.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Upload +namespace TgSharp.TL.Upload { [TLObject(568808380)] public class TLWebFile : TLObject diff --git a/src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs b/src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs index 08664e3c..b696e3e5 100644 --- a/src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs +++ b/src/TgSharp.TL/TL/Users/TLRequestGetFullUser.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Users +namespace TgSharp.TL.Users { [TLObject(-902781519)] public class TLRequestGetFullUser : TLMethod diff --git a/src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs b/src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs index d5069e2e..6a2fcc38 100644 --- a/src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs +++ b/src/TgSharp.TL/TL/Users/TLRequestGetUsers.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Users +namespace TgSharp.TL.Users { [TLObject(227648840)] public class TLRequestGetUsers : TLMethod diff --git a/src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs b/src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs index 72132383..e081cccb 100644 --- a/src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs +++ b/src/TgSharp.TL/TL/Users/TLRequestSetSecureValueErrors.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; -using TeleSharp.TL; +using TgSharp.TL; -namespace TeleSharp.TL.Users +namespace TgSharp.TL.Users { [TLObject(-1865902923)] public class TLRequestSetSecureValueErrors : TLMethod